Closed corus87 closed 7 years ago
The module name is Queue
in Python 2.7, but queue
in Python 3.x. When I change line 5 in eiscp/core.py
to:
- import queue, threading
+ import Queue, threading
Then I get:
mckern@glipglop ~ $ onkyo --discover
Traceback (most recent call last):
File "/usr/local/bin/onkyo", line 7, in <module>
from eiscp.script import run
File "/usr/local/lib/python2.7/site-packages/eiscp/__init__.py", line 6, in <module>
from .core import eISCP
File "/usr/local/lib/python2.7/site-packages/eiscp/core.py", line 9, in <module>
from . import commands
File "/usr/local/lib/python2.7/site-packages/eiscp/commands.py", line 2365, in <module>
range(1, 40): (1, 40),
TypeError: unhashable type: 'list'
mckern@ glipglop ~ $
Was the recent 1.1 release half-baked on Python 2.7?
Hi, just upgraded to 1.1 and then ... KO Please help
root@thetop:~# onkyo
Traceback (most recent call last):
File "/usr/local/bin/onkyo", line 9, in <module>
load_entry_point('onkyo-eiscp==1.1', 'console_scripts', 'onkyo')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
File "/usr/local/lib/python2.7/dist-packages/eiscp/__init__.py", line 6, in <module>
from .core import eISCP
File "/usr/local/lib/python2.7/dist-packages/eiscp/core.py", line 9, in <module>
from . import commands
File "/usr/local/lib/python2.7/dist-packages/eiscp/commands.py", line 2365, in <module>
range(1, 40): (1, 40),
TypeError: unhashable type: 'list'
Should be fixed in the new 1.2 release. Sorry for that guys, I didn't really test the Python 3 pull request. Let me know if there are more problems.
Thanks for the reasonably quick followup!
Looks good! Thanks!
Hi, Im running the latest raspbian-lite on a rpi3. Any Ideas?
edit: It only happens with version 1.1 , 1.0 is still running.