Comments (7)
I've seen other people have this same issue, and I simply haven't seen it yet. I'm not going to say it's unreproducible yet because I'm going to try wiping the Pi and installing from install.sh
and maybe that'll produce the bug.
Can you give me an update on this? Is it still occurring?
from pidora.
Yes, I was unfortunately never able to determine the cause.
from pidora.
You wouldn't happen to know of anything else on your Pi that's already using port 8080 do you?
from pidora.
It looks like port 8080 is already bound to by some other program/service. You could try using a different port number (anything over 1024) by changing it in cpy.conf
and bar-update.py
. And then running python hello.py
. If it's a port binding issue, that would (read: should) solve it.
from pidora.
I'll try that next week over spring break and report back!
On February 21, 2014 2:01:02 PM Jacob Roeland [email protected] wrote:
It looks like port 8080 is already bound to by some other program/service.
You could try using a different port number (anything over 1024) by
changing it incpy.conf
andbar-update.py
. And then runningpython hello.py
. If it's a port binding issue, that would (read: should) solve it.
Reply to this email directly or view it on GitHub:
#48 (comment)
from pidora.
Unfortunately, no luck with that:
[16/Mar/2014:01:16:41] ENGINE Listening for SIGHUP.
[16/Mar/2014:01:16:41] ENGINE Listening for SIGTERM.
[16/Mar/2014:01:16:41] ENGINE Listening for SIGUSR1.
[16/Mar/2014:01:16:41] ENGINE Bus STARTING
[16/Mar/2014:01:16:41] ENGINE Started monitor thread '_TimeoutMonitor'.
192.168.1.124 - - [16/Mar/2014:01:16:55] "GET / HTTP/1.1" 200 1459 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
192.168.1.124 - - [16/Mar/2014:01:16:55] "GET /css/styles.css HTTP/1.1" 200 667 "http://192.168.1.147:8111/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
192.168.1.124 - - [16/Mar/2014:01:16:55] "GET /imgs/love.png HTTP/1.1" 200 1037 "http://192.168.1.147:8111/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
192.168.1.124 - - [16/Mar/2014:01:16:55] "GET /js/pidora.js HTTP/1.1" 200 6316 "http://192.168.1.147:8111/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
192.168.1.124 - - [16/Mar/2014:01:16:55] "GET /imgs/pandora.png HTTP/1.1" 200 82708 "http://192.168.1.147:8111/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
192.168.1.124 - - [16/Mar/2014:01:16:55] "GET /imgs/favicon.ico HTTP/1.1" 200 15086 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
192.168.1.124 - - [16/Mar/2014:01:16:58] "GET /api?json=%7B%22method%22%3A%22GetSongInfo%22%2C%22id%22%3A1%7D HTTP/1.1" 200 117 "http://192.168.1.147:8111/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
.
.
.
192.168.1.124 - - [16/Mar/2014:01:18:20] "GET /api?json=%7B%22method%22%3A%22GetSongInfo%22%2C%22id%22%3A1%7D HTTP/1.1" 200 117 "http://192.168.1.147:8111/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36"
[16/Mar/2014:01:18:22] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x14152f0>>
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 8111 not bound on '0.0.0.0'
[16/Mar/2014:01:18:22] 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 8111 not bound on '0.0.0.0'",)
[16/Mar/2014:01:18:22] ENGINE Bus STOPPING
[16/Mar/2014:01:18:22] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8111)) already shut down
[16/Mar/2014:01:18:22] ENGINE Stopped thread '_TimeoutMonitor'.
[16/Mar/2014:01:18:22] ENGINE Bus STOPPED
[16/Mar/2014:01:18:22] ENGINE Bus EXITING
[16/Mar/2014:01:18:22] ENGINE Bus EXITED
from pidora.
I had a similar issue where it wouldn't start at startup because the network stack wasn't fully initialized; I wrote a little start-pidora
script that was:
#!/bin/bash
export PATH=${PATH}:/usr/local/bin
while ! ping -c 1 8.8.8.8 >/dev/null 2>&1 ; do
sleep 1
done
cd /home/pi/pidora
python hello.py >/tmp/pidora.log 2>&1
Which fixed it for me. YMMV.
from pidora.
Related Issues (20)
- Disable autoplay HOT 1
- NPR Volume way lower HOT 2
- GetExplanation api when no song is playing HOT 1
- PianoBar Install Part Fails HOT 6
- Document which Raspberry Pi distro install.sh works with HOT 4
- Make this a pypi package HOT 1
- call/signature mismatch in bar-update.py HOT 2
- pep8-ize the source HOT 5
- make podcast feed configurable, maybe multi? HOT 4
- change port HOT 4
- mobile browser detection and redirection HOT 5
- tools.staticdir.root is incorrect if install.sh is ran by another use than 'pi'
- modifed scripts HOT 1
- API: Available Commands
- Create new class PianobarWithNews
- Where is the speaker output? HOT 5
- Does Git Pull pull from the forked repo? HOT 1
- Use songDuration to guess if a song is actually an ad HOT 1
- Naming problems HOT 3
- I am getting a connection error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pidora.