[python-win32] Re: py2exe runtime problem...

Eric Walstad eric at ericwalstad.com
Thu May 22 10:12:49 EDT 2003


Hi Thomas,

Thomas Heller wrote:
> Before I further look into this, two questions:
> - Is the sqlite.dll which causes the problem a Python extension module,
> or is it a DLL needed by a Python module?
sqlite.dll is used by the Python module pysqlite (version 0.4.1, if it 
matters).


> - Did you try building with py2exe version 0.3.4?
Yes, I just tried building with version 0.3.4 and I get another 
"IOError: invalid mode:"  The trace back has changed a bit because I 
changed the structure of my code, but it appears to be failing at the 
same point.  Traceback is below.

Any other ideas?

Thanks a million.

Eric.

Traceback (most recent call last):
   File "<string>", line 9, in ?
   File "imputil.pyc", line 103, in _import_hook
   File "<string>", line 52, in _import_top_module
   File "imputil.pyc", line 216, in import_top
   File "imputil.pyc", line 271, in _import_one
   File "<string>", line 128, in _process_result
   File "Aggregator.pyc", line 8, in ?
     Aggregator.py
   File "imputil.pyc", line 103, in _import_hook
   File "<string>", line 52, in _import_top_module
   File "imputil.pyc", line 216, in import_top
   File "imputil.pyc", line 271, in _import_one
   File "<string>", line 128, in _process_result
   File "Serializer.pyc", line 4, in ?
     Ns
   File "imputil.pyc", line 103, in _import_hook
   File "<string>", line 52, in _import_top_module
   File "imputil.pyc", line 216, in import_top
   File "imputil.pyc", line 267, in _import_one
   File "<string>", line 161, in get_code
IOError: invalid mode:




More information about the Python-win32 mailing list