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 

ERR_EMPTY_RESPONSE connecting to Tivo HD

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



Joined: 14 Jan 2008
Posts: 35

PostPosted: Tue May 08, 2018 1:58 am    Post subject: ERR_EMPTY_RESPONSE connecting to Tivo HD Reply with quote

Just downloaded the latest pyTivo, working to connect to a Bolt and a Tivo HD. Bolt seems to work fine, but when I try to connect to the Tivo HD using the web interface, I get a response:

Code:
This page isnít working
127.0.0.1 didnít send any data.
ERR_EMPTY_RESPONSE


Dump of the console gives me:

Code:

INFO:pyTivo:Last modified: Sun Mar 18 09:30:23 2018
INFO:pyTivo:Python: 2.7.14
INFO:pyTivo:System: Windows-7-6.1.7601-SP1
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo.beacon:New HD TiVo
INFO:pyTivo.beacon:Family Room
INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo.beacon:Registering: Shows
INFO:pyTivo:pyTivo is ready.
INFO:pyTivo:192.168.0.2 [07/May/2018 21:52:52] "GET /TiVoConnect?Command=QueryCo
ntainer&Container=%2F HTTP/1.0" 200 -
ERROR:pyTivo:Exception during request from ('127.0.0.1', 54548)
Traceback (most recent call last):
  File "C:\Python27\lib\SocketServer.py", line 596, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\pytivo\httpserver.py", line 91, in __init__
    client_address, server)
  File "C:\Python27\lib\SocketServer.py", line 652, in __init__
    self.handle()
  File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "C:\pytivo\httpserver.py", line 126, in do_GET
    self.handle_query(query, tsn)
  File "C:\pytivo\httpserver.py", line 179, in handle_query
    if self.do_command(query, command, basepath, tsn):
  File "C:\pytivo\httpserver.py", line 158, in do_command
    method(self, query)
  File "C:\pytivo\plugins\togo\togo.py", line 120, in NPL
    tsn = config.tivos_by_ip(tivoIP)
  File "C:\pytivo\config.py", line 75, in tivos_by_ip
    if value['address'] == tivoIP:
KeyError: 'address'
ERROR:pyTivo:Exception during request from ('127.0.0.1', 54549)
Traceback (most recent call last):
  File "C:\Python27\lib\SocketServer.py", line 596, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\pytivo\httpserver.py", line 91, in __init__
    client_address, server)
  File "C:\Python27\lib\SocketServer.py", line 652, in __init__
    self.handle()
  File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "C:\pytivo\httpserver.py", line 126, in do_GET
    self.handle_query(query, tsn)
  File "C:\pytivo\httpserver.py", line 179, in handle_query
    if self.do_command(query, command, basepath, tsn):
  File "C:\pytivo\httpserver.py", line 158, in do_command
    method(self, query)
  File "C:\pytivo\plugins\togo\togo.py", line 120, in NPL
    tsn = config.tivos_by_ip(tivoIP)
  File "C:\pytivo\config.py", line 75, in tivos_by_ip
    if value['address'] == tivoIP:
KeyError: 'address'
ERROR:pyTivo:Exception during request from ('127.0.0.1', 54550)
Traceback (most recent call last):
  File "C:\Python27\lib\SocketServer.py", line 596, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\pytivo\httpserver.py", line 91, in __init__
    client_address, server)
  File "C:\Python27\lib\SocketServer.py", line 652, in __init__
    self.handle()
  File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "C:\pytivo\httpserver.py", line 126, in do_GET
    self.handle_query(query, tsn)
  File "C:\pytivo\httpserver.py", line 179, in handle_query
    if self.do_command(query, command, basepath, tsn):
  File "C:\pytivo\httpserver.py", line 158, in do_command
    method(self, query)
  File "C:\pytivo\plugins\togo\togo.py", line 120, in NPL
    tsn = config.tivos_by_ip(tivoIP)
  File "C:\pytivo\config.py", line 75, in tivos_by_ip
    if value['address'] == tivoIP:
KeyError: 'address'


Thoughts?
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2629
Location: Maryland

PostPosted: Tue May 08, 2018 5:43 am    Post subject: Reply with quote

Please post your pyTivo.conf.
_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
threeeyedtoad



Joined: 14 Jan 2008
Posts: 35

PostPosted: Wed May 09, 2018 1:19 am    Post subject: Reply with quote

Code:
[Server]
togo_path = F:\_TiVo\_FromTiVo
tivodecode = C:\pytivo\bin\tivodecode-0.1.2.exe
tivo_password = password
tivo_mak = 0123456789
tivo_username = email@gmail.com
ffmpeg = C:\pytivo\bin\ffmpeg.exe

[_tivo_SD]

[_tivo_HD]

[Shows]
path = F:\_TiVo\_FromTiVo
type = video

[_tivo_4K]
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2629
Location: Maryland

PostPosted: Wed May 09, 2018 10:07 am    Post subject: Reply with quote

OK, try updating now, and/or remove the "[_tivo_4K]" line, and see what happens. (I'm not sure it will fix your problem, but it should kill that particular error message.)
_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
threeeyedtoad



Joined: 14 Jan 2008
Posts: 35

PostPosted: Wed May 09, 2018 11:22 am    Post subject: Reply with quote

Works like a charm.

Many thanks for your service to this community over the years!
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.1018s ][ Queries: 17 (0.0475s) ][ GZIP on - Debug on ]