|
| Author |
Message |
jwagner010
Joined: 09 Dec 2010 Posts: 21
|
Posted: Tue Nov 22, 2011 11:10 pm Post subject: All of a Sudden PyTivo Has Stopped Working after 12 months |
|
|
I have been running PyTivo on my Synology NAS for over 12 months now. All of a sudden it has stopped working. I have not updated anything on the NAS or even added a new application so I am at a loss for why it has stopped working. When I start the application I get the following message:
DiskStation> /opt/bin/python /usr/local/pyTivo/pyTivo.py
ERROR:pyTivo:Exception in pyTivo
Traceback (most recent call last):
File "/usr/local/pyTivo/pyTivo.py", line 26, in <module>
httpd = httpserver.TivoHTTPServer(('', int(port)), httpserver.TivoHTTPHandler)
File "/usr/local/pyTivo/httpserver.py", line 36, in __init__
RequestHandlerClass)
File "/opt/lib/python2.5/SocketServer.py", line 330, in __init__
self.server_bind()
File "/opt/lib/python2.5/BaseHTTPServer.py", line 101, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/opt/lib/python2.5/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
error: (98, 'Address already in use')
I am not a coder so have no idea what this means. Can someone help me correct this so I can get my pyTivo working again? I miss it !! |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2010 Location: Maryland
|
Posted: Wed Nov 23, 2011 12:52 am Post subject: |
|
|
It means that something else is already using the port that pyTivo wants (9032, unless you've set it to something else). Assuming you're using the default port, the most likely candidate is... another instance of pyTivo, already running in the background. But I dunno. _________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
jwagner010
Joined: 09 Dec 2010 Posts: 21
|
Posted: Wed Nov 23, 2011 1:38 pm Post subject: |
|
|
| wmcbrine wrote: | It means that something else is already using the port that pyTivo wants (9032, unless you've set it to something else). Assuming you're using the default port, the most likely candidate is... another instance of pyTivo, already running in the background. But I dunno. |
Thanks for the quick response. I do have pyTivo installed on another machine on my local network. I thought given it was on a seperate machine with a different (static) IP address that it didn't matter that they used the same port number. Obviously I was incorrect. You learn something every day. Works fine now. |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2010 Location: Maryland
|
Posted: Thu Nov 24, 2011 1:10 am Post subject: |
|
|
No, another machine would not conflict. I meant another instance on the same machine. _________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
jwagner010
Joined: 09 Dec 2010 Posts: 21
|
Posted: Thu Nov 24, 2011 3:14 am Post subject: |
|
|
| Thats what I thought. But it was pyTivo on a seperate machine. Have tested it and confirmed it a number of times. |
|
| Back to top |
|
 |
jwagner010
Joined: 09 Dec 2010 Posts: 21
|
Posted: Thu Nov 24, 2011 8:32 am Post subject: |
|
|
| jwagner010 wrote: | Thats what I thought. But it was pyTivo on a seperate machine. Have tested it and confirmed it a number of times. |
In addition to replicating / testing it via a second machine using the same port I also ran a netstat -an command on the NAS and confirmed that no other service was using the port on the NAS.
Strange? At least we identified the problem and I am up and running. Thanks and happy Thanksgiving. |
|
| Back to top |
|
 |
|