Mathmod with German localization doesn't work.
I tried to run the cvs version from AUR and the tar file from sourceforge - same error.
Description
if the system locale is set to german, and the dotseperator is set to ".", then matmod complains : Error at , then displays the fisrt occurance of the "." symbol. EG:
This code snippet :
"Texture": {
"Colors": [
"R=.82",
Will say Error at position zero , then the big red text , then .82.
replacing he dot symbol with "," in the mathmodconfig.js file leads to this problem :
"Name": "Granit_4",
"Noise": "NoiseP(x,y,z,4,1.1,1)"
The noiseP (perlin noise?) tkes six parameters. but now if i write :
"Name": "Granit_4",
"Noise": "NoiseP(x,y,z,4,1,1,1)"
it becomes 7 parameters, and i get the message : error at position ...big red message ... (no actual indication, just ...)
Reproduction
Mathmod 4.1, arch linux, 64 bit, german locale. Please try to plot the SchwarzFunction (not the first - that is just schwarz - but the second) under IsoSurfaces.
Thank you for reporting this Localization problem.
Please update your code (https://sourceforge.net/p/mathmod/branches/HEAD/tarball?path=/trunk) and try again.
All mathMod scripts should now work correctly under German or Frensh localization environnement (
a copy of the new mathmodcollection.js is attached to this message) . It can be loaded with the menu option: "project"-->"Load json script"
Please report any bug or malfunction.
Thanks
Abderrahman
segmentation fault, i am afraid
the precompiled binary is working tho
Please open a new ticket for the segmentation fault error if it's reproducible.
For an automatic load of the modified mathmodcollection.js by MathMod, you have to put it inside a folder and add the folder name as a parameter to MathMod (ie : ./mathmod MM ) with MM the folder name. Attached to this message a ziped folder MM (the one I'm using to test the German localization).
You can also try to compile from source (https://sourceforge.net/p/mathmod/branches/HEAD/tarball?path=/trunk) . It include the German localization support (and other new features not included in the last MathMod-6.0 release)
Abderrahman