traceback with warning/error messages

Jean Brouwers JBrouwersAtProphICyDotCom at
Sat Jul 17 18:48:54 CEST 2004

Sporadically, a message like this one shows up in our wxPython

( Gtk-WARNING **: gtk_menu_attach_to_widget(): menu
already attached to GtkMenuItem

Is possible but tedious to find the cause of the message by inserting
print statements.  Is there an easier way, e.g. a traceback in Python
when lower level messages occur?

/Jean Brouwers

PS) This is wxPython and Python 2.3.2 on Linux.

More information about the Python-list mailing list