Mar-11-2019, 03:07 PM
I am in way over my head. I thought this project was going to be easy but there's too many variables that I just don't understand.
Story: I work at an adult medical day care facility and I secured a 1963 Seeburg LPC1 jukebox. Turns out, it's crap. A professional jukebox repair man told me to throw it away, but I decided to buy an Arduino and power it from an old laptop. I used code borrowed from https://github.com/sprinkmeier/jukebox . I modified the arduino code and got it reading the push buttons correctly. I installed Ubuntu on the old laptop and started following the README.md file. I had problems with apache running the cgi file so I followed some tutorial to tell apache what to do with .cgi files. Now, when I go to the index.html it jumps to the cgi file and gives me an internal service error.
Anyway, the readme says to modify rc.local to have the script autoload on start. I don't have enough experience in linux to know if it's working correctly or not, but I have tried python jukebox.py in terminal. that results in the follow responses:
Traceback (most recent call last):
File "jukebox.py", line 46, in <module>
ser.setBaudrate(9600)
AttributeError: 'Serial' object has no attribute 'setBaudrate'
{'dup': False, 'lim': 0, 'rpt': False, 'rnd': False}
Can anyone help me make sense of this? Should I delete this thread and post it to the arduino forums?
Story: I work at an adult medical day care facility and I secured a 1963 Seeburg LPC1 jukebox. Turns out, it's crap. A professional jukebox repair man told me to throw it away, but I decided to buy an Arduino and power it from an old laptop. I used code borrowed from https://github.com/sprinkmeier/jukebox . I modified the arduino code and got it reading the push buttons correctly. I installed Ubuntu on the old laptop and started following the README.md file. I had problems with apache running the cgi file so I followed some tutorial to tell apache what to do with .cgi files. Now, when I go to the index.html it jumps to the cgi file and gives me an internal service error.
Anyway, the readme says to modify rc.local to have the script autoload on start. I don't have enough experience in linux to know if it's working correctly or not, but I have tried python jukebox.py in terminal. that results in the follow responses:
Traceback (most recent call last):
File "jukebox.py", line 46, in <module>
ser.setBaudrate(9600)
AttributeError: 'Serial' object has no attribute 'setBaudrate'
{'dup': False, 'lim': 0, 'rpt': False, 'rnd': False}
Can anyone help me make sense of this? Should I delete this thread and post it to the arduino forums?