[GRASS-dev] pygrass core.call and script.run_command: "ui" is an unexpected keyword argument
Yann
dr.yann.chemin at gmail.com
Sun Jan 15 03:42:04 PST 2017
Hi,
trying to run a graphical version of a module from a script.
grass.core.call('i.group',ui=True)
File
"/usr/local/grass-7.3.svn/etc/python/grass/script/core.py",
line 85, in call
return Popen(*args, **kwargs).wait()
File
"/usr/local/grass-7.3.svn/etc/python/grass/script/core.py",
line 74, in __init__
subprocess.Popen.__init__(self, args, **kwargs)
TypeError: __init__() got an unexpected keyword argument
'ui'
tried also with grass.script.run_command and it fails in a similar manner.
Yann
More information about the grass-dev
mailing list