Hello listers,
I'm following the tutorial for Pythoncard and this is t=
he process that led me to this bug.
My configuration is MacOs X 10.4.1=
, python 2.4.1, wxPython 2.6.1.0 and PythonCard 0.8
1) copy the Python=
Card/samples/minimal folder somewhere
2) rename it to "counter" and re=
name counter/minimal.py to counter/counter.py and counter/minimal.rsrc.py=
to counter/counter/counter.rsrc.py
3) launch ResourceEditor
4) in =
resourceEditor, open counter/minimal.rsrc.py
here's the bug. It's not =
a crash but nothing happens and in the terminal session from which I laun=
ched ResourceEditor I read:
Traceback (most recent call last):
File=
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pa=
ckages/PythonCard/menu.py", line 205, in _dispatch
handler(backgroun=
d, aWxEvent)
File "/Library/Frameworks/Python.framework/Versions/2.4/l=
ib/python2.4/site-packages/PythonCard/tools/resourceEditor/resourceEditor=
.py", line 1052, in on_menuFileOpen_select
self.doOpenFile()
File=
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-pa=
ckages/PythonCard/tools/resourceEditor/resourceEditor.py", line 1033, in =
doOpenFile
self.openFile(result.paths[0])
File "/Library/Framewor=
ks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PythonCard/t=
ools/resourceEditor/resourceEditor.py", line 1007, in openFile
self.=
resetAndClearWidgets()
File "/Library/Frameworks/Python.framework/Vers=
ions/2.4/lib/python2.4/site-packages/PythonCard/tools/resourceEditor/reso=
urceEditor.py", line 1001, in resetAndClearWidgets
self.propertyEdit=
orWindow.clearComponentList()
AttributeError: 'ResourceEditor' object ha=
s no attribute 'propertyEditorWindow'
Thanks
Bye
Adriano
=0A=0A=
=0A=0A____________________________________________________________=0A6X v=
elocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!=0AScar=
icalo su INTERNET GRATIS 6X http://www.libero.it=0A
|