| | |
How to use wxPython demo
![]() |
•
•
Join Date: Dec 2006
Posts: 28
Reputation:
Solved Threads: 0
Hi I know this sounds really stupid, but I cannot figure out how to run the wxPython demo program. I'm using OS X and I downloaded the latest demo/docs package. When I double click on the "wxPytho demo.app", there is a splash screen with the wxPython logo, but then there is nothing. There is no window to see or click on. The menu has only one item outside of the default OS X ones, this being the quit item. I went into the sample folder and tried to run the "demo.pyw". The result was the same. I ran "Main.py" and the same thing happened again except that I got the following error in the console:
I know that this cannot be difficult and I must be overlooking something simple, but I just don't get it. Any ideas? Thanks.
Python Syntax (Toggle Plain Text)
Last login: Sun Apr 1 00:03:25 on ttyp3 Welcome to Darwin! hai-trans-powerbook-g4-15:~ haitran$ "/Library/Frameworks/Python.framework/Versions/2.4/bin/python" "/Volumes/wxPython2.8-osx-docs-demos-2.8.3.0-universal10.4-py2.5/Samples/demo/Main.py" && echo Exit status: $? && exit 1 Traceback (most recent call last): File "//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac-unicode/wx/_misc.py", line 1286, in Notify self.notify() File "//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac-unicode/wx/_core.py", line 13637, in Notify self.result = self.callable(*self.args, **self.kwargs) File "/Volumes/wxPython2.8-osx-docs-demos-2.8.3.0-universal10.4-py2.5/Samples/demo/Main.py", line 1798, in ShowMain frame = wxPythonDemo(None, "wxPython: (A Demonstration)") File "/Volumes/wxPython2.8-osx-docs-demos-2.8.3.0-universal10.4-py2.5/Samples/demo/Main.py", line 1275, in __init__ self.filter = wx.SearchCtrl(leftPanel) AttributeError: 'module' object has no attribute 'SearchCtrl'
I know that this cannot be difficult and I must be overlooking something simple, but I just don't get it. Any ideas? Thanks.
![]() |
Similar Threads
- Problem with wx.TreeCtrl (Python)
- wxpython gdk error on fedora 5 (fc5) (Python)
- starting boa-constuctor (Python)
- Instal of wxPython (Python)
Other Threads in the Python Forum
- Previous Thread: Help with rewriting a program
- Next Thread: Tkinter interface
| Thread Tools | Search this Thread |
abrupt ansi anti apache approximation array assignment avogadro backend beginner binary bluetooth book builtin calculator character code converter countpasswordentry curved customdialog dan08 dictionaries dictionary dynamic examples exe file float format function gnu graphics gui heads homework ideas import inches input java launcher library line lines linux list lists loop mouse mysqlquery number numbers numeric output parsing path phonebook plugin pointer port prime programming progressbar projects py2exe pygame python random recursion redirect scrolledtext software statictext statistics string strings sum table terminal text textarea thread threading time tlapse trick tricks tuple tutorial twoup ubuntu unicode urllib urllib2 variable wordgame write wxpython xlib






