Closed Logan-Orr closed 1 year ago
Hello. https://github.com/onlaj/Piano-LED-Visualizer/issues/349#issuecomment-1109641040
I will try to fix that in future updates, for now try this workaround.
So I looked at that yes, where would i find the crontab?
Type:
sudo crontab -e
Thanks bro u respond so quickly
Also, this is a weird error, the visuizer is working, but i can not enter any commands because of this infinite loop of error
Just press CTRL + C
Ok
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Socket listening on: 192.168.1.185:8765
Traceback (most recent call last):
File "/home/Piano-LED-Visualizer/visualizer.py", line 17, in
Am i missing a requirement?
Are you trying to run script manually now or are those logs from the start-on-boot script?
Start on boot
Then don't worry about it. If it's the same case as in the other issue, then it's an error caused by the script trying to run before getting a wifi connection.
It can be temporarily fixed by adding a delay to the script's start.
Ohhh, it could possibly be from the sudo python3 /home/piano etc. start script that i left in profile
Yea thats what it was
I have a idea, i was using a synthizer that was for raspi and it was headless, it would be awesome if you could combine the synth with the plv, and have a soundfont menu, the installation was one command and was fast, i can send you a link
Hello, I have created a specific systemctl service in /usr/lib/systemd/system like this one and it works fine on my side:
pi@raspberrypi:/usr/lib/systemd/system $ cat piano-visualiser.service [Unit] Description=Piano Visualizer After=network-online.target Wants=network-online.target
[Install] WantedBy=multi-user.target
[Service] ExecStart=sudo python3 /home/pi/Piano-LED-Visualizer/visualizer.py --display 1in3 Type=simple User=pi Group=pi WorkingDirectory=/home/pi
and then enable it :
systemctl daemon-reload
systemctl enable piano-visualiser.service
Hello! In the new PlV 1.3 update, the autostart is no longer working, i know how to manually start it and it works, but when i put the sudo python3 /home/Piano-LED-Visualizer/visualizer.py & in etc profile, it does not start, but when i ssh into it, it automatically starts up and the menu is shown with no commands entered, and if i close the ssh window, it stops working, how can i fix this?