Re: [pygtk] GnomeDialog + applet callback bug again
James Henstridge <[EMAIL PROTECTED]> writes: > Do you see the lockup behaviour in the C version if you add the > following line to the main() function before applet_widget_init()?: > g_thread_init(NULL); > > You will also need to link the test applet against the gthread > library. If this hangs, then it narrows down the problems > substantially. Indeed it does! So it is a GNOME bug; I'll take this over there. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
[pygtk] GdkColor crash
I'm trying to make a white colour for use in a style, but when I call GdkColor with: GdkColor(65535,65535,65535) I get: File "/usr/local/lib/python2.1/site-packages/gtk.py", line 35, in GdkColor return _gtk.gdk_color_new(red, green, blue, pixel) OverflowError: signed short integer is greater than maximum I've found out that the highest number I can use with GdkColor in pygtk is 27306. Any ideas anyone? ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
Re: [pygtk] XParseColor undefined under Mandrake 8.1
This is because /usr/lib/libimlib-xpm.so doesn't contain the proper DT_NEEDED entries for other libraries it needs. Probably a problem with libtool or the way Imlib uses it. import gtk first. Matt On Fri, Nov 23, 2001 at 07:52:36AM -0700, Don Allingham wrote: > I've had several people complain about my program refusing to run under > Mandrake 8.1. There appears to be a problem with libimlib-xpm, which > references XParseColor which python cannot seem to find. > > Does anyone have any ideas on this? The error message is below. > > /usr/bin/python: error while loading shared libraries: /usr/lib/libimlib-xpm.so: >undefined symbol: XParseColor > > > -- > Don Allingham > [EMAIL PROTECTED] > > GPG/PGP Public Key at > http://members.home.net/donaldallingham/dallingham.key > > ___ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
Re: [pygtk] GnomeDialog + applet callback bug again
Colin Walters wrote: >So, > >I was hoping that upgrading to python-gnome 1.4.1 would solve this >bug where creating a GnomeDialog from an applet callback causes a >hangup, but it didn't. It was suggested earlier that this might be >a bug in the GNOME libraries, but I don't think so. I've attached >basically equivalent programs in C and Python, and only the Python >one shows the bug (at least for me). > >Anyone made any progress on figuring out this bug? > Do you see the lockup behaviour in the C version if you add the following line to the main() function before applet_widget_init()?: g_thread_init(NULL); You will also need to link the test applet against the gthread library. If this hangs, then it narrows down the problems substantially. James -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk