Lounge ACAB
Hey there!
I think the lounge ACAB is broken!
I'm trying to run ~/acab-streetlife/start-keller
, which contains the following:
#!/bin/sh
python server/acabslrouter.py nosimulation 7000 5000 &
python server/acabslserver.py server/config-keller.py &
python animations/s-color4-faster.py --port=5000 --wallsizex=1 --wallsizey=12 &
python animations/enerystar.py --port 5000 --wallsizex=1 --wallsizey=12 &
screen -A -m -d -S schedulerkeller python scheduler.py playlist-keller 8001 12 2
It throws a whole bunch of errors, like:
[lounge@loungepi:~/acab-streetlife]$ ./start-keller
./start-keller: line 2: python: command not found
./start-keller: line 3: python: command not found
./start-keller: line 4: python: command not found
./start-keller: line 5: python: command not found
And then:
Traceback (most recent call last):
File "server/acabslrouter.py", line 21, in <module>
with open(config) as f:
IOError: [Errno 2] No such file or directory: 'nosimulation'
['--port', '--wallsizex=1', '--wallsizey=12']
Traceback (most recent call last):
File "animations/enerystar.py", line 3, in <module>
import acabsl
File "/home/lounge/acab-streetlife/animations/acabsl.py", line 27, in <module>
UDPPORT = int(arg)
ValueError: invalid literal for int() with base 10: '--wallsizex=1'
Traceback (most recent call last):
File "server/acabslserver.py", line 2, in <module>
import acabsl_interface
File "/home/lounge/acab-streetlife/server/acabsl_interface.py", line 1, in <module>
import serialinterface
File "/home/lounge/acab-streetlife/server/serialinterface.py", line 1, in <module>
import serial
ImportError: No module named serial
['--port=5000', '--wallsizex=1', '--wallsizey=12']
Stuff I've done to try to improve the situation, fruitlessly:
nix-shell -p python3 python39Packages.pyserial
And changed the serial id since the previous one doesn't exist (but honestly this is a random guess)
diff --git a/server/config-keller.py b/server/config-keller.py
index 74d6f48..a6c04df 100644
--- a/server/config-keller.py
+++ b/server/config-keller.py
@@ -1,6 +1,6 @@
server_ip = '0.0.0.0'
server_port = 5000
-serials = ['/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A400fvDu-if00-port0']
+serials = ['/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1004b6r-if00-port0']
interfaces = [0]
matrix = [[(0x8B,0)],
[(0x82,0)],
Now it throws this:
[nix-shell:~/acab-streetlife]$ ./start-keller
[nix-shell:~/acab-streetlife]$ Traceback (most recent call last):
File "/home/lounge/acab-streetlife/server/acabslrouter.py", line 21, in <module>
with open(config) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'nosimulation'
['--port=5000', '--wallsizex=1', '--wallsizey=12']
['--port', '--wallsizex=1', '--wallsizey=12']
Traceback (most recent call last):
File "/home/lounge/acab-streetlife/animations/enerystar.py", line 3, in <module>
import acabsl
File "/home/lounge/acab-streetlife/animations/acabsl.py", line 27, in <module>
UDPPORT = int(arg)
ValueError: invalid literal for int() with base 10: '--wallsizex=1'
Opened /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A1004b6r-if00-port0
Honestly no idea what I'm doing, so I'm creating this issue so hopefully someone who understands this whole thing can take over, thank you <3
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information