Problems with parameters when decimal point is a comma (Bug #115)


Added by Alexis Bienvenüe almost 12 years ago. Updated over 11 years ago.


Status:Closed Start date:01/06/2013
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

With some particular locales (when the decimal point is a comma) and environments (reported on opensuse 12.2), the numerical parameters are stored with a comma as a decimal point, and become unusable for AMC... See "ERROR(): No layout for ID +0/0/0+".

As a workaround, remove all parameters files (as cf.default.xml in $HOME/.AMC.d) and start AMC with

LANG=C auto-multiple-choice

History

Updated by Alexis Bienvenüe almost 12 years ago

This bug does not show on debian and derivatives, because POSIX sets LC_NUMERIC to C, overriding Gtk2 initialization:

perl -le 'use Gtk2 -init; use POSIX; print POSIX::setlocale(&POSIX::LC_NUMERIC)'

returns C on debian and returns the current locale on OpenSUSE...

Updated by Alexis Bienvenüe almost 12 years ago

Applied in changeset r1282.

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Alexis Bienvenüe over 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF