Re: [python-win32] PythonService.exe and Windows Server 2003

2006-02-06 Thread Mark Hammond



Do you 
have the complete traceback?  This is from an event-log message, so if this 
is a call you are making, it may be that something is wrong with the params (eg, 
the inserts).  This will not fail in "debug" mode as debug mode makes no 
attempt to actually write such entries to the log - it just prints 
them.
 
In 
general though, services should catch errors writing to the log - they are 
common when the log gets full.  I guess I should update the samples to 
reflect that...
 
Mark.

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On 
  Behalf Of mark mclarnonSent: Tuesday, 7 February 2006 7:48 
  AMTo: Mark HammondCc: 
  python-win32@python.orgSubject: Re: [python-win32] 
  PythonService.exe and Windows Server 2003Mark:I 
  appreciate the resposne, I have the exact text of the error message in case 
  this helps anyone else out in the 
  future:pywintypes.error:(1783,'RegisterEventSource/ReportEvent','The 
  stub recieved bad data') Mark
  On 2/5/06, Mark 
  Hammond <[EMAIL PROTECTED]> 
  wrote:
  > 
From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]On 
Behalf Of mark mclarnon> I didnt record the error code that was 
associated with the message but was> wondering, has anyone had 
problems with PythonService.exe and Windows 
2003>  Server?I'm afraid I haven't heard anything 
similar - but I have personally had no problems with services on Windows 
Server 2003.Sorry I can't be more 
  help...Mark
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] PythonService.exe and Windows Server 2003

2006-02-06 Thread mark mclarnon
Mark:I appreciate the resposne, I have the exact text of the error message in case this helps anyone else out in the future:pywintypes.error:(1783,'RegisterEventSource/ReportEvent','The stub recieved bad data')
MarkOn 2/5/06, Mark Hammond <[EMAIL PROTECTED]> wrote:
> From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]On Behalf Of mark mclarnon
> I didnt record the error code that was associated with the message but was> wondering, has anyone had problems with PythonService.exe and Windows 2003>  Server?I'm afraid I haven't heard anything similar - but I have personally had no
problems with services on Windows Server 2003.Sorry I can't be more help...Mark
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] PythonService.exe and Windows Server 2003

2006-02-04 Thread Mark Hammond
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of mark mclarnon

> I didnt record the error code that was associated with the message but was
> wondering, has anyone had problems with PythonService.exe and Windows 2003
>  Server?

I'm afraid I haven't heard anything similar - but I have personally had no
problems with services on Windows Server 2003.

Sorry I can't be more help...

Mark


___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


[python-win32] PythonService.exe and Windows Server 2003

2006-02-04 Thread mark mclarnon
I have a class which was configured to start as a service (using an external PY file) under Windows 2000 Server. It started/stopped just fine on Win2k but when trying to start it on Windows 2003 Server I get an error that reports a message like "the stub recieved bad data". 
I can start this class manually from the command line but obviously I want it to start as a service. I didnt record the error code that was associated with the message but was wondering, has anyone had problems with 
PythonService.exe and Windows 2003 Server?I was running ActiveState Python 2.4.1 and upgraded to 2.4.2 yesterday but that did not help the issue. I even manaully upgraded the pywin32 package also to no avail.
Mark
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32