[Pythonmac-SIG] Macintosh TK / Fatal Error, fix?

Jack Jansen jack@oratrix.nl
Tue, 06 Nov 2001 21:52:25 +0100


Benjamin,
what you could try is seeing if you can find out who created this menu
256, then we can try to resolve the conflict. If you do
>>> import Carbon.Menu (or import Menu in 2.1.1)
>>> h = Carbon.Menu.GetMenuHandle(256)
>>> print `h.as_Resource().data`

*after* Tk complains (use the "inter interactive mode after script" if
needed) you should see the raw data of the menu with ID 256. This may
tell you who created the menu.

My guess: a third-party menu extension (I've seen Palm Menu
misbehave), but we'll see.

--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.cwi.nl/~jack        | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm