<div dir="ltr"> Hello again and thanks for your answer.<br>My colleague accidentally figured out what caused the problem. I just forgot to press enter after changing the string value. Of course it 's not a bug but in case of number values you don't have to press enter to change a value. Maybe in future you'll decide to unify this <span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif">behavior</span>, I don't know. Anyway it's not so important.<br><div><br><div class="gmail_extra"><div class="gmail_quote">2014-10-06 11:13 GMT+04:00 Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be" target="_blank">cgeuzaine@ulg.ac.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
On 06 Oct 2014, at 00:45, Олег Рябков <<a href="mailto:oleg.ryabkov.87@gmail.com" target="_blank">oleg.ryabkov.87@gmail.com</a>> wrote:<br>
<br>
> Hello, everyone!<br>
><br>
> I'm trying to use gmsh onelab server functionality (like in double pendulum example) but have some problems using string parameters. I attach cleared example of python client which revelas the problem. In case of defineNumber it works as i expect, but in defineString case it behaves something strange. When i enter some string value and press calc button it resets to the default value. And returned variable (displayed via sendInfo) is again default value. "value='empty'" can be deleted and still it behaves the same way (with real empty string instad of 'empty').<br>
> I'm using last 64x windows version of gmsh, but problem seems to exist on Linux too.<br>
> Do i misunderstand the way it should be used or this is real bug?<br>
<br>
Hi Oleg - this works fine over here; are you sure you are not using an outdated version of onelab.py?<br>
<div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>not so sure now)) i used onelab.py from gmsh archive (29.05.2014) both on linux and windows. python version 2.7.6. </div><div>hmmm, really don't understand what's going on here.</div>
<br>
> Thank you in advance.<br>
><br>
> Best regards, Oleg.<br>
> <string_param_test.py>_______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
> <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
<span><font color="#888888"><br>
--<br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
<br>
<br></font></span></blockquote><div> </div></div>Best regards, Oleg.<br></div></div></div>