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.

{5} Accepted, Active Tickets by Owner (Full Description) (8 matches)

List tickets accepted, group by ticket owner. This report demonstrates the use of full-row display.

p.zivkovic (8 matches)

Ticket Summary Component Milestone Type Created
Description
#9 The _imaging C module is not installed libraries Portable Python 2.7.2.1 defect 09/17/09

Now this might be due to some configuration issues or another, but I cannot find a fix for it, and as such, I thought I'd post it. In short, when I try to use the PIL stuff in the PP 2.6 edition I get this, well known, error:

"The _imaging C module is not installed"

I tracked it down somewhat further and couldn't find anything. The code works fine on the non-portable Pythons I have. It's just the import of the PIL. Reinstalling, rebuilding or up- downgrading the PIL modules doesn't help, it happens only on my WinXP boxes, not on my Vista boxes, also, it happens only with the 2.6 edition, not the 2.5 one. The error is explained here :  http://effbot.org/zone/pil-imaging-not-installed.htm But no solution is given. It loads everything fine, but the _imaging module. But, profiling shows that when Image is imported, it actually runs into an error as well, something about a missing manifest and a "missing export in a delay-load dependent module" The full error I get when I profile:

Loaded "_IMAGING.PYD" at address 0x00DB0000.  Successfully hooked 
module. 
LDR: LdrpWalkImportDescriptor() failed to probe h:\pa\portableapps 
\portablepython_1.1_py2.6.1\app\lib\site-packages\PIL\_imaging.pyd for 
its manifest, ntstatus 0xc0150002 
Unloaded "_IMAGING.PYD" at address 0x00DB0000. 
LoadLibraryExA("h:\pa\portableapps\portablepython_1.1_py2.6.1\app\lib 
\site-packages\PIL\_imaging.pyd", 0x00000000, 
LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error: (14001).

#1 Importing the pylab module from matplotlib fails libraries Portable Python 2.7.2.1 defect 05/31/09
>>> import pylab 

Traceback (most recent call last): 
  File "<interactive input>", line 1, in <module> 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\pylab.py", line 1, in <module> 
    from matplotlib.pylab import * 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\matplotlib \pylab.py", line 206, in <module> 
    from matplotlib import mpl  # pulls in most modules 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\matplotlib \mpl.py", line 2, in <module> 
    from matplotlib import axis 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\matplotlib \axis.py", line 9, in <module> 
    import matplotlib.font_manager as font_manager 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\matplotlib \font_manager.py", line 1302, in <module> 
    _rebuild() 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\matplotlib \font_manager.py", line 1294, in _rebuild 
    pickle_dump(fontManager, _fmcache) 
  File "E:\PortablePython_1.1_py2.5.4\App\lib\site-packages\matplotlib \font_manager.py", line 939, in pickle_dump 
    pickle.dump(data, fh) 
IOError: [Errno 2] No such file or directory

It seems the font_maanger module needs to read/write files to the directory returned by

>>> matplotlib.get_configdir()

'H:\\.matplotlib'

which dosen't exist in a portable install.

The location of this directory can be changed with the MPLCONFIGDIR environment variable in a fixed install.

 http://groups.google.com/group/portablepython/browse_frm/thread/3c955ef49ab864a9


#2 Failed import pythoncom libraries Portable Python 2.7.2.1 defect 05/31/09
import pythoncom

Traceback (most recent call last): 
  File "<stdin>", line 1, in <module> 
  File "G:\PortablePython_1.1_py2.6.1\App\lib\site-packages\pythoncom.py", line 2, in <module> 
    import pywintypes 
  File "G:\PortablePython_1.1_py2.6.1\App\lib\site-packages\win32\lib\pywintypes.py", line 107, in <module> 
    __import_pywin32_system_module__("pywintypes", globals()) 
  File "G:\PortablePython_1.1_py2.6.1\App\lib\site-packages\win32\lib\pywintypes.py", line 99, in __import_pywin32_system_module__ 
    "No system module '%s' (%s)" % (modname, filename) 
ImportError: No system module 'pywintypes' (pywintypes26.dll)

 http://groups.google.com/group/portablepython/browse_frm/thread/acfacb783bc39cb7


#4 win32com.client broken in portablepython1.1-2.5.4 libraries Portable Python 2.7.2.1 defect 07/29/09

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.


#8 adodbapi import errors libraries Portable Python 2.7.2.1 defect 09/05/09

when importing adodbapi on 2.6.1, I get the following dialog:

python.exe - Entry Point Not Found

The procedure entry point ?PyWinGlobals_Ensure@@YAHXZ could not
be located in the dynamic link library pywintypes26.dll

#11 Create google docs form for requesting the packages libraries Portable Python 2.7.2.1 task 10/14/09

#5 Portable Python on Linux core system Not scheduled enhancement 08/06/09

Hello,

I'm working for a software company and our products supports both Linux and Windows plateforms. We are now seriously considering using Python as an alternative language to C++. On Windows would like to avoid having our clients to install Python, so we thought about Portable Python be included in our package or included in a dongle (USB) key that also contains some protection software. I just tried Portable Python on a USB key and it worked like a charm. Now, on Linux, Python is usually already installed but it rarely has the same version than we use. Typically RHEL5 comes with Python 2.4, when we use Python 2.6.1. Also it doesn't have wxPython that we used too. So, we thought that Portable Python would be the perfect solution for Linux too, I would say even better than on Linux. We could make sure our clients would always use the Python version we've been testing our software on.

So, what's the status of Portable Python for Linux ?

Many thanks.

Raphael


#14 Investigate how to solve 'Unidentified Publisher' message on some systems core system Portable Python 2.7.2.1 enhancement 01/28/10

Reported by Jeff Knisley

 http://groups.google.com/group/portablepython/browse_thread/thread/7031b089d42c15df?hl=en_US


Note: See TracReports for help on using and creating reports.