On Sep 26, 2006, at 10:39 PM, Dave Reed wrote:


I installed ActiveState Tcl and MacPython 2.4.3 on the 10.3.9
machine. The /Systems/Library/Frameworks/Tk.framework directory does
not exist (the Tcl.Framework directory does so I tried the above
install_name_tool line with just the Tcl lines (and the final line
with ._tkinter.so).

I can't get some Tk programs to run now. Using the graphics.py file at:
http://mcsp.wartburg.edu/zelle/python/graphics.py

I get:


$ /usr/local/bin/python
Python 2.4.3 (#1, Apr  7 2006, 10:54:33)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import graphics
Tk_MacOSXSetupTkNotifier: first [load] of TkAqua has to occur in
the main thread!
Abort trap

Does anyone still have a 10.3.9 system to try importing that
graphics.py file and see if it works for them? Any thoughts on making
it work? I have an old python 2.3.5 from fink that does import
graphics.py ok and works fine for many simple programs but crashes on
more complicated programs.

I have not yet tried it on the 10.4.7 G5 yet.

I get the same problem with python 2.4 on a 10.4.7/x86 system. This library runs the Tk mainloop on a seperate thread, appearently this isn't supported by the Aqua port of Tk ;-)

Ronald

Thanks,
Dave

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to