[python-win32] Event log exception reporting with services

Chris Mellon arkanes at gmail.com
Thu Apr 5 19:20:15 CEST 2007


Yes, there both installed from the stock python.org installers and
"for all users" by an admin user.

Update - it's working for my own services now, too. I rebooted last
night to install patches, perhaps there was a bad message dll or
something was stuck in memory.

On 4/5/07, Mark Hammond <mhammond at skippinet.com.au> wrote:
> I can't reproduce this.  If I change win32\Demos\service\pipeTestService.py
> to raise an error in the SvcDoRun() function, after starting the service I
> see the exception in the event log.  Were both 2.4 and 2.5 installed with
> admin rights?
>
> Mark
>
> > -----Original Message-----
> > From: python-win32-bounces at python.org
> > [mailto:python-win32-bounces at python.org]On Behalf Of Chris Mellon
> > Sent: Thursday, 5 April 2007 1:47 AM
> > To: python-win32 at python.org
> > Subject: [python-win32] Event log exception reporting with services
> >
> >
> > The servicemanager implementation writes an entry into the windows
> > error log when an exception causes a service to drop out of DoRun.
> > This works great with Python2.4, but with Python 2.5 I don't get the
> > error messages. I'm using the prebuilt installers from the SF site,
> > version 210 for both. This affects both py2exed executables and when
> > running via PythonService.exe.
> >
> > I'm pretty lost on what the problem might be, does anyone
> > have any suggestions?
> > _______________________________________________
> > Python-win32 mailing list
> > Python-win32 at python.org
> > http://mail.python.org/mailman/listinfo/python-win32
> >
>
>


More information about the Python-win32 mailing list