[python-win32] bad W32 logfiles cause win32evtlog to exit without an error
Ben Vinger
benvinger at yahoo.co.uk
Thu Feb 16 17:55:38 CET 2006
Hello
I've modified John Nielsen's code (see
http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/Windows_NT_Eventlog.html)
to read and summarize the eventlogs of dozens of
servers.
When the script (running on W2K) connects to one or
two of these NT servers, it exits without any
traceback. (It works fine on many other NT, W2K and
w2003 servers)
I used to run the same script on an NT server, and it
caused a Dr Watson error when accessing these "bad"
eventlogs.
I can get past the problem by clearing the eventlogs
on the server in question, but I would like to trap
the problem automatically when occurs, so something
automated can happen when this occurs.
Thanks
Ben
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
More information about the Python-win32
mailing list