Skip to content
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

on future3 | PyZMQ | Websocket Problems | Install Script #2108

Closed
s-raeuchle opened this issue Nov 13, 2023 · 14 comments
Closed

on future3 | PyZMQ | Websocket Problems | Install Script #2108

s-raeuchle opened this issue Nov 13, 2023 · 14 comments
Labels
bug future3 Relates to future3 development

Comments

@s-raeuchle
Copy link

Describe your problem

If I start the web application, i get no data. Dev Console tells me websocket error, connection refused
"WebSocket connection to 'ws://192.168.178.39:5556/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED"

It seems the websocket connection using PyZMQ is not working (see error.log)

During installation there was an error related to that pip package. I installed it afterwards using pip install pyzmq without luck.
Looking in to the requirements.txt tells me I need a special compiled version...

Here my knowledge ends without further invesigation

What's your hardware set up?

  • RPi 4, 32 Bit Legacy lite Bullseye, fresh install on ssd over usb

If possible, try to attach logs from ... (paths from RPi)

INSTALL.log
error.log

@s-raeuchle s-raeuchle added bug future3 Relates to future3 development needs triage labels Nov 13, 2023
@AlvinSchiller
Copy link
Collaborator

Hi,

these problems should be fixed on the current future3/develop branch.
To install use this command
cd; GIT_USER='MiczFlor' GIT_BRANCH='future3/develop' bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/develop/installation/install-jukebox.sh)

@pabera
Copy link
Collaborator

pabera commented Nov 14, 2023

Also, we suggest to go with Debian Bookworm now as well.

@AlvinSchiller
Copy link
Collaborator

@s-raeuchle did it work with future3/develop ?

@s-martin s-martin changed the title ISSUE SUMMARY on future3 | PyZMQ | Websocket Problems | Install Script on future3 | PyZMQ | Websocket Problems | Install Script Nov 16, 2023
@s-martin
Copy link
Collaborator

Possible duplicate to #2050

@s-raeuchle
Copy link
Author

Wow. didn't expect a fast response on that open source project. Thanks a lot.

I'll try and give some Feedback.

@pabera should I go for 32 Bit or 64 Bit Bookworm?
I would like to use 64Bit because I need extra config 'arm_64bit=0' on /boot/config.txt to make it work.

@s-martin
Copy link
Collaborator

I think only 32bit works at the moment.

See
#2041
for problems with 64bit.

@s-raeuchle
Copy link
Author

Hi,

these problems should be fixed on the current future3/develop branch. To install use this command cd; GIT_USER='MiczFlor' GIT_BRANCH='future3/develop' bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/develop/installation/install-jukebox.sh)

OK on the dev of course there is no GUI and I need to build it somehow..badly your docs are down.
see: https://rpi-jukebox-rfid.readthedocs.io/en/latest/install.html

What do I do?

@AlvinSchiller
Copy link
Collaborator

The Docs have been moved to the Repo. Currently available on future3/develop -> https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/future3/develop/documentation

To build the WebApp (and chose this Options during installation) you need to run this commands.

cd ~/RPi-Jukebox-RFID/src/webapp;
./run_rebuild.sh -u

@s-raeuchle
Copy link
Author

s-raeuchle commented Nov 16, 2023

confirm. the bug is fixed on dev! I have no websocket problems at all now!

But I had to install node & npm myself. The import script routine was not working properly!

this issue can be closed

@AlvinSchiller
Copy link
Collaborator

Great :) Hope the rest is working too.

But I had to install node & npm myself. The import script routine was not working properly!

This sould be fixed with #2111.

@pabera
Copy link
Collaborator

pabera commented Nov 16, 2023

@s-raeuchle Did you use 32bit or 64bit?

@s-raeuchle
Copy link
Author

s-raeuchle commented Nov 16, 2023

@pabera 32 like you said.

Btw. How can I reach you guys?
I would like to make mopidy-tidal work wich in theory works with the mdp Player.. as a developer I could help somehow but I need a start somewhere.

(Sorry for using this issue for communication)

@s-martin
Copy link
Collaborator

@s-raeuchle Please reach us at https://matrix.to/#/#phoniebox_community:gitter.im

Future3 does not use mopidy anymore and we don't plan to do that, so Tidal integration could be more complicated. Also we don't plan to add new features to the old V2.x.

@pabera
Copy link
Collaborator

pabera commented Nov 16, 2023

But you can still join the chat ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug future3 Relates to future3 development
Projects
None yet
Development

No branches or pull requests

4 participants