COM problem .py versus .exe
tim.golden at viacom-outdoor.co.uk
Wed Jun 29 11:00:59 CEST 2005
| Hello again, I put the executable on the "virgin" PC today.
| I am using
| the wmi(b) that you gave me. The error that I am receiving now is:
| File "autoStart.pyc", line 241, in test
| File "wmib.pyc", line 157, in ?
| File "win32com\client\__init__.pyc", line 73, in GetObject
| File "win32com\client\__init__.pyc", line 88, in Moniker
| com_error: (-2147221020, 'Invalid syntax', None, None)
| any thoughts on this error? Thanks again for the help.
Well that's a real pain! Is there any way you can run the
un-py2exed script on the virgin PC. (I guess not, as I
suppose the idea is not to have a Python installation).
Perhaps you could do it with a non-installed Moveable
In any case, what are the differences between
the PC on which it works and the one on which it
doesn't? Win2K vx WinXP?
I'm trying to see if the problem is down to
py2exe, or is to do with something in the module
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
More information about the Python-list