From: Yves C. <yve...@pr...> - 2009-11-02 10:14:21
|
Hi there, object : my script crashes when compiled with py2exe but works correctly from the command line (not compiled) I've been asked to make a binary version of our python barcode printing script using py2exe. Our script works well on the command line and or though pyscripter, using python 2.5. When i compile it with py2exe, there is no error nor warning messages and when i execute it, the programs works well until it tries to print the document, using MSWinPrint. This seams to append when it tries to print a generated on the fly picture. is anyone aware about this kind of problem ? Is there any known workaround ? I include the traceback at the end of this mail. If you need other detailed informations, let me know what is needed. Best reguards, Yves Traceback (most recent call last): File "printetiq.py", line 14, in <module> ( main module used to loop calls) File "fmlayout.pyc", line 148, in main ( GUI module used to collect data and launch prints) File "MSWinPrint.pyc", line 196, in image (print library) File "PIL\ImageWin.pyc", line 74, in __init__ File "PIL\ImageWin.pyc", line 151, in paste SystemError: _imaging.c:214: bad argument to internal function |