[Gmsh] Running onelab python script on gmsh command line

lukshuntim at gmail.com lukshuntim at gmail.com
Fri Apr 24 05:25:48 CEST 2015


On Friday, April 24, 2015 03:58 AM, Christophe Geuzaine wrote:
>
>> On 24 Mar 2015, at 07:03, lukshuntim at gmail.com wrote:
>>
>> On Tuesday, March 24, 2015 05:21 AM, Christophe Geuzaine wrote:
>>>
>>>> On 22 Mar 2015, at 17:29, lukshuntim at gmail.com wrote:
>>>>
>>>> Hi,
>>>>
>>>> I started to play a bit with onelab. When trying to run the pend.py script from
>>>>
>>>> http://onelab.info/wiki/Python
>>>>
>>>> on the command line using "gmsh pend.py", it throws this error
>>>>
>>>> Traceback (most recent call last):
>>>>   File "pend.py", line 93, in <module>
>>>>     exportMshOpt()
>>>>   File "pend.py", line 20, in exportMshOpt
>>>>     optFile = open(c.getPath("pend.msh.opt"),'w')
>>>> IOError: [Errno 13] Permission denied: '//pend.msh.opt'
>>>>
>>>> while running `gmsh ./pend.py` works.
>>>>
>>>> Is this the intended/expected behaviour or a bug? This is on ubuntu trusty.
>>>>
>>>
>>> There was an issue in the "path()" function in Gmsh 2.9.0. Does it work with Gmsh 2.9.1 or the latest nightly builds?
>>
>> I used this gmsh-getdp bundle
>>
>> http://onelab.info/files/gmsh-getdp-Linux64.zip
>>
>> "gmsh --version" shows 2.9.1.
>
> Did you get it to work?

Unfortunately, no.
The same behaviour with version 2.9.2-svn, and 2.9.3 just downloaded.

Regards,
ST
-- 





More information about the gmsh mailing list