I just posted another example with the dump. I did not want the app to close since I want to suck images out of my database and display them to the user.
Did you build your own Tcl/Tk ( I am using the oldish 8.4.10 Aqua BI distribution...). I seem to recall that PIL worked prior to upgrading to Python 2.4.3... I think I got the MacPython from Python.org. The PIL software seems to be present in /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/PIL Jerry On Jun 10, 2006, at 6:55 PM, Daniel Lord wrote: > > On Jun 10, 2006, at 12:00, Jerry LeVan wrote: > >> Hi, I am trying my hand at trying to build a simple image >> viewer for embedding into a larger application. >> >> The following code will display images ok on my linux >> box running python 2.4.2 and ActiveState Tcl/Tk 8.4.13 >> >> The same code crashes before the interface comes up on >> my Mac OSX 10.4.6 Aqua TclTk Batteries included 8.4.10 >> and python 2.4.3, it looks like it is dying deep in >> the imaging code. >> >> Is this a know problem? >> >> Any suggestions? > > Your code works fine on my Macbook Pro although when I press the > 'exit' button, it leaves the main tk window open so you need to > clean up a bit better. > > I suggest you consider something is wrong uniquely with your system > or installations of the components. > Are you on a PPC or Intel? > Showing the traceback would perhaps be more helpful. > > My system is: > OS X 10.4.6 > Python 2.4.3 (#1, Apr 7 2006, 10:54:33) > [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin > Tcl/Tk 8.4.13 > > Daniel Lord > > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig