Closed fgma closed 12 months ago
I received the same error.
src/jukebox/run_register_rfid_reader.py
pip3 install pyzmq
EDIT: I managed to resolve the problem - I think there is an issue in the installation scripts that prevents pyzmq from correctly being installed . I am going to triage a bit more to identify exactly where the issue happens. On my end i completed the workaround by running the following commands to build pyzmq myself:
git clone https://github.com/zeromq/pyzmq.git
cd pyzmq
python setup.py configure --enable-drafts --zmq=/usr/local
sudo pip install .
For this to work you must have libzmq in your /usr/local
folder - the downloaded one from the installation scripts seems to work - to be safe i set the build flag in the install script and had my rpi build it with the right flags.
After pyzmq was installed successfully i re-executed the installation scripts and everything started functioning correctly again.
@KrystianNiepsuj Hello Krystian! I could not follow your steps for resolve the problem. For example:
pi@raspberrypi:~ $ git clone asd
fatal: repository 'asd' does not exist
pi@raspberrypi:~ $
Can you please describe your steps after Point 2. Thank you!
My mistake @Lippsson - i had inadvertently left a typo in the comment. I did not have time yet to test on a fresh raspberry pi - so your mileage may vary a little bit with the updated pyzmq build (I have fixed it and pointed it to right pyzqm url - see above).
Should be now fixed on future3/develop
https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2108#issuecomment-1809167778
can you check this?
closing for now. Feel free to post in #2108, if the issue still occurs.
Describe your problem
After installing the webinterface does not work as expected. All dynamic elements show a loading animation and the websocket connection fails. Logs show some problem concerning zmq. Installation of zmq was not successfull in the first place.
What's your hardware set up?
Pi 4. Hifiberry Miniamp, for testing no RFID reader
If possible, try to attach logs from ... (paths from RPi)
INSTALL-1652463300.log