[Gmsh] onelab string parameter problem

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Oct 6 09:13:34 CEST 2014


On 06 Oct 2014, at 00:45, Олег Рябков <oleg.ryabkov.87 at gmail.com> wrote:

> Hello, everyone!
> 
>   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'). 
>   I'm using last 64x windows version of gmsh, but problem seems to exist on Linux too. 
>   Do i misunderstand the way it should be used or this is real bug?

Hi Oleg - this works fine over here; are you sure you are not using an outdated version of onelab.py?


>   Thank you in advance.
> 
>   Best regards, Oleg.
> <string_param_test.py>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine