Error with gui scripts / python
Posted: Thu Apr 25, 2013 11:14 am
Hi,
I'm a member of the support applicative team of TGCC (http://www-hpc.cea.fr/fr/complexe/tgcc.htm). An user with its own installation have an issue with the command "code_saturne gui".
We have reproduce the issue with version 3.0.0. and a print debug report this :
$ code_saturne gui
set_modules
pkg : <cs_package.package instance at 0x2b596a4f3b90>
pkg.env_modules :
pkg.env_modulescmd :
cmd_prefix :
Traceback (most recent call last):
File "[..]/code_saturne", line 77, in <module>
retcode = cs.execute()
File "[..]/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_script.py", line 73, in execute
return self.commands[command](options)
File "[..]/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_script.py", line 117, in gui
return cs_gui.main(options, self.package)
File "[..]/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_gui.py", line 122, in main
set_modules(pkg)
File "[..]l/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_exec_environment.py", line 250, in set_modules
stdout=subprocess.PIPE).communicate()
File "[..]/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "[..]/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
How to fix it ?
Regards,
Jérôme Esbrat
I'm a member of the support applicative team of TGCC (http://www-hpc.cea.fr/fr/complexe/tgcc.htm). An user with its own installation have an issue with the command "code_saturne gui".
We have reproduce the issue with version 3.0.0. and a print debug report this :
$ code_saturne gui
set_modules
pkg : <cs_package.package instance at 0x2b596a4f3b90>
pkg.env_modules :
pkg.env_modulescmd :
cmd_prefix :
Traceback (most recent call last):
File "[..]/code_saturne", line 77, in <module>
retcode = cs.execute()
File "[..]/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_script.py", line 73, in execute
return self.commands[command](options)
File "[..]/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_script.py", line 117, in gui
return cs_gui.main(options, self.package)
File "[..]/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_gui.py", line 122, in main
set_modules(pkg)
File "[..]l/saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_exec_environment.py", line 250, in set_modules
stdout=subprocess.PIPE).communicate()
File "[..]/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "[..]/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
How to fix it ?
Regards,
Jérôme Esbrat