[Pkg-octave-devel] Bug#676800: Bug#676800 octave-java: completely breaks octave

Sébastien Villemot sebastien.villemot at ens.fr
Sun Jul 8 10:17:45 UTC 2012


Thomas Weber <tweber at debian.org> writes:

> On Thu, Jul 05, 2012 at 11:54:55PM +0200, Sébastien Villemot wrote:
>> Please try the following (on amd64 if possible) in a clean sid chroot:
>> 
>> apt-get install dynare locales    (it should install octave-java via the recommends)
>> dpkg-reconfigure locales          (and select fr_FR.UTF-8)
>> LANG=fr_FR.UTF-8 octave
>> 
>> It should crash. Strangely it does not crash with LANG=C.
>> 
>> I replicated this inside a clean amd64 sid chroot created with
>> debootstrap.
>> 
>> Do you get the same?
>
> Yes. Good, so we can reproduce it.

Thanks for having tried this. What I understood in this replication
process is that the problem has to do with the locale settings.

The cause of the problem is the following: OpenJDK 7 messes up the
locale settings (and LC_NUMERIC in particular), so Octave is no longer
able to read a decimal number (the decimal separator in French is a
comma, not a point).

By resetting the locale after the JVM initialization, the problem
disappears. I will upload a fixed version of the package soon.

Thanks for your help,

-- 
Sébastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20120708/2db292e5/attachment.pgp>


More information about the Pkg-octave-devel mailing list