Andrew,
We have numerous students and faculty here who are successfully using graphics.py with OSX Lion. The main problem for them was getting the ActiveState Tcl/Tk fix, but it sounds like you have already done that. If IDLE is running, there is no reason that the
graphics package should give you difficulties.
I have two quick suggestions. First make sure you have the latest version of the graphics library available from my python page:
http://mcsp.wartburg.edu/zelle/python. You probably do have it, as it has not been updated in quite a while. The important thing is that you need the unthreaded iteration of the library.
Second, make sure that every graphics program shuts down properly by executing window.close(). If your processes are hanging up on program termination, this could be the issue. It is not sufficient to simply have the Python program quit.
If neither of these addresses your issue, then I would appreciate it if you would send me a slightly more detailed report letting me know exactly what version of python and Tcl/Tk you are running and providing a simple example program that causes freeze up
along with a description of exactly how it locks up.
Cheers,
--John
John Zelle, PhD
Professor of Computer Science
Wartburg College
I just got my first Mac. I know issues with Mac graphics have been discussed before, but I'm not sure what is relevant with OSX Lion.
With the active state Tcl and the standard
python.org python and idle appears fine.
Still if I try running a Zelle graphic program inside or outside idle I get a freeze.
The massive installation through MacPorts, that uses X11 for graphics makes my Zelle graphics library Tk based programs work fine, but the X11 version of Idle has many of the common keyboard shortcuts not working, and is (intensionally) not the standard
Apple menu setup.
What am I missing?
Thanks,
--
Dr. Andrew N. Harrington
Computer Science Department