Thanks Kevin, That does the trick!
Thanks again. Rob On Mar 7, 2006, at 8:10 AM, Kevin Ollivier wrote: > Hi Rob, > > On Mar 7, 2006, at 7:51 AM, Rob J Goedman wrote: > >> Hi, >> >> I'm new to Python. For a biometrix application I am investigating >> python or java (right >> now its in VB). >> >> Earlier this morning I installed (on OS 10.4.5) the latest version of >> MacPython-OSX-2.4.1, >> the Mac fix (TigerPython24Fix-r2) and wxPython2.6-osx- >> unicode-2.6.2.1- >> macosx10.3-py2.4. >> >> Most things work great (including the wxPython Demo.app), but double >> clicking demo.pyw >> or pySketch.py (and I guess several others) produces below error >> message. >> >> Any hints? > > I suspect what is happening is that Python Launcher is using the > system Python 2.3 installation instead of the Python 2.4 one you > installed. Do a Get Info on the demo.pyw file and see if it says > PythonLauncher (2.3.5) as the default app to open that file. If it > does, try changing it to PythonLauncher (PythonLauncher version > 0.1) and see if that helps. > > Kevin > >> Thanks, >> Rob >> >> >> >> Traceback (most recent call last): >> File "/Users/rob/Projects/Python/Samples/samples/pySketch/ >> pySketch.py", line 2634, in ? >> main() >> File "/Users/rob/Projects/Python/Samples/samples/pySketch/ >> pySketch.py", line 2629, in main >> _app = SketchApp(0) >> File "/BinaryCache/wxWidgets/wxWidgets-2.root~174/System/Library/ >> Frameworks/Python.framework/Versions/2.3/Extras/lib/python/wx-2.5.3- >> mac-unicode/wx/_core.py", line 5301, in __init__ >> File "/BinaryCache/wxWidgets/wxWidgets-2.root~174/System/Library/ >> Frameworks/Python.framework/Versions/2.3/Extras/lib/python/wx-2.5.3- >> mac-unicode/wx/_core.py", line 4980, in _BootstrapApp >> File "/Users/rob/Projects/Python/Samples/samples/pySketch/ >> pySketch.py", line 2599, in OnInit >> frame = DrawingFrame(None, -1, "Untitled") >> File "/Users/rob/Projects/Python/Samples/samples/pySketch/ >> pySketch.py", line 218, in __init__ >> wx.ArtProvider.GetBitmap(wx.ART_NEW, wx.ART_TOOLBAR, tsize), >> AttributeError: 'module' object has no attribute 'ART_NEW' >> >> _______________________________________________ >> Pythonmac-SIG maillist - Pythonmac-SIG@python.org >> http://mail.python.org/mailman/listinfo/pythonmac-sig > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig