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

Code error #69

Open
gjr80 opened this issue Feb 8, 2024 · 0 comments
Open

Code error #69

gjr80 opened this issue Feb 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gjr80
Copy link
Owner

gjr80 commented Feb 8, 2024

gw1000.py v0.6.0 line 3460:

offset_dict[channel] = struct.unpack(">h", six.int2byte(data[index + 1:index + 3]))[0] / 10.0

will generate an exception if it is ever encountered as the argument to six.int2byte must be an integer not a byte string as data[index + 1:index + 3] would provide. Line 3460 is part of an exception handler so quite possibly has not been called to date.

@gjr80 gjr80 added bug Something isn't working invalid This doesn't seem right and removed invalid This doesn't seem right labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant