Fresh install of wxPython on a Win2K box, running Python 2.2 here. My first
act after installing and reading the README was to run the demo and poke
around. But I pulled the following error instead. It flashes some snazzy
little window across the screen for an instant, but it's too quick to say
what it might be.
<snip>
NameError: global name 'True' is not defined
I've snooped around a bit to see if anything stuck out as odd in the source
files, but nothing grabs me aside from the fact that I imagine __WXMAC__ to
be a Macintosh reference. I'd welcome any helpful feedback.
I ran into a problem somewhat like this. A couple of things to do:
1) make sure that the wxPython version that you have matches the
version of Pythin that you're using.
2) run your program #python -i <your_program>
This keeps the window alive long enough for you to read the
STDOUT/STDERR messages that might get spit out inside of the program.
From the True not defined error, I'm thinking that it's #1, a version
mismatch. I don't think that True is degfined as a golbal bool value
in 2.2, but I could be wrong.
Evan
···
On Sun, Aug 17, 2003 at 02:51:00PM -0500, rob@jam.rr.com wrote: