[python-win32] win32com.client.WithEvents fails when running as a Windows service

2021-03-06 Thread Marius Cirsta
Hi, I'm trying to automate CANoe using win32com. I've written a script that works perfectly when I log in and run it as a normal user. I want to run it from a Jenkins service though and I have allowed the Jenkins service to interact with desktop or whatever that option is called. This runs jus

Re: [python-win32] win32com.client.WithEvents fails when running as a Windows service

2021-03-06 Thread Tim Roberts
On Mar 6, 2021, at 6:43 AM, Marius Cirsta wrote: > > I'm trying to automate CANoe using win32com. I've written a script that > works perfectly when I log in and run it as a normal user. > ... > When being run as a service though I get this error: > > Traceback (most recent call last): > File