[pywin32-bugs] [ pywin32-Bugs-959449 ] Error when using IID in all builds after 159
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-05-24 13:54:06
|
Bugs item #959449, was opened at 2004-05-24 15:54 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=959449&group_id=78018 Category: com Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jan Erik Breimo (jebreimo) Assigned to: Nobody/Anonymous (nobody) Summary: Error when using IID in all builds after 159 Initial Comment: The following script: import win32com.client.gencache Excel = win32com.client.gencache.EnsureModule ('{00020813-0000-0000-C000-000000000046}', 0, 1, 4) excel = Excel.Application() and simliar scripts that use other servers always fail as follows in builds 161, 163 and 201: D:\ws\k2is_source.CC-V2\Tools\Python\diverse>python ExcelTest.py Traceback (most recent call last): File "ExcelTest.py", line 3, in ? excel = Excel.Application() File "C:\Python23\Lib\site- packages\win32com\client\__init__.py", line 489, in __init__ if oobj is None: oobj = pythoncom.new(self.CLSID) TypeError: Only strings and iids can be converted to a CLSID. In builds 153, 155 and 159 the scripts run without errors. I'm using Python 2.3.3 on Win2k Professional SP 4 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=959449&group_id=78018 |