Skip to content
New issue

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

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

Already on GitHub? # to your account

Error while running #14

Closed
suneesh-anand opened this issue Feb 4, 2018 · 1 comment
Closed

Error while running #14

suneesh-anand opened this issue Feb 4, 2018 · 1 comment

Comments

@suneesh-anand
Copy link

pi@raspberrypi:~/.local/bin $ python yeelightbt
Traceback (most recent call last):
File "yeelightbt", line 11, in
load_entry_point('python-yeelightbt==0.0.2', 'console_scripts', 'yeelightbt')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2631, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2291, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/pi/.local/lib/python2.7/site-packages/yeelightbt/init.py", line 2, in
from .lamp import Lamp
File "/home/pi/.local/lib/python2.7/site-packages/yeelightbt/lamp.py", line 5, in
from .structures import Request, Response
File "/home/pi/.local/lib/python2.7/site-packages/yeelightbt/structures.py", line 70, in
"unknown" / Const(Byte, 0x00)
File "/home/pi/.local/lib/python2.7/site-packages/construct/core.py", line 2440, in init
super(Const, self).init(subcon)
File "/home/pi/.local/lib/python2.7/site-packages/construct/core.py", line 549, in init
raise TypeError("subcon should be a Construct field")
TypeError: subcon should be a Construct field

@rytilahti
Copy link
Owner

Fixed in 0.0.3 / master branch, please update.

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

No branches or pull requests

2 participants