-
Notifications
You must be signed in to change notification settings - Fork 400
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
Fix Docker for pyzmq #2167
Fix Docker for pyzmq #2167
Conversation
Building the container works now, but #1838 still doesn't work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked for me on Linux as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK the build works, but staring throws an error:
mpd exited with code 0
mpd | exception: Failed to open '/home/pi/.config/mpd/mpd.conf': No such file or directory
[...]
jukebox | run_jukebox.py: error: argument -c/--conf: can't open '/home/pi/RPi-Jukebox-RFID/shared/settings/jukebox.yaml': [Errno 2] No such file or directory: '/home/pi/RPi-Jukebox-RFID/shared/settings/jukebox.yaml'
Did you copy the yaml? docker.md#prerequisites |
Yes, everything is there. Changing these volume paths to The same applies for mpd: |
Shouldn't they be overwritten from *linux.yml (but i really know docker compose)? Looks like |
…tin/RPi-Jukebox-RFID into future3/fix-docker-windows
I got the webapp running under a Github Codespace using Ubuntu. |
Todo: check pyzmq and libzmq version on a working raspberry instance |
My problem now is that I still get the errors:
|
When having one line: I get another error:
|
#2268 may be related |
Lots of comments here now. :-D @AlvinSchiller @pabera @Groovylein if anyone of you could also check, would be nice. |
Nevermind, didn't see the last commit |
This is not entirely fixed. On my Windows machine, it even doesn't work with the updated pip command. Reason for this is that the downloaded, pre-compiled This means, we need to enable a way to build I am working on that. |
Could we use the bundled libzmq for that (ZMQ_PREFIX="bundled") ? No further setup of libzmq would be needed if it works. |
Not sure. In my environment, the problem is that pyzmq (actually g++) cannot compile the lib properly and fails. It then falls back on the bundled, none-draft version that pyzmq is shipped with. |
Ah ok. Or turn off the fallback? -> |
Might be the cause for the problems here aswell? #2302 |
Pre-building the libzmq does not work well as many users have different host architectures and OS. I am working on this in a branch, but haven't had the time to bring it to a draft. |
In commit 1ae54c7 changes where made to adjust My docker tests show that based on current branch
On my local build I did both changes and it works fine. |
Will check this :) |
#2307 provides a working solution |
g++ was missing to create pyzmq.
This happened to me under Windows