app runs fine with interpreter, but not under py2exe

Doug Morse morse at edoug.org
Tue Mar 11 23:05:07 EDT 2008


Hi,

I have an application that runs just fine using the standard Python distro
interpreter (v2.5.1 on WinXP) but throws the following exception when run as
an executable built with py2exe.  My questions are: (a) does anyone have any
thoughts on why this exception is occurring and what to do about it, and (b)
more generally, why would a problem like this occur under py2exe but not with
the standard distro?

Thanks in adavance for any and all help.

Cheers,
Doug


Traceback (most recent call last):
  File "VisionTrainer.py", line 49, in <module>
  File "SessionController.pyc", line 53, in <module>
  File "VisionEgg\__init__.pyc", line 42, in <module>
  File "VisionEgg\ParameterTypes.pyc", line 28, in <module>
  File "Numeric.pyc", line 93, in <module>
  File "Precision.pyc", line 26, in <module>
  File "Precision.pyc", line 23, in _fill_table
  File "Precision.pyc", line 18, in _get_precisions
TypeError: data type not understood



More information about the Python-list mailing list