[ghemical-devel] LC_NUMERIC problem

Michael Banck mbanck@gmx.net
Wed, 11 Feb 2004 11:22:19 +0100


On Wed, Feb 11, 2004 at 11:53:14AM +0200, Tommi Hassinen wrote:
> It seems to work in my system where locale is "C" ; unfortunately I don't
> know how to change it so it still needs testing. 

If you have other locales available and generated (dpkg-reconfigure
locales), just exporting LC_NUMERIC=de_DE or similar prior to starting
ghemical from an xterm should be enough.

> The change is not yet applied in file import/export functions, only in
> file open/save ones.

There were specific problems with Import, I think ghemical hang when
trying to import a .xyz with LC_NUMERIC set to ',' (passing the file on
the command-line worked fine, IIRC). Also, Build->Add Hydrogen is broken
for these locales (the hydrogens get added somewhere near infinity), so
I'm not sure just setting it for Open/Save is enough.

Can you tell me which CVS branch I should check out for 1.01 + your fix,
in order to test it? 


thanks,

Michael