COM problem .py versus .exe
tim.golden at viacom-outdoor.co.uk
Wed Jun 29 14:55:51 CEST 2005
| line 157 is in fact where the traceback says the failure is:
| File "autoStart.py", 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 )
OK; I'm now officially stumped on the WMI front. If the
target machine can't cope with a GetObject ("winmgmts:")
then I'm guessing you're not going to be able to do anything
useful with WMI on it.
Any luck with the GetFileVersionInfo?
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