[pywin32-bugs] Python COM Server Internal Error
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: klo uo <kl...@gm...> - 2012-10-07 08:37:19
|
Hi, I ported small script which works without issues in regular Python (2.7 on Windows XP) but raises this error when run from application automation (using ActiveX obviously), and I can't understand what it wants to tell me: ======================================== -2147352567, 'Exception occurred.', (0, u'Python COM Server Internal Error', u'Unexpected Python Error: Traceback (most recent call last): File "C:\\Python27\\lib\\site-packages\\win32com\\server\\policy.py", line 324, in _InvokeEx_ return self._invokeex_(dispid, lcid, wFlags, args, kwargs, serviceProvider) File "C:\\Python27\\lib\\site-packages\\win32com\\server\\policy.py", line 585, in _invokeex_ return func(*args) File "C:\\Python27\\lib\\site-packages\\win32comext\\axscript\\client\\framework.py", line 580, in SetScriptSite self.lcid = site.GetLCID() AttributeError: \'NoneType\' object has no attribute \'GetLCID\' ', None, 0, -2147352571), 3) ======================================== Thanks |