[python-win32] InstallService TypeError: exceptions must be classes or instances not str
James Mills
prologic at shortcircuit.net.au
Mon Feb 7 07:09:26 CET 2011
Hello all,
I've been trying to build a simple prototype Windows Services
but am running into a problem when trying to install it.
Running:
$ test_service.exe install
Produces the following error:
ERROR: exceptions must be classes or instances, not str
Traceback (most recent call last):
File "service.pyc", line 71, in install_service
File "win32serviceutil.pyc", line 295, in InstallService
File "win32serviceutil.pyc", line 83, in LocatePythonServiceExe
TypeError: exceptions must be classes or instances, not str
Now. We are using the latest version of pywin32 (214)
for Python 2.6.x
We tried deleting the *.pyc files in C:\Python26\Lib\ to no avail..
The code is here:
https://bitbucket.org/prologic/circuits/src/5e17015df110/tmp/win32_service/
I'd appreciate any insight into this as my own research
into this problem has yielded nothing positive so far.
Thanks,
cheers
James
--
-- James Mills
--
-- "Problems are solved by method"
More information about the python-win32
mailing list