<div dir="ltr">Hi Maxime,<div><br></div><div>Well, that explains why I couldn't reproduce the issue!</div><div><br></div><div>It sounds like the XML parser and JSON parser are expecting the comma decimal separator. Thanks for letting us know.</div><div><br></div><div>Cory</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 8:09 AM, Maxime Reynaud <span dir="ltr"><<a href="mailto:reynaud.maxime@gmx.fr" target="_blank">reynaud.maxime@gmx.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>Hi Cory,</div>

<div> </div>

<div>I have solved the problem (by chance). I have changed the langage settings of my system from Fr to Us, and it works ! As in French we use "," instead of "." for the decimal separator, it may have lead to misread the json files...</div>

<div> </div>

<div>Have a good day,</div>

<div> </div>

<div>Maxime</div>

<div>
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Envoyé:</b> mardi 3 novembre 2015 à 15:04<br>
<b>De:</b> "Cory Quammen" <<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>><br>
<b>À:</b> "Maxime Reynaud" <<a href="mailto:reynaud.maxime@gmx.fr" target="_blank">reynaud.maxime@gmx.fr</a>>, ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><div><div class="h5"><br>
<b>Objet:</b> Re: [Paraview] Colormap presets issue</div></div></div><div><div class="h5">

<div name="quoted-content">
<div>Hi Maxime,
<div> </div>

<div>I cannot reproduce the errors you are seeing with the file you sent.</div>

<div> </div>

<div>Do you have any problems importing the newer JSON format? You can test by exporting a color map and then reimporting it.</div>

<div> </div>

<div>Thanks,</div>

<div>Cory</div>
</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On Tue, Nov 3, 2015 at 8:52 AM, Maxime Reynaud <span><<a href="http://reynaud.maxime@gmx.fr" target="_blank">reynaud.maxime@gmx.fr</a>></span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">
<div>
<div style="font-family:Verdana;font-size:12.0px">
<div>
<div>The attached file is the ColorMaps.xml corresponding to the version 4.4 of Paraview. I have also try to import a ColorMaps.xml from the version 4.1, with the same results.</div>

<div> </div>

<div>Thanks,</div>

<div> </div>

<div>Maxime</div>

<div> 
<div style="margin:10.0px 5.0px 5.0px 10.0px;padding:10.0px 0 10.0px 10.0px;border-left:2.0px solid rgb(195,217,229)">
<div style="margin:0 0 10.0px 0"><b>Envoyé:</b> mardi 3 novembre 2015 à 14:35<br>
<b>De:</b> "Cory Quammen" <<a href="http://cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>><br>
<b>À:</b> "Maxime Reynaud" <<a href="http://reynaud.maxime@gmx.fr" target="_blank">reynaud.maxime@gmx.fr</a>><br>
<b>Cc:</b> ParaView <<a href="http://paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>Objet:</b> Re: [Paraview] Colormap presets issue</div>

<div>
<div>
<div>
<div>Hi Maxime,
<div> </div>

<div>Can you send the .xml file that is causing you problems?</div>

<div> </div>

<div>Thanks,</div>

<div>Cory</div>
</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On Tue, Nov 3, 2015 at 3:32 AM, Maxime Reynaud <span><<a href="http://reynaud.maxime@gmx.fr" target="_blank">reynaud.maxime@gmx.fr</a>></span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">
<div>
<div style="font-family:Verdana;font-size:12.0px">
<div>
<div>Hi,</div>

<div><br>
I have an issue with the colormap presets. I am using Paraview 4.4.0-237-g8db3c8e, and my OS is CentOS 7. The colormap xml file is not correctly read by Paraview, resulting in random presets, as it is shown by the attached picture. I am able to import a preset with an .xml file, and to apply it. However, if I close the “choose preset” window and open it again, the problem is extended to the new imported preset. Does anyone have encountered this before?</div>

<div><br>
Thanks,</div>

<div><br>
RM</div>

<div> </div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
 </blockquote>
</div>
 

<div> </div>
--

<div>Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
 

<div> </div>
--

<div>Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.</div>
</div>
</div>
</div></div></div>
</div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div></div></div>