You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python run-trio.py
Starting
Socket opened
large write request
misc_loop started
Traceback (most recent call last):
File "/home/adi/chevah/run-trio.py", line 139, in <module>
trio.run(TrioAsyncMqttExample().main)
File "/home/adi/chevah/venv/lib/python3.10/site-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/home/adi/chevah/run-trio.py", line 129, in main
async with trio.open_nursery() as nursery:
File "/home/adi/chevah/venv/lib/python3.10/site-packages/trio/_core/_run.py", line 813, in __aexit__
raise combined_error_from_nursery
File "/home/adi/chevah/run-trio.py", line 70, in read_loop
await trio.hazmat.wait_readable(self.sock)
File "/home/adi/chevah/venv/lib/python3.10/site-packages/trio/_deprecate.py", line 124, in __getattr__
raise AttributeError(msg.format(self.__name__, name))
AttributeError: module 'trio' has no attribute 'hazmat'
finished large write
Hi,
I am trying to run paho with trio.
I am completely new to paho or trio.
I got a copy paste of the example.
I am using:
The traceback
It looks like the hazmat was deprecated python-trio/trio#1722
The text was updated successfully, but these errors were encountered: