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

Unable to use with dev branch #40

Closed
pipiche38 opened this issue Aug 11, 2020 · 4 comments · Fixed by #48
Closed

Unable to use with dev branch #40

pipiche38 opened this issue Aug 11, 2020 · 4 comments · Fixed by #48

Comments

@pipiche38
Copy link

I'm trying to use the zigpy-zigate lib and zigpy dev branch and I'm getting and error when starting.

python3 testzigpy.py
Traceback (most recent call last):
  File "testzigpy.py", line 5, in <module>
    from zigpy_zigate.zigbee.application import ControllerApplication
  File "/var/lib/domoticz/plugins/Domoticz-Zigpy/zigpy_zigate/zigbee/application.py", line 8, in <module>
    from zigpy_zigate import types as t
  File "/var/lib/domoticz/plugins/Domoticz-Zigpy/zigpy_zigate/types.py", line 132, in <module>
    class NWK(zigpy.types.HexRepr, uint16_t):
AttributeError: module 'zigpy.types' has no attribute 'HexRepr'

If adding the definition of HexRep (which seems to be removed from the latest zigpy library), I'm getting the following error

$ python3 testzigpy.py


DEBUG:asyncio:Using selector: EpollSelector
Traceback (most recent call last):
  File "testzigpy.py", line 71, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "testzigpy.py", line 48, in main
    "path": "/dev/ttyUSBRPI3",
TypeError: Can't instantiate abstract class ControllerApplication with abstract methods probe
@Gamester17
Copy link
Contributor

Probably need to tag @doudz to get his attention?

@pipiche38
Copy link
Author

related to zigpy/zigpy#453

@Adminiuga
Copy link
Contributor

Try latest release.

@pipiche38
Copy link
Author

Try latest release.

thanks !

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

Successfully merging a pull request may close this issue.

3 participants