Effects do not work with locales using "," for decimals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When locales are set to language which uses "," as a separator for
decimals, effects returns error and does not apply. Example error:
Executing: python /usr/local/
--id=path1 248 --order=3 --step=25,000000 --angle=16,000000 --
axiom="++F" --rules="F=FF-[-F +F+F]+[+F-F-F]"
usage: lindenmayer.py [options] SVGfile
lindenmayer.py: error: option --step: invalid floating-point value: '25,
000000'
Extension::Script: Unknown error for pclose
: 
** (inkscape:8944): CRITICAL **: file extension/
cpp: line 636 (virtual void Inkscape:
effect(Inkscape:: Extension::Effect*, SPView*)): assertion `mydoc !=
NULL' failed
It is probably caused by passing not "unlocalised" values to the
command line(as seen on the dump). I tried this on LANG set to cs_CZ
but I think this can happen on every locale using ",". Solution would be
telling inkscape to pass values with decimal separator converted to "."
to the effects script.
System specs: GNU/Linux FC3, locale cs_CZ, Inkscape: current CVS.
Please try again. I just commited a possible fix.