I've have success to compile _PythonCard-0.8.2.win32_
sample programs with _py2exe_ but these programs
doesn't run because the trouble below:
/
Minimal.exe.log/
Traceback (most recent call last):
File "minimal.py", line 14, in ?
File "PythonCard\model.pyc", line 366, in __init__
File "PythonCard\resource.pyc", line 45, in __init__
File "PythonCard\util.pyc", line 39, in
readAndEvalFile
TypeError: coercing to Unicode: need string or buffer,
NoneType found
py2exe version = 0.6.5.win32-py2.4
wxPython version = 2.7-win32-2.7.1.3-py24
Python version = 2.4.4
Minimal.py error details:
Traceback (most recent call last):
File "minimal.py", line 14, in ?
comand line -> app = model.Application(Minimal)
File "PythonCard\model.pyc", line 366, in __init__
comand line -> self.resource = resource.ResourceFile
(aFileName).getResource()
File "PythonCard\resource.pyc", line 45, in __init__
comand line -> self.dictionary = ReadAndEvalFile
(rsrcFileName)
File "PythonCard\util.pyc", line 39, in
readAndEvalFile
comand line -> f = open(filename)
TypeError: coercing to Unicode: need string or buffer,
NoneType found
from fxl@onda.com.br
Nobody/Anonymous ( nobody ) - 2006-11-07 10:14
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2009-04-20 21:46 Your compiled application is lacking the resource fil (minimal.rsrc.py). |
|
Date: 2007-06-28 16:17 Logged In: NO |