-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Hello again! Entirely possible this is my fault again, but right now Pidora isn't restarting. When I restart my RPi and go to IPADDRESS:8080, nothing is being hosted unless I run python ./pidora/hello.py manually. Maybe it's a problem with:
echo "rm $HOME/pidora/curSong.json
@python $HOME/pidora/hello.py
@midori -a \"http://localhost:8080/\" -e Fullscreen" | sudo tee -a /etc/xdg/lxsession/LXDE/autostart
Could it be a problem with the fact that I have a headless install and do not use LXDE?
Also, when I start Pidora manually with python ./pidora/hello.py and access it from my laptop's browser (Chrome), I get stuck with "Pianobar is starting up" and eventually the ssh session ends with an error:
117 "http://192.168.16.49:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.11 Safari/537.36"
[24/Dec/2013:04:31:12] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0xde01f0>>
Traceback (most recent call last):
File "/home/pi/pidora/cherrypy/process/wspbus.py", line 197, in publish
output.append(listener(*args, **kwargs))
File "/home/pi/pidora/cherrypy/_cpserver.py", line 151, in start
ServerAdapter.start(self)
File "/home/pi/pidora/cherrypy/process/servers.py", line 174, in start
self.wait()
File "/home/pi/pidora/cherrypy/process/servers.py", line 214, in wait
wait_for_occupied_port(host, port)
File "/home/pi/pidora/cherrypy/process/servers.py", line 427, in wait_for_occupied_port
raise IOError("Port %r not bound on %r" % (port, host))
IOError: Port 8080 not bound on '0.0.0.0'
[24/Dec/2013:04:31:12] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/home/pi/pidora/cherrypy/process/wspbus.py", line 235, in start
self.publish('start')
File "/home/pi/pidora/cherrypy/process/wspbus.py", line 215, in publish
raise exc
ChannelFailures: IOError("Port 8080 not bound on '0.0.0.0'",)
[24/Dec/2013:04:31:12] ENGINE Bus STOPPING
[24/Dec/2013:04:31:12] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
[24/Dec/2013:04:31:12] ENGINE Stopped thread '_TimeoutMonitor'.
[24/Dec/2013:04:31:12] ENGINE Bus STOPPED
[24/Dec/2013:04:31:12] ENGINE Bus EXITING
[24/Dec/2013:04:31:12] ENGINE Bus EXITED
Thanks in advance for your help.
Reactions are currently unavailable