From: Jim D. <jim...@gm...> - 2008-03-25 19:25:34
|
On Tue, Mar 25, 2008 at 12:13 PM, Joey Mukherjee <jo...@sw...> wrote: > > On Mar 25, 2008, at 10:04 AM, Kevin Walzer wrote: > > Joey Mukherjee wrote: > >> One of my programs uses tk_getOpenFile to let the user select a file > >> to use and everything works right on OS X 10.4+. However, on > >> Leopard, the program crashes when you select the button which calls > >> tk_getOpenFile. I am bundling my applications as a Starpack with > >> version 8.4.17. I think I saw this mentioned here, but I never saw > >> a fix. > >> > >> Is there an easy workaround? > >> > > > I think this was solved in 8.4.18--can you try upgrading? > > Unfortunately, the same problem seems to exist with 8.4.18. :-( > > These are the messages from the console window: > > 3/25/08 11:05:58 AM unbundler[1784] A Carbon window's attributes > couldn't be gotten. > 3/25/08 11:05:58 AM unbundler[1784] A Carbon window's features > couldn't be gotten. > 3/25/08 11:05:58 AM unbundler[1784] Couldn't get window modality: > error=-5600 > > I don't have Leopard so I am relying on someone else and can't really > debug this as nicely. > > Might it be fixed in 8.5? I am not opposed to upgrading if it might > fix this, but we haven't tested any of our software on 8.5 so I like > sticking with the 8.4 series. Can you share a simple example of the code that crashes? If so, I'd be glad to give it a test as well. With the universal Aqua 8.4.18 Tclkit on Mac OS X 10.5.2, the following works as expected and does not crash: % package require Tk % tk_getOpenFile Jim |