Finally got pi-ratebox mostly working. Upload works, download works, but chat only updates on refresh. If I try /chat.html, the box displays
break.log shows this error after each post:
Update: I got chat.html working by replacing /opt/piratebox/www/cgi-bin/psowrte.py with the one I found here. I'm working on getting the chatbox on index.html working too, I'll leave this post here in case someone else gets this problem.
okand nothing else. It only prints the proper chatlog if I refresh.
break.log shows this error after each post:
Traceback (most recent call last): File "/opt/piratebox/www/cgi-bin/psowrte.py", line 23, in <module> color = values["color"].value File "/usr/lib/python2.7/cgi.py", line 541, in __getitem__ raise KeyError, key KeyError: 'color'I saw here that user lobalt had a similar problem, but it looks like no one found a solution. Any ideas?
Update: I got chat.html working by replacing /opt/piratebox/www/cgi-bin/psowrte.py with the one I found here. I'm working on getting the chatbox on index.html working too, I'll leave this post here in case someone else gets this problem.