From: Tony C. <acl...@ya...> - 2009-05-21 07:12:35
|
Hi I recently upgraded to Python 2.5 , on Mac OSX 10.5.5 ResourceEditor.py won't open for me now, using PythonCard 0.8.2 - traceback is: Traceback (most recent call last): File "/BinaryCache/wxWidgets/wxWidgets-11~262/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py", line 14095, in <lambda> File "resourceEditor.py", line 138, in on_initialize self.propertyEditorWindow = model.childWindow(self, PropertyEditor) File "/Library/Python/2.5/site-packages/PythonCard/model.py", line 213, in childWindow rsrc = resource.ResourceFile(filename).getResource() File "/Library/Python/2.5/site-packages/PythonCard/resource.py", line 45, in __init__ self.dictionary = util.readAndEvalFile(rsrcFileName) File "/Library/Python/2.5/site-packages/PythonCard/util.py", line 39, in readAndEvalFile f = open(filename) TypeError: coercing to Unicode: need string or buffer, NoneType found Any ideas? Apologies if this isn't the right forum. Tony |