"buenafe" wrote:
I was able to run myMedia with Windows but not having success with Linux (Ubuntu 11).
I've never used springboard.py in Linux, but I just tried it and it seems to be pretty messed up. It looks like it's trying to run rss_server.py and it should be running mymedia.py. You should be able to just run mymedia.py directly:
python mymedia.py &
See
this post for how to create a basic startup script that will start it automatically.
"buenafe" wrote:
The server is not running. I get the "Stop Server" dialog, but when I try to access browser at http://localhost:8001/feed, I don't get anything.
You are doing this from the server itself and not from a different machine, right? You're later error message implies the server is running. From the command line, type
ps aux | grep python
and you'll see any python scripts that are running. I'll bet you see rss_server.py listed.
"buenafe" wrote:
I'm not sure why I am getting http://0.0.0.0 in the output.
That's normal. I've never bothered to look into where it comes from.
"buenafe" wrote:
As a second note, when I stop and try to restart server again. I get the following message.
python springboard.py
writing configuration
http://0.0.0.0:8001/
Traceback (most recent call last):
File "rss_server.py", line 587, in <module>
app.run()
File "/home/buenafe/scripts/netguy204-roku_media_server-25aaa89/server/web/application.py", line 313, in run
return wsgi.runwsgi(self.wsgifunc(*middleware))
.....
socket.error: [Errno 98] Address already in use
That implies the server is still running and the stop didn't work (it didn't for me either). Trying to start a new instance will get an error message since the port (8001 by default) is already in use. The "rss_server.py" text implies springboard is starting the wrong thing. I have to be honest, I never had much use for springboard.py except for packaging the channel. I thing it's easier to just start mymedia.py directly.
One more thing I noticed in my Ubuntu experiment is that springboard.py fills in the server IP address as 127.0.1.1. I forget exactly why that happens, but if you get the same thing you'll have to manually enter your server's IP address (or fix the underlying problem). If you start mymedia.py directly it should print out something like
"submitting 'http://192.168.1.104:8001' to rendezvous server as asdf"
If it has the "127.0.1.1" IP address instead, it's wrong.
Are you moving your server from a Windows machine to a Linux machine, or are you trying to have two servers?
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.