-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
ServiceInfo has no attribute 'address' in miio/discovery #891
Comments
I have same issue. |
Same issue. It seems the |
Same issue. |
Looks like the used mdns library changed their API at some point, the simple solution would be making a check if |
@rytilahti can't you just pin mdns library version or stick to new |
@gudvinr fair enough, I suppose porting to use the new API is the way to fix this. I don't usually like breaking something for users who may have previous versions, but as this only affects the discovery I think it's fine. |
A tool like this should always be installed into its own virtualenv anyway. |
The problem is, this project is not only for the tool but also for the underlying, fairly widely used (homeassistant, maybe others?) python library. Homeassistant has its own hard dependency pinnings (currently 0.28.7), but this won't be a problem for them, so I'll just merge the linked PR. |
Hi @rytilahti, Any plans to release this fix? I just installed the tool and I am getting the same error. |
Hi @gcamaraomarques, sorry for the delay! I'll do a new release this week, you can follow #969 which will get closed when new release gets made. |
No problem at all. It is free and open-source. I just asked because it is already on master. Thank you |
Describe the bug
When I run
mirobo discover
it fails with an error.Version information (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
mirobo discover
Expected behavior
Getting a list of discovered devices
Console output
The text was updated successfully, but these errors were encountered: