Hi Nathan,
Last night I downloaded wxPythosOSX and MachoPython binaries to my iBook
running Jaguar (Mac OS X 10.2.1). I was able to install them
successfully. However, there are two problems. I'm not sure if these
are Jaguar related, or if I've just screwed something up.
1) When I run the Python application in Applications, it starts, then
immediately exits. No window is ever drawn
At the moment, this is the correct behavior. Python.app is basically a utility to run scripts, and since it did not receive a script, it simply exited. If you drop a script on it, it will run it. BTW, if you are looking for a Python IDE, it can be found in /Library/Frameworks/Python.Framework/Versions/2.2/Mac/Tools/IDE/PythonIDE.
py
In the future, I think that PythonMac will open the IDE by default.
2) When I attempt to run wxPython code that I developed on my Linux
workstation, the GUI displays properly, however, no menu bar appears,
and I can't actually *use* it. That is, the window is drawn, but I
can't interact with it at all.
Are you running the script via the terminal? There has been some confusion because Jaguar includes its own version of python (in /usr/bin), and this is the Python that runs when you type python from the terminal. Jaguar's Python does not completely work with GUI scripts. (It's a long story, one you can read up on by checking the wxPythonMac archives if you're interested! =)
If you used the terminal to start the script, try double-clicking on the script in the finder and see if it loads properly. (or use /usr/local/bin/pythonw) I've got Jaguar 10.2.1 on my home machine, and it runs wxPythonOSX fine, so I'm not sure what could be going wrong.
If you did double-click on it and are still having problems, could you open up the Console (/Applications/Utilities/Console.app) and see if it is giving any error messages?
Kevin
···
On Monday, October 14, 2002, at 06:42 AM, Nathan R. Yergler wrote:
Is this a known issue / common problem? Any assistance would be
appreciated.
Nathan R. Yergler
--
------------------------------------------------------
Nathan R. Yergler
nathan at yergler dot net
Public Key available at http://yergler.net/~nathan
------------------------------------------------------
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users