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 

browsing pytivo folders causes THD to reboot

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



Joined: 13 Feb 2008
Posts: 15

PostPosted: Sat Feb 16, 2008 4:48 am    Post subject: browsing pytivo folders causes THD to reboot Reply with quote

I'm using wmcbrine's latest git. wmcbrine-b861df7395a948b0c3f57248957ac810e1db29f4.tar.gz

Here's the pytivo.conf:
(I also tried one with the individual folders in f:\Miro each as their own entry in the .conf, and got the same results.)
Code:
[Server]
port = 9032
hack83 = true
ffmpeg = c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe

[Miro]
type = video
path = F:\Miro
auto_subshares = True
#precache = true


and here's the output as I browsed folders on my THD. I never got as far as trying to transfer something.

Code:

C:\TiVo\pyTivo>c:\Python25\python.exe pytivo.py
pyTivo is ready.
C:\TiVo\pyTivo\Cheetah\Compiler.py:1508: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's us
eStackFrames option as it is painfully slow with the Python version of NameMappe
r. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
192.168.1.129 - - [15/Feb/2008 23:08:09] "GET /TiVoConnect?Command=QueryContaine
r&Container=%2F HTTP/1.0" 200 -
192.168.1.129 - - [15/Feb/2008 23:13:39] "GET /TiVoConnect?Command=QueryContaine
r&Container=%2F HTTP/1.0" 200 -
192.168.1.129 - - [15/Feb/2008 23:13:51] "GET /TiVoConnect?Command=QueryContaine
r&Container=Epic%20Fu&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container
%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1"
 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.1.129', 32790)
Traceback (most recent call last):
  File "c:\Python25\lib\SocketServer.py", line 464, in process_request_thread
    self.finish_request(request, client_address)
  File "c:\Python25\lib\SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\Python25\lib\SocketServer.py", line 522, in __init__
    self.handle()
  File "c:\Python25\lib\BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "c:\Python25\lib\BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "C:\TiVo\pyTivo\httpserver.py", line 69, in do_GET
    method(self, query)
  File "C:\TiVo\pyTivo\plugins\video\video.py", line 183, in QueryContainer
    video['valid'] = transcode.supported_format(file)
  File "C:\TiVo\pyTivo\plugins\video\transcode.py", line 365, in supported_forma
t
    if video_info(inFile)[0]:
  File "C:\TiVo\pyTivo\plugins\video\transcode.py", line 275, in video_info
    ffmpeg = subprocess.Popen(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIP
E, stdin=subprocess.PIPE)
  File "c:\Python25\lib\subprocess.py", line 593, in __init__
    errread, errwrite)
  File "c:\Python25\lib\subprocess.py", line 815, in _execute_child
    startupinfo)
WindowsError: [Error 3] The system cannot find the path specified
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('192.168.1.129', 32792)
Traceback (most recent call last):
  File "c:\Python25\lib\SocketServer.py", line 464, in process_request_thread
    self.finish_request(request, client_address)
  File "c:\Python25\lib\SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\Python25\lib\SocketServer.py", line 522, in __init__
    self.handle()
  File "c:\Python25\lib\BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "c:\Python25\lib\BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "C:\TiVo\pyTivo\httpserver.py", line 69, in do_GET
    method(self, query)
  File "C:\TiVo\pyTivo\plugins\video\video.py", line 183, in QueryContainer
    video['valid'] = transcode.supported_format(file)
  File "C:\TiVo\pyTivo\plugins\video\transcode.py", line 365, in supported_forma
t
    if video_info(inFile)[0]:
  File "C:\TiVo\pyTivo\plugins\video\transcode.py", line 275, in video_info
    ffmpeg = subprocess.Popen(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIP
E, stdin=subprocess.PIPE)
  File "c:\Python25\lib\subprocess.py", line 593, in __init__
    errread, errwrite)
  File "c:\Python25\lib\subprocess.py", line 815, in _execute_child
    startupinfo)
WindowsError: [Error 3] The system cannot find the path specified
----------------------------------------


And that's where my THD rebooted

What's going on? Is there something I can do?
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2009
Location: Maryland

PostPosted: Sat Feb 16, 2008 5:09 am    Post subject: Reply with quote

I haven't yet checked by trying to replicate this, but the error message suggests to me that it can't find ffmpeg_mp2.exe, or perhaps pthreadGC2.dll. Are they where they're supposed to be?

Edit: You know what, I can see that they aren't. You're trying to run it in "C:\TiVo\pyTivo", but your pyTivo.conf says ffmpeg is at "c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe". Fix that.

_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
dalesd



Joined: 13 Feb 2008
Posts: 15

PostPosted: Sat Feb 16, 2008 4:08 pm    Post subject: Reply with quote

Aw, I can't believe I missed that. Sad

Everything's working now.
Thanks.

BTW, this is supercool.
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.8841s ][ Queries: 12 (0.0180s) ][ GZIP on - Debug on ]