Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zeroconf' object has no attribute '_handlers_lock' #155

Open
mgrouch opened this issue Sep 23, 2022 · 5 comments
Open

Zeroconf' object has no attribute '_handlers_lock' #155

mgrouch opened this issue Sep 23, 2022 · 5 comments

Comments

@mgrouch
Copy link

mgrouch commented Sep 23, 2022



Sep 09 18:23:27 lysmarine pypilot[1543]: Exception in thread zeroconf-Engine:
Sep 09 18:23:27 lysmarine pypilot[1543]: Traceback (most recent call last):
Sep 09 18:23:27 lysmarine pypilot[1543]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Sep 09 18:23:27 lysmarine pypilot[1543]:     self.run()
Sep 09 18:23:27 lysmarine pypilot[1543]:   File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 1228, in run
Sep 09 18:23:27 lysmarine pypilot[1543]:     reader.handle_read(socket_)
Sep 09 18:23:27 lysmarine pypilot[1543]:   File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 1301, in handle_read
Sep 09 18:23:27 lysmarine pypilot[1543]:     self.zc.handle_response(msg)
Sep 09 18:23:27 lysmarine pypilot[1543]:   File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 2501, in handle_response
Sep 09 18:23:27 lysmarine pypilot[1543]:     with self._handlers_lock:
Sep 09 18:23:27 lysmarine pypilot[1543]: AttributeError: 'Zeroconf' object has no attribute '_handlers_lock'

@seandepagnier
Copy link
Member

what version of zeroconf have you installed?

@mgrouch
Copy link
Author

mgrouch commented Sep 24, 2022

Looks like 0.26.1 gets installed

@seandepagnier
Copy link
Member

seandepagnier commented Sep 24, 2022 via email

@mgrouch
Copy link
Author

mgrouch commented Sep 24, 2022

what if you just run python3:
>> import zeroconf

no error if I do that.

@seandepagnier
Copy link
Member

This exception is thrown in a different thread without any reference to my own code. I am pretty sure it is a zeroconf issue.

Can you try version 0.24 of zeroconf? When did this error first appear? What did you change? obviously zeroconf was working in the previous version correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants