From: <kc1...@ya...> - 2006-11-05 15:38:40
|
You need to include all of the resource files in your py2exe configuration = files - not just the .c files.=0A=0A=0A=0A****************************=0A= =0AI am trying to use py2exe to create a exe file for my program. I get the= =0Afollowing errors:=0A=0ATraceback (most recent call last):=0A File "LBV.= py", line 581, in <module> =0A File "PythonCard\model.pyc", line 366, in _= _init__=0A File "PythonCard\resource.pyc", line 45, in __init__=0A File "= PythonCard\util.pyc", line 39, in readAndEvalFile=0ATypeError: coercing to = Unicode: need string or buffer, NoneType found=0ATraceback (most recent cal= l last):=0A File "LBV.py", line 587, in <module> =0A File "PythonCard\mod= el.pyc", line 366, in __init__=0A File "PythonCard\resource.pyc", line 45,= in __init__=0A File "PythonCard\util.pyc", line 39, in readAndEvalFile=0A= TypeError: coercing to Unicode: need string or buffer, NoneType found=0A=0A= Does anybody recognize error and know how to fix it?=0A=0AThanks=0A=0A-- = =0Aefil si doog =0A--=0AJohn Henry=0A=0A |