GTK breaks float! (related to "float does not parse 0.00000E+00")

jepler epler jepler.lnk at lnk.ispi.net
Fri Jun 9 09:22:45 EDT 2000


On 08 Jun 2000 00:27:31 +0100, Michael Hudson
 <mwh21 at cam.ac.uk> wrote:
>$ env LC_NUMERIC=de_DE python -c 'import gnome.ui; print float("1.1")'
>
>Gdk-WARNING **: shmget failed!
>1.1
[Which failed w/traceback for me---incidentally, with LC_NUMERIC=de_DE,
float("1,1") succeeds and returns the float 1.1]

>Versions?

I was able to just observe the problem with a RedHat 6.2 machine, with
the following rpm versions of some possibly relevant packages:
	pygnome-1.0.51-1
	pygtk-0.6.4-1
	gtk+-1.2.6-7
	gnome-libs-1.0.55-12
	gnome-core-1.0.55-12
	glibc-2.1.3-15

I do *not* observe the problem on this RedHat 6.1 machine, with the
following rpm versions of some possibly relevant packages:
	pygnome-1.0.50-2
	pygtk-0.6.3-2
	gtk+-1.2.6-1
	gnome-libs-1.0.54-1
	gnome-core-1.0.54-2
	glibc-2.1.2-11
Unfortunately, a little bit of everything is different here.  :(

Jeff



More information about the Python-list mailing list