[Ipe-discuss] problem with ipe in Ubuntu 14.04

Otfried Cheong otfried at ipe.airpost.net
Tue Nov 11 02:45:04 CET 2014

 From the symptoms and the context of the problem occurring, it sounds 
very much that this is the dreaded locale bug:


It arises when Ipe is run under a locale where the decimal point is a 
comma (or in fact anything that is not a period).  As a result, when Ipe 
parses the standard stylesheet (which defines marks and arrows), numbers 
like 0.6 are read as 0, causing a broken display.  If you save the 
document again, it becomes corrupted.

Ipe contains code to force the numeric local to "C", which sets the 
decimal point to a period.  However, there seem to be configurations 
where this doesn't work (some component seems to reset the locale - some 
specific Qt versions or something like that).  I have never been able to 
reproduce it.

The simple work-around is to call Ipe from the command line, AFTER first 
setting an environment variable:

$ export LC_NUMERIC=C
$ ipe

(or export LC_NUMERIC=en_US.UTF-8 also should work).

I will try to fix this problem once and for all by removing the 
locale-dependent version of strtod from Ipe.


On 2014년 11월 11일 02:35, Anne Driemel wrote:
> Hi,
> I would like to confirm this. I had similar problems after upgrading
> from Ubuntu 12.x directly to 14.04. I now re-installed Ubuntu 14.04 from
> scratch and now IPE seems to be working properly again.
> IPE's behaviour was really strange. When drawing points or other marks
> (also the arrow-pointers) in a new document, they were not rendered by
> IPE, also not in generated PDF files. Polylines drawn after the points
> were also invisible. However, they became visible again when the points
> were removed. My old ipe files were not properly displayed.
> These problems occurred on two different systems, and both in the
> Ubuntu-repository version of IPE and in the self-compiled version.
> Anne
> On 10-11-14 15:42, Vissarion Fisikopoulos wrote:
>> Hello,
>> I have a problem with ipe in Ubuntu 14.04. I installed all the
>> available versions and since the compilation terminated without errors
>> when I use ipe some objects I create are invisible (like points or
>> circles). Also old files made by ipe on another system are not
>> correctly open (I again have some visibility problems, for example
>> some lines and points are not visible at all) Note that I can select
>> the invisible objects and change their properties but still cannot
>> make them visible.
>> I only had the following warning
>> ======================== Installation successful ==========================
>> Copying files to the temporary directory...tar: .0: Cannot stat: No
>> such file or directory
>> tar: Exiting with failure status due to previous errors
>> when I run
>> checkinstall --pkgname=ipe --pkgversion=7.1.5 --backup=no --fstrans=no
>> --default make install IPEPREFIX=/usr/local
>> I'm using ipe for many years and this is the first time I have such a
>> problem. Could you please help.
>> Best,
>> Vissarion.
>> _______________________________________________
>> Ipe-discuss mailing list
>> Ipe-discuss at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss

More information about the Ipe-discuss mailing list