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 

pyTivo Windows service error @ SS

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



Joined: 05 Mar 2009
Posts: 3

PostPosted: Sat May 02, 2009 3:46 am    Post subject: pyTivo Windows service error @ SS Reply with quote

Hey All,
I'm running wmcbrine's fork and all is working well, except for the Windows Service. I can start the service using a console but not through a windows service which I'd prefer. I registered it and had it working initially but something happened recently. When starting the service I receive this error
"The pytivo service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts Service."

Here is the error that gets logged in the Event Viewer.

Code:
The instance's SvcRun() method failed
Traceback (most recent call last):
  File "C:\Program Files\Python26\lib\site-packages\win32\lib\win32serviceutil.py", line 805, in SvcRun
    self.SvcDoRun()
  File "E:\Tivo\pyTivo\wmcbrine\pyTivoService.py", line 23, in SvcDoRun
    config.init_logging()
  File "E:\Tivo\pyTivo\wmcbrine\config.py", line 364, in init_logging
    elif getDebug():
  File "E:\Tivo\pyTivo\wmcbrine\config.py", line 156, in getDebug
    return config.getboolean('Server', 'debug')
  File "C:\Program Files\Python26\lib\ConfigParser.py", line 349, in getboolean
    v = self.get(section, option)
  File "C:\Program Files\Python26\lib\ConfigParser.py", line 531, in get
    raise NoSectionError(section)
NoSectionError: No section: 'Server'
%2: %3


Here is my pyTivo.conf file

Code:

[_tivo_SD]

[Videos]
precache = True
type = video
path = E:\Videos

[Admin]
togo_path = E:\Tivo
tivo_mak = **********
type = admin

[Server]
tivo_password = **********
ffmpeg = E:\Tivo\pyTivo\ffmpeg\ffmpeg.exe
beacon = 192.168.1.100
hack83 = true
tivo_username = **********
port = 9032

[Tivo]
precache = True
type = video
path = E:\Tivo

[_tivo_HD]



I'd appreciate any help I can get. Thanks guys.
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2627
Location: Maryland

PostPosted: Sat May 02, 2009 4:24 am    Post subject: Reply with quote

OK, I think I've fixed the problem in my repo. Thanks for reporting it. However, I haven't tested the fix. (I'm assuming here that you were running a recent version -- from April 2nd or later.) Unfortunately, pyTivoService.py is not well-tested or maintained; I don't use it myself, nor is it used in the main "Windows Installers" for some reason.
_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
mzaiderman



Joined: 05 Mar 2009
Posts: 3

PostPosted: Sat May 02, 2009 4:54 am    Post subject: Reply with quote

Awesome!
New v. works well.

Thanks William for your help and the quick fix! Appreciate all that you do. Love the new multiple checkbox processing feature.
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.0567s ][ Queries: 12 (0.0070s) ][ GZIP on - Debug on ]