-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Import paths wrong? No module named 'handlers' #474
Comments
Some more similar errors occur:
|
Having the same issue, just installed Mopidy from apt repository and Mopidy-Iris via pip. |
How did you install that version? |
I got pass this error, by replacing the current mopidy_iris folder in /usr/local/lib/python3.7/dist-packages/ with the one from the "feature/python3" Branch: https://github.com/jaedb/Iris/tree/feature/python3 I've got one more error remaining, mopidy related. Do you have the same error? I will try to solve this |
This installation was done months ago and I have been keeping it up to date with the build in update script/button and the occasional apt-get update/upgrade |
At first glance the issue seems to be that you're running Mopidy 3. Iris' support for Mopidy 3 (python 3) is still in progress, which is why you're observing errors. |
Is this issue maybe related to the Python version used? In the release notes of Iris (https://github.com/jaedb/Iris/releases/tag/3.44.0) i can see that Iris now uses Python 3.8. All the stacktraces above do contain I am currently stuck with the same issue with Mopidy 3.0.1, Phyton 3.7 on Debian Buster. |
I assume the release notes are a typo, the version requirement in setup.cfg is python >= 3.7 (which is what you'd expect for a Mopidy 3 compatible extension). Regardless, all the stack traces in here seem to be from broken installations where old versions of extensions are running. If you look at the source code in the master branch on here for the file specified you'll see the specified line doesn't exist. I suggest you reinstall iris. The Mopidy-spotify one is Mopidy-spotify v3.x (not Python 3 compatible) and mopidy-local-images no longer exists in Mopidy 3. In short, these are all bad installs. |
Thanks Nick for the clarification.
… Am 02.02.2020 um 09:23 schrieb Nick Steel ***@***.***>:
I assume the release notes are a typo, the version requirements in setup.cfg are python >= 3.7 (which is what you'd expect for a Mopidy 3 compatible extension).
Regardless, all the stack traces in here seem to from broken installations where old versions of extensions are running. If you look at the source code in the master branch on here for the file specified you'll see the line doesn't exist. I suggest you reinstall iris.
The Mopidy-spotify one is Mopidy-spotify v3.x (not Python 3 compatible) and mopidy-local-images no longer exists in Mopidy 3.
I'm short, these are all bad installs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@Squelsh, @kingosticks is correct, there is a typo in the release notes. It should read "python 3.7", and is now corrected. |
@kingosticks thanks for the clarification concerning the Python version. Concerning the issue itself ...I do see the the line I guess this problem could be solved as soon as 3.44.0 is available from https://pypi.org/project/Mopidy-Iris/ |
Yes. And also if the install instructions were updated to |
You mean Any Ideas when 3.44.0 will be available on PyPI as it was already released here on https://github.com/jaedb/Iris/releases ? |
Yep, I meant what you what said. The different PyPI and repo names catches me every time. |
Phoniebox uses Iris 3.43, because some parts are still Python 2. One user reported the same issue MiczFlor/RPi-Jukebox-RFID#759 (comment) like this ticket. Is the only resolution upgrading to 3.44 or are there other options? |
@s-martin this is because Mopidy doesn't provide backwards compatibility, but mostly I simply don't have the time resource to single-handedly manage Python 2.7/3.7 dual support. To answer your question, you'll need to use Iris < 34.0 until Python 3.7 is supported. |
Sorry to bother again, but our users have reported that issue again even after using Python 3, Mopidy 3 and Iris 3.45.1 See MiczFlor/RPi-Jukebox-RFID#759 (comment) Could this be the same issue or a different one? |
Looking at the error log, my guess is they haven't upgraded Iris. In the latest version of Iris, See:
My suggestion would be to ensure Iris is completely removed (check |
Thanks, @kingosticks already found out that we missed a |
I am no Python expert, so perhaps this is a pretty simple config misstake, but I can not start mopidy.
Describe the bug
Files can not be found:
Environment details:
The text was updated successfully, but these errors were encountered: