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 

Installing pyTivo on an HP Media Smart Server EX485

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



Joined: 14 May 2009
Posts: 21

PostPosted: Thu May 14, 2009 3:07 am    Post subject: Installing pyTivo on an HP Media Smart Server EX485 Reply with quote

I hope you guys can help me diagnose this issue. I am trying to install pyTivo on my new HP Media Smart Server EX485. This is the first time I have tried Pytivo.

I loaded all of the files and went to run the last step:

To create the pyTivo service after installing pywin32 perform the following steps

1.Start Menu->Run
2.Type "cmd" and hit enter
3.Change directory to base pyTivo directory (For example, type "cd C:\program files\pytivo")
4.Type "pyTivoService.py --startup auto install"


I get the following error

File "C:\Program Files\pyTivo\pyTivoService.py" line 3, in <module>
import win32event
ImportError: No module named win32event



I can start the service using pyTivo - start service from the all programs - pytivo menu, but I see the following problems:

- I can see pyTivo in the now playing list, but when I try to transfer a movie, it indicates that it will be added to the to do list and will start after previously requested programs have finished. Of course there are no previously requested programs.

- I try to load the admin web: http://localhost:9032/ and get an internet error Internet Explorer cannot display the webpageInternet Explorer cannot display the webpage

I think that is all the symptoms. let me know what you think.
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 1420

PostPosted: Thu May 14, 2009 3:16 am    Post subject: Reply with quote

Given that you are using the Windows installer (hence the Start menu group), it creates the pyTivo service in a way that does NOT require pywin32 and you should NOT try to use it.

1) Start->Run

2) Type services.msc and click OK.

3) In the Services List you should see pyTivo and it should be started automatically on boot.

The Start menu shortcuts just start and stop the service that is defined in the Services List.

To debug your transfer problem, stop the service and choose the Start menu item to run pyTivo in a console Window.

A Command prompt window should appear with lots to diagnostic output. Try to initiate a transfer and then copy and paste the diagnostic output here.

As for loading the webadmin, are you trying to load it from the machine running pyTivo or from another machine on your network?

The localhost notation ONLY works on the same box as pyTivo. If you're trying to access it from another machine you have to use:

http://<pyTivo computer ip>:9032/

That is assuming you didn't change the pyTivo port during the install process or by editing the pyTivo.conf
Back to top
View user's profile Send private message
bradleys



Joined: 14 May 2009
Posts: 21

PostPosted: Thu May 14, 2009 3:38 am    Post subject: Reply with quote

Ok - service is now started and the web is now working. This is the error I get when I try to transfer...


Checking to see if pyTivo is already running . . .

Starting pyTivo Server. Use ctrl+Break to exit.

C:\Program Files\pyTivo\Cheetah\CacheRegion.py:30: DeprecationWarning: the md5 m
odule is deprecated; use hashlib instead
import md5
2009-05-13 22:36:12,515 INFO pyTivo: pyTivo is ready.
2009-05-13 22:36:12,717 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:12] "GET /T
iVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
2009-05-13 22:36:12,717 INFO pyTivo: 192.168.1.6 [13/May/2009 22:36:12] "GET /T
iVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
2009-05-13 22:36:12,921 INFO pyTivo: 192.168.1.10 [13/May/2009 22:36:12] "GET /
TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
2009-05-13 22:36:16,046 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:16] "GET /T
iVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -

2009-05-13 22:36:16,125 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:16] "GET /T
iVoConnect?Command=QueryContainer&Container=Videos%20on%20Windows%20Home%20Serve
r%2FComedy&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-vid
eos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
2009-05-13 22:36:16,125 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:16] "GET /T
iVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -

2009-05-13 22:36:16,390 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:16] "GET /T
iVoConnect?Command=QueryContainer&Container=Videos%20on%20Windows%20Home%20Serve
r%2FComedy&SortOrder=!CaptureDate&ItemCount=8&AnchorItem=%2FVideos%2520on%2520Wi
ndows%2520Home%2520Server%2FComedy%2FThe%2520Bucket%2520List%2520%2528Recorded%2
520Dec%252023%252C%25202008%252C%2520HBOHDP%2529.TiVo&AnchorOffset=-1&Filter=x-t
ivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%
2F* HTTP/1.1" 200 -
2009-05-13 22:36:20,296 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:20] "GET /T
iVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -

2009-05-13 22:36:20,342 DEBUG pyTivo.video.transcode: VALID, ends in .tivo. D:\s
hares\Videos\Comedy\The Bucket List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,342 DEBUG root: CACHE HIT! D:\shares\Videos\Comedy\The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,358 DEBUG root: CACHE HIT! D:\shares\Videos\Comedy\The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,358 DEBUG pyTivo.video.transcode: TRANSCODE=NO, ends with .t
ivo, D:\shares\Videos\Comedy\The Bucket List (Recorded Dec 23, 2008, HBOHDP).TiV
o
2009-05-13 22:36:20,358 DEBUG root: CACHE HIT! D:\shares\Videos\Comedy\The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,358 DEBUG root: CACHE HIT! D:\shares\Videos\Comedy\The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,358 DEBUG pyTivo.video.transcode: TRANSCODE=NO, ends with .t
ivo, D:\shares\Videos\Comedy\The Bucket List (Recorded Dec 23, 2008, HBOHDP).TiV
o
2009-05-13 22:36:20,358 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:20] "GET /T
iVoConnect?Command=QueryContainer&Container=Videos%20on%20Windows%20Home%20Serve
r%2FComedy&SortOrder=!CaptureDate&ItemCount=1&AnchorItem=%2FVideos%2520on%2520Wi
ndows%2520Home%2520Server%2FComedy%2FThe%2520Bucket%2520List%2520%2528Recorded%2
520Dec%252023%252C%25202008%252C%2520HBOHDP%2529.TiVo&AnchorOffset=-1&Filter=x-t
ivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%
2F* HTTP/1.1" 200 -
2009-05-13 22:36:20,453 DEBUG pyTivo.video.transcode: VALID, ends in .tivo. D:\s
hares\Videos/Comedy/The Bucket List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,453 DEBUG root: CACHE HIT! D:\shares\Videos/Comedy/The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,453 DEBUG root: CACHE HIT! D:\shares\Videos/Comedy/The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,453 DEBUG pyTivo.video.transcode: TRANSCODE=NO, ends with .t
ivo, D:\shares\Videos/Comedy/The Bucket List (Recorded Dec 23, 2008, HBOHDP).TiV
o
2009-05-13 22:36:20,467 DEBUG root: CACHE HIT! D:\shares\Videos/Comedy/The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,467 DEBUG root: CACHE HIT! D:\shares\Videos/Comedy/The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:20,467 DEBUG pyTivo.video.transcode: TRANSCODE=NO, ends with .t
ivo, D:\shares\Videos/Comedy/The Bucket List (Recorded Dec 23, 2008, HBOHDP).TiV
o
2009-05-13 22:36:20,640 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:20] "GET /T
iVoConnect?Command=TVBusQuery&Container=Videos%20on%20Windows%20Home%20Server&Fi
le=%2FComedy%2FThe%20Bucket%20List%20(Recorded%20Dec%2023,%202008,%20HBOHDP).TiV
o HTTP/1.1" 200 -
2009-05-13 22:36:24,453 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:24] "GET /T
iVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -

2009-05-13 22:36:24,483 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:24] "GET /T
iVoConnect?Command=QueryItem&Url=http%3A%2F%2Fa%2Fb%3FContainer%3D%2FNowPlaying%
26id%3D%2FVideos%2520on%2520Windows%2520Home%2520Server%2FComedy%2FThe%2520Bucke
t%2520List%2520%2528Recorded%2520Dec%252023%252C%25202008%252C%2520HBOHDP%2529.T
iVo HTTP/1.1" 404 -
2009-05-13 22:36:26,062 INFO pyTivo: 192.168.1.4 [13/May/2009 22:36:26] "GET /V
ideos%20on%20Windows%20Home%20Server/Comedy/The%20Bucket%20List%20(Recorded%20De
c%2023,%202008,%20HBOHDP).TiVo HTTP/1.1" 200 -
2009-05-13 22:36:26,062 DEBUG root: CACHE HIT! D:\shares\Videos\Comedy\The Bucke
t List (Recorded Dec 23, 2008, HBOHDP).TiVo
2009-05-13 22:36:26,062 ERROR pyTivo: Exception during request from ('192.168.1.
4', 4540)
Traceback (most recent call last):
File "C:\Python26\lib\SocketServer.py", line 558, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python26\lib\SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Program Files\pyTivo\httpserver.py", line 61, in __init__
client_address, server)
File "C:\Python26\lib\SocketServer.py", line 615, in __init__
self.handle()
File "C:\Python26\lib\BaseHTTPServer.py", line 329, in handle
self.handle_one_request()
File "C:\Python26\lib\BaseHTTPServer.py", line 323, in handle_one_request
method()
File "C:\Program Files\pyTivo\httpserver.py", line 83, in do_GET
plugin.send_file(self, container, name)
File "C:\Program Files\pyTivo\plugins\video\video.py", line 89, in send_file
handler.wfile, tsn, mime)
File "C:\Program Files\pyTivo\plugins\video\transcode.py", line 43, in output_
video
if tivo_compatible(inFile, tsn, mime)[0]:
File "C:\Program Files\pyTivo\plugins\video\transcode.py", line 520, in tivo_c
ompatible
vmessage = tivo_compatible_video(vInfo, tsn, mime)
File "C:\Program Files\pyTivo\plugins\video\transcode.py", line 409, in tivo_c
ompatible_video
codec = vInfo['vCodec']
KeyError: 'vCodec'
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 1420

PostPosted: Thu May 14, 2009 4:26 am    Post subject: Reply with quote

Sorry about that.

The pyTivo-wmcbrine-2008.03.19-RC1 installer uses a snapshot of wmcbrine's code that accidentally broke .Tivo transfers. Most other files should transfer fine.

wmcbrine fixed it soon after, but I haven't released a new installer with his updated code yet. It'll be fixed in the next release that is currently waiting on me sorting out ffmpeg issues.
Back to top
View user's profile Send private message
bradleys



Joined: 14 May 2009
Posts: 21

PostPosted: Thu May 14, 2009 4:32 am    Post subject: Reply with quote

Did I use the wrong installer?

I am reading that you recommend that I wait until your next update comes out. I am OK with that - I am in no hurry. Just wondering when I should look back...
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 1420

PostPosted: Thu May 14, 2009 4:46 am    Post subject: Reply with quote

You got the latest installer, but it just happens to be broken for that one feature.

You can try using the slightly older one to tide you over until I get the new Windows release out:

Try

pyTivo-wmcbrine-2008.08.20-RC1 from

http://pytivo.krkeegan.com/post3957.html#3957

That is if you're not using Vista x64. The old installer gets pretty confused on Vista x64.
Back to top
View user's profile Send private message
bradleys



Joined: 14 May 2009
Posts: 21

PostPosted: Thu May 14, 2009 4:48 am    Post subject: Reply with quote

Thanks - no this is on a Windows Home Server
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.0625s ][ Queries: 13 (0.0076s) ][ GZIP on - Debug on ]