Skip to content

Installation Problem #13

@ReiVaX1508

Description

@ReiVaX1508

Hi;

Thanks for your work; but for me doesn't work and i've got any problems

Simple command doesn't work !

pi@raspberry:~ $ yeelightbt scan
Traceback (most recent call last):
File "/usr/local/bin/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 "/usr/local/lib/python2.7/dist-packages/yeelightbt/init.py", line 2, in
from .lamp import Lamp
File "/usr/local/lib/python2.7/dist-packages/yeelightbt/lamp.py", line 5, in
from .structures import Request, Response
File "/usr/local/lib/python2.7/dist-packages/yeelightbt/structures.py", line 70, in
"unknown" / Const(Byte, 0x00)
File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 1277, in init
super(Const, self).init(subcon)
File "/usr/local/lib/python2.7/dist-packages/construct/core.py", line 287, in init
raise TypeError("subcon should be a Construct field")
TypeError: subcon should be a Construct field

Have you got solutions for ????

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions