Tim,

Thanks for the feedback. Thinking back, I believe that I ran the service
without issue after installing 3.3.0 and pywin32-218, and once satisfied
that everything was working on the new release, went and uninstalled Python
3.2.3 and pywin-217. I think it was THEN that the service wouldn't
function, so I'm (almost) certain that Win 2003 isn't the issue.

JM


On Wed, Jan 23, 2013 at 11:50 AM, Tim Golden <m...@timgolden.me.uk> wrote:

> On 23/01/2013 15:45, Jean Rousseau wrote:
> > Here's the background - platform is Win 2003 Server x86:
> > 1. My test machine was running Python 3.2.3 / pywin32 build 217 and all
> > was well with the service classes that I wrote and tested.
> > 2. I then installed Python 3.3.0 and pywin32 build 218.
> > 3. I uninstalled pywin32-b217 and Python 3.2.3 and deleted the subdirs.
> > 4. Rebooted the server.
> > 5. I copied my service code to the server and installed my service class
> > (ie. <service> install), which completed fine.
> >
> > However, the service fails immediately upon startup with the following
> > failure:
> > /The instance's SvcRun() method failed /
> > /Traceback (most recent call last):/
> > /  File "C:\Python33\lib\site-packages\win32\lib\win32serviceutil.py",
> > line 834, in SvcRun/
> > /    self.ReportServiceStatus(win32service.SERVICE_RUNNING)/
> > /  File "C:\Python33\lib\site-packages\win32\lib\win32serviceutil.py",
> > line 797, in ReportServiceStatus/
> > /    win32service.SetServiceStatus( self.ssh, status)/
> > /tuple: (13, 'SetServiceStatus', 'The data is invalid.') /
> > /%2: %3/
>
> I can run a trivial service successfully with Python 3.3 / pywin32 218
> on Windows 7. So the combination isn't fatal; might be Win2k3, I suppose.
>
> TJG
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to