TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 09-10-2012, 04:25 PM   #1
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
pyTivo install was a breeze but I can't wrap my tiny brain around pywin32

While visiting family Iím trying to enhance their Tivo experience a bit. Iíve successfully installed pyTivo on their desktop but I would like it to run as a service. The pyTivo install was easy enough (itís the second time Iíve done it) but I feel like an idiot when it comes to pywin32.

I installed pyTivo about a month ago. Iím leaving soon so I thought Iíd take another shot at installing pywin32. My brain is locked as to where to begin. Do I extract pywin32 into its own directory, the python27 directory or the pyTivo directory? I assume I have to run setup.py from a cmd window but I further admit my cluelessness regarding the pywin32 read me file instructions.

ďsetup.py' is a standard distutils build script. You probably want to:
% setup.py installĒ (Huh?)

Can someone give me a push to get me started?

Thanks,

Jim
tvlandfanJG is offline   Reply With Quote
Old 09-10-2012, 04:56 PM   #2
ThAbtO
TiVoholic by the bay
 
ThAbtO's Avatar
 
Join Date: Apr 2000
Location: SF Bay Area
Posts: 4,616
I don't remember ever having to use pywin32, all I did was install python26 and pytivo.conf edits. I think also, python27 is not as compatible with pytivo.
__________________
Series 2 (PLS, sold)
TiVo HD 1TB (157 HD Hrs, PLS, "652")
Roamio! Oh, wait, Its Juliet!

~~~~~

The TiVo Apocalypse begins on Sat 2013 Feb 16 00:00 GMT!
ThAbtO is offline   Reply With Quote
Old 09-10-2012, 05:25 PM   #3
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,947
Python 2.7 is fine. The only thing it's less compatible with is that old installer that did an explicit version check. That's not what tvlandfanJG is using.

However, I can't really advise you on pywin32, beyond this.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 09-10-2012, 10:44 PM   #4
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 5,008
Wouldn't it be simpler simply to add an invocation of pyTivo.py to the startup folder and forget about the whole "service" thing.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 09-10-2012, 10:57 PM   #5
ThAbtO
TiVoholic by the bay
 
ThAbtO's Avatar
 
Join Date: Apr 2000
Location: SF Bay Area
Posts: 4,616
Quote:
Originally Posted by lpwcomp View Post
Wouldn't it be simpler simply to add an invocation of pyTivo.py to the startup folder and forget about the whole "service" thing.
My pytivo is running as service and stays active the next time the PC is powered up.
__________________
Series 2 (PLS, sold)
TiVo HD 1TB (157 HD Hrs, PLS, "652")
Roamio! Oh, wait, Its Juliet!

~~~~~

The TiVo Apocalypse begins on Sat 2013 Feb 16 00:00 GMT!
ThAbtO is offline   Reply With Quote
Old 09-11-2012, 09:03 AM   #6
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by ThAbtO View Post
My pytivo is running as service and stays active the next time the PC is powered up.
From cmd I went to my pyTivo directory and I ran

pyTivoService.py -startup auto install

I got this response...

Traceback (most recent call last):
File "C:\pytivo\pyTivoService.py", line 5, in <module>
import win32event
ImportError: No module named wine32event
tvlandfanJG is offline   Reply With Quote
Old 09-11-2012, 09:11 AM   #7
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by lpwcomp View Post
Wouldn't it be simpler simply to add an invocation of pyTivo.py to the startup folder and forget about the whole "service" thing.
This works of course but the cmd window needs to always run minimized. I was hoping I could make the install seamless.
tvlandfanJG is offline   Reply With Quote
Old 09-11-2012, 03:03 PM   #8
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 5,008
Quote:
Originally Posted by tvlandfanJG View Post
This works of course but the cmd window needs to always run minimized. I was hoping I could make the install seamless.
Don't you want pyTiVo to run minimized?
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 09-11-2012, 03:12 PM   #9
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 5,008
Quote:
Originally Posted by ThAbtO View Post
My pytivo is running as service and stays active the next time the PC is powered up.
No one has said that it wouldn't. I just see no reason to do so, especially under these circumstances.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 09-11-2012, 03:29 PM   #10
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by lpwcomp View Post
Don't you want pyTiVo to run minimized?
Yes. I'm just thinking that a number of people use this computer. Running pyTivo as a service eliminates the possibility that they accidentally close the program rather than leave it minimized on the taskbar.
tvlandfanJG is offline   Reply With Quote
Old 09-11-2012, 03:38 PM   #11
jrtroo
User
 
Join Date: Feb 2008
Posts: 2,377
Well- running it as a service is handy if you have it installed on WHS. Putting pyTivo into the startup folder in WHS does not work. I can reboot my box and not have to log back in again to start it separately.
__________________
TiVo Owner
jrtroo is offline   Reply With Quote
Old 09-11-2012, 03:46 PM   #12
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 5,008
Quote:
Originally Posted by tvlandfanJG View Post
Yes. I'm just thinking that a number of people use this computer. Running pyTivo as a service eliminates the possibility that they accidentally close the program rather than leave it minimized on the taskbar.
Ok. I understand. Not sure I agree with it, but it's not my call and you know the specific situation far better than I do.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 09-11-2012, 03:48 PM   #13
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by jrtroo View Post
Well- running it as a service is handy if you have it installed on WHS. Putting pyTivo into the startup folder in WHS does not work. I can reboot my box and not have to log back in again to start it separately.
WHS?

Forgive me, I'm lost regarding this project.
tvlandfanJG is offline   Reply With Quote
Old 09-11-2012, 03:57 PM   #14
lpwcomp
Registered User
 
Join Date: May 2002
Location: John's Creek, Georgia
Posts: 5,008
Quote:
Originally Posted by tvlandfanJG View Post
WHS?

Forgive me, I'm lost regarding this project.
Windows Home Server

Google is your friend.
__________________
James L. Sutherland
"You know TiVo users. Bunch of b****y little girls" TiVoAxe

"Jessica Fletcher visits Midsomer. Carnage ensues!"
lpwcomp is offline   Reply With Quote
Old 09-11-2012, 06:36 PM   #15
HerronScott
Registered User
 
Join Date: Jan 2002
Location: Staunton, VA
Posts: 881
Quote:
Originally Posted by tvlandfanJG View Post
From cmd I went to my pyTivo directory and I ran

pyTivoService.py -startup auto install

I got this response...

Traceback (most recent call last):
File "C:\pytivo\pyTivoService.py", line 5, in <module>
import win32event
ImportError: No module named wine32event
What file did you download from he Python for Windows extensions Sourceforge site. I'm asking as you originally asked where you should should extract pywin32 to. The installer (executable) should automatically find your Python install folder from the registry and prompt you to install to that location by default which you should accept.

Scott
HerronScott is offline   Reply With Quote
Old 09-12-2012, 06:58 AM   #16
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by HerronScott View Post
What file did you download from he Python for Windows extensions Sourceforge site. I'm asking as you originally asked where you should should extract pywin32 to. The installer (executable) should automatically find your Python install folder from the registry and prompt you to install to that location by default which you should accept.

Scott
python-2.7.3.msi (python.org description 'Python 2.7.3 Windows Installer')

For pywin32 I used Build 217, pywin32-217.zip.

It appeared that consensus was to go with 32 bit. I'm running Windows 7. Do I need to re-install using the 64 bit options?

Thanks.
tvlandfanJG is offline   Reply With Quote
Old 09-12-2012, 01:56 PM   #17
Jonathan_S
Registered User
 
Jonathan_S's Avatar
 
Join Date: Oct 2001
Location: Northern Virginia
Posts: 13,524
Quote:
Originally Posted by tvlandfanJG View Post
From cmd I went to my pyTivo directory and I ran

pyTivoService.py -startup auto install

I got this response...

Traceback (most recent call last):
File "C:\pytivo\pyTivoService.py", line 5, in <module>
import win32event
ImportError: No module named wine32event
Which is what happens if you don't have pywin32 installed. (Just made that mistake the other day after rebuilding my PC)

Found the correct version of pywin32, did a right-click; 'runas administrator' on the installer exectuable and accepted the defaults.

Then I was able to correctly install pytivo as a service from the command line.
__________________
Xbox: MetalThreshkeen -- PSN: Threshkeen
TiVo Elite
Jonathan_S is offline   Reply With Quote
Old 09-12-2012, 07:58 PM   #18
HerronScott
Registered User
 
Join Date: Jan 2002
Location: Staunton, VA
Posts: 881
Quote:
Originally Posted by tvlandfanJG View Post
python-2.7.3.msi (python.org description 'Python 2.7.3 Windows Installer')

For pywin32 I used Build 217, pywin32-217.zip.

It appeared that consensus was to go with 32 bit. I'm running Windows 7. Do I need to re-install using the 64 bit options?

Thanks.
You didn't download the pywin32 executable installer. Per the pyTivo Windows install instructions:

* Select the version that matches your installed Python version. Ex: If you installed Python 2.7 32bit then download pywin32.win32-py2.7.exe

Go back to here - http://sourceforge.net/projects/pywi...2/Build%20217/

And download - pywin32-217.win32-py2.7.exe.

Run that and accept the defaults and then you should be able to run the pyTivo service install command line.

Scott
HerronScott is offline   Reply With Quote
Old 09-14-2012, 08:57 AM   #19
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by HerronScott View Post
You didn't download the pywin32 executable installer. Per the pyTivo Windows install instructions:

* Select the version that matches your installed Python version. Ex: If you installed Python 2.7 32bit then download pywin32.win32-py2.7.exe

Go back to here - http://sourceforge.net/projects/pywi...2/Build%20217/

And download - pywin32-217.win32-py2.7.exe.

Run that and accept the defaults and then you should be able to run the pyTivo service install command line.

Scott
Thanks Scott. I got the service running Unfortunately, when I run pytivo as a service the contents of my three folders (video shares) disappear. I can see the three folders on all 4 tivos but the folders appear empty. When I remove the pytivo service and run it at the command line the content of my folders is visible.

I found one thread concerning this problem but the suggested solution regarding permissions didn't work for me.

http://pytivo.sourceforge.net/forum/...-t1820-15.html

Has anyone solved the empty folder problem?
tvlandfanJG is offline   Reply With Quote
Old 09-14-2012, 09:20 AM   #20
tvlandfanJG
Registered User
 
Join Date: Dec 2001
Location: Clearwater, FL
Posts: 35
Quote:
Originally Posted by tvlandfanJG View Post
Thanks Scott. I got the service running Unfortunately, when I run pytivo as a service the contents of my three folders (video shares) disappear. I can see the three folders on all 4 tivos but the folders appear empty. When I remove the pytivo service and run it at the command line the content of my folders is visible.

I found one thread concerning this problem but the suggested solution regarding permissions didn't work for me.

http://pytivo.sourceforge.net/forum/...-t1820-15.html

Has anyone solved the empty folder problem?
I tried entering my router's ip address in the 'beacon:' Global Server Settings and then I tried entering one of my tivo's ip address in the 'beacon:' box. Neither switch solved the problem.
tvlandfanJG is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoģ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 11:23 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |