Re: [python-win32] Thread won't run in service

2005-03-18 Thread wyvernlist
Hi David, Thanks for your reply. That could be it but I'm unable to check on my development machine (a laptop running XP Home) as the local security policy option does not exist. I'll try it on the server itself. I can actually write entries to the event log with the service, it's just that the

Re: [python-win32] Thread won't run in service

2005-03-17 Thread David Rushby
Does the thread actually not run, or does it run, but lack the right to write files, raise an exception that you have no way of detecting, and exit? If you install the service as an administrative user who has the "Log on as a service" right (in Control Panel -> Administrative Tools -> Local Secur

[python-win32] Thread won't run in service

2005-03-17 Thread wyvernlist
Hi, I'm writing an event log monitor that will run as a service, and to do that I'm going to follow the advice someone gave me on this list earlier and implement a producer/consumer model, where one thread listens for new event log entries and pushes them onto a Queue, and the second thread rea