Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

v0.3.0 gives errors regarding the from_bytes handling of the response #11

Closed
CHgsd opened this issue Jan 6, 2016 · 1 comment
Closed

Comments

@CHgsd
Copy link

CHgsd commented Jan 6, 2016

The from_bytes handling of the response is producing errors as follows:

$ samsungctl
Traceback (most recent call last):
  File "/usr/local/bin/samsungctl", line 9, in <module>
    load_entry_point('samsungctl===0.3.0-git', 'console_scripts', 'samsungctl')()
  File "build/bdist.linux-x86_64/egg/samsungctl/__main__.py", line 101, in main
  File "build/bdist.linux-x86_64/egg/samsungctl/remote.py", line 27, in __init__
  File "build/bdist.linux-x86_64/egg/samsungctl/remote.py", line 51, in _read_response
AttributeError: type object 'int' has no attribute 'from_bytes'

While I found this potentially relevant suggestion, I did not pursue any further:
https://stackoverflow.com/questions/28210333/python-nonetype-object-has-no-attribute-from-bytes

If these are all user error on my part, my apologies! I did my best to troubleshoot through these.

Thank you!

@Ape
Copy link
Owner

Ape commented Apr 8, 2016

This should be working with Python 3. Please report if it still occurs.

@Ape Ape closed this as completed Apr 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants