Opening resource editor with python 2.5
Tony Clarke <[email protected]> Thu, 21 May 2009 00:12:28 -0700 (PDT)
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
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
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users