NAVIGATION
---------------------------------

/ Home
/ Download
/ Roadmap
/ Active tickets
/ Documentation
/ Sponsorship
/ About

If you like Portable Python project and wish to support further development, please consider making a donation.

Donations can be made using a credit card or PayPal account.

Ticket #4 (accepted defect)

Opened 14 months ago

Last modified 14 months ago

win32com.client broken in portablepython1.1-2.5.4

Reported by: lilleyt Owned by: p.zivkovic
Priority: major Milestone: Portable Python 1.2
Component: libraries Version: 1.1
Severity: medium Keywords:
Cc:

Description (last modified by p.zivkovic) (diff)

The command:

import win32com.client

fails with a bad entry point into a dll.

The error message is "The prodecure entry point ?PyWinObject?<insert stuff here> could not be located in the dynamic link library pywintypes25.dll." This pops in a dialog.

In the interpreter, the error message is:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\temp\PortablePython_1.1_py2.5.4\App\lib\site-packages\win32com\__init
__.py", line 6, in <module>
    import pythoncom
  File "D:\temp\PortablePython_1.1_py2.5.4\App\lib\site-packages\pythoncom.py",
line 3, in <module>
    pywintypes.__import_pywin32_system_module__("pythoncom", globals())
  File "D:\temp\PortablePython_1.1_py2.5.4\App\lib\site-packages\win32\lib\pywin
types.py", line 99, in __import_pywin32_system_module__
    "No system module '%s' (%s)" % (modname, filename)
ImportError: No system module 'pythoncom' (pythoncom25.dll)

This module is one of the important reasons I rely on Portable Python. In former editions, this functionality worked.

I've attempted to easy_install pywin32 but can't find an egg. An upgrade to the latest version may be all that is required.

Change History

Changed 14 months ago by p.zivkovic

  • status changed from new to accepted
  • description modified (diff)
Note: See TracTickets for help on using tickets.