[Gmsh] Running onelab python script on gmsh command line

lukshuntim at gmail.com lukshuntim at gmail.com
Sun Mar 22 17:29:37 CET 2015


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.

Regards,
ST
--