OS X dialogs cause Trace/BPT trap

Whenever I call something that tries to spawn a tk window, like node.place() or direct.tkpanels.ParticlePanel(), my program crashes with a Trace/BPT trap and the following message:

activate_osx_application
2010-08-13 09:34:59.585 ppython[3303:903] -[NSApplication _setup:]: unrecognized selector sent to instance 0x6e10930
2010-08-13 09:34:59.588 ppython[3303:903] An uncaught exception was raised
2010-08-13 09:34:59.588 ppython[3303:903] -[NSApplication _setup:]: unrecognized selector sent to instance 0x6e10930
2010-08-13 09:34:59.633 ppython[3303:903] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x6e10930'

followed by a long stack trace.

Does anyone know what could cause this? Is this likely a problem with Panda, or with my tk installation?

Thanks!

Edit: Sorry, I should also have mentioned that this is Panda 1.7.0 and Python 2.5.4 on Mac OS X 10.6 (Snow Leopard).

Hmm, I’m not actually 100% sure that any of the Tk panels have ever worked on Mac or Linux. (This is part of the reason we are migrating to wx.)

Can any regular Mac users out there contradict me? Has anyone ever gotten this to work?

David

i can confirm place() and works for me on linux.

OS X 1.6.8, python 2.6, panda 1.7.2:

Same issue. Will try Wx, but wish I could get at the directtools +(