Bugs item #766880, was opened at 2003-07-07 10:21
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=766880&group_id=78018
Category: com
Group: v1.0 (example)
>Status: Closed
>Resolution: Fixed
Priority: 9
Submitted By: Viktor Ferenczi (complex)
Assigned to: Nobody/Anonymous (nobody)
Summary: importing win32com.client causes python to crash
Initial Comment:
Windows XP Professional SP1 - English
.NET framework not installed
python-2.2.3
win32all-152
Open an interactive python session, then execute the
following import statement:
import win32com.client
This causes the python interpreter to crash
with "memory could not be read" error (system error
dialog appears).
Google search: +"import win32com.client" +crash
Tons of error reports can be found. Strange, sometimes
unpredictable behaviour reported. This bug (?) broke
significant part of existing win32all codebase. Some
forum posts suggested, that win32all-150 with python-
2.2.2 did not crash (this is a "workaround", but should
be tested).
- Complex -
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2003-07-12 22:55
Message:
Logged In: YES
user_id=14198
Fixed in 154 and 155.
----------------------------------------------------------------------
Comment By: Viktor Ferenczi (complex)
Date: 2003-07-07 10:42
Message:
Logged In: YES
user_id=142612
Using from win32com.client import ... raises a regular Python
exception with the same meaning:
Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> from win32com.client import Dispatch
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python22\lib\site-
packages\win32com\client\__init__.py", line 12, in
?
import dynamic, gencache, pythoncom
File "C:\Python22\lib\site-
packages\win32com\client\dynamic.py", line 22, in ?
import pythoncom
File "C:\Python22\lib\site-packages\pythoncom.py", line 18,
in ?
__import("pythoncom")
File "C:\Python22\lib\site-packages\pythoncom.py", line 10,
in __import
h = win32api.LoadLibrary(filename)
pywintypes.error: (998, 'LoadLibrary', 'Invalid access to
memory location.')
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=766880&group_id=78018
|