pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

All of a Sudden PyTivo Has Stopped Working after 12 months

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
jwagner010



Joined: 09 Dec 2010
Posts: 21

PostPosted: Tue Nov 22, 2011 11:10 pm    Post subject: All of a Sudden PyTivo Has Stopped Working after 12 months Reply with quote

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
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2010
Location: Maryland

PostPosted: Wed Nov 23, 2011 12:52 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jwagner010



Joined: 09 Dec 2010
Posts: 21

PostPosted: Wed Nov 23, 2011 1:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2010
Location: Maryland

PostPosted: Thu Nov 24, 2011 1:10 am    Post subject: Reply with quote

No, another machine would not conflict. I meant another instance on the same machine.
_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
jwagner010



Joined: 09 Dec 2010
Posts: 21

PostPosted: Thu Nov 24, 2011 3:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jwagner010



Joined: 09 Dec 2010
Posts: 21

PostPosted: Thu Nov 24, 2011 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1681s ][ Queries: 12 (0.0154s) ][ GZIP on - Debug on ]