<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span style="font-family: monospace, fixed; font-size: 13px;">Hi, </span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: monospace, fixed; background-color: transparent; font-style: normal;"><span style="font-family: monospace, fixed; font-size: 13px;">I installed GRASS 7 </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">(WinGRASS-7.0.svn-r57740-711 )on Windows 7 afew days ago and I am experiencing some problems with using the software. I hope someone in the list can help me solve some of the problems.</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">One problem is that I cannot run
 succesfully python scripts that make use of a scripted graphical interface </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">( scripts with no arguments seem to work </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">fine) and this applies to all scripts, also those found in GRASS 7 website and the grass </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">7 scripts folder (although I have to add I only tried to run a couple of "simple" scripts </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">with few required
 arguments):</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">To give you an example:</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">When I try to run r.rgb.py through file-> launch script I get following error message:</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">Launching script 'C:\GRASS7\GRASS7.svn\scripts\r.rgb.py'...</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed;
 font-size: 13px;">Exception in thread Thread-24:</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">Traceback (most recent call last):</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">  File "C:\GRASS7\GRASS7.svn\Python27\lib\threading.py",</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">line 810, in __bootstrap_inner</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">    self.run()</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed;
 font-size: 13px;">  File</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">"C:\GRASS7\GRASS7.svn\etc\gui\wxpython\core\gconsole.py",</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">line 153, in run</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">    self.resultQ.put((requestId, self.requestCmd.run()))</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">  File "C:\GRASS7\GRASS7.svn\etc\gui\wxpython\core\gcmd.py",</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span
 style="font-family: monospace, fixed; font-size: 13px;">line 552, in run</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">    env = self.env)</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">  File "C:\GRASS7\GRASS7.svn\etc\gui\wxpython\core\gcmd.py",</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">line 172, in __init__</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">    subprocess.Popen.__init__(self, args, **kwargs)</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size:
 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">  File "C:\GRASS7\GRASS7.svn\Python27\lib\subprocess.py",</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">line 711, in __init__</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">    errread, errwrite)</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">  File "C:\GRASS7\GRASS7.svn\Python27\lib\subprocess.py",</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">line 948, in _execute_child</span><br style="padding: 0px; margin: 0px; font-family: monospace,
 fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">    startupinfo)</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">TypeError: environment can only contain strings</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">When I try the same script through the command line I get this message:</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">syntax error, unexpected '@', expecting '('</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed;
 font-size: 13px;">Parse error</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">ERROR: parse error</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">ERROR: An error occurred while running r.mapcalc</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">Nonetheless, when I give an output_prefix (which is optional) the script runs. </span><span style="font-family: monospace, fixed; font-size: 13px;"> Other scripts, for </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed;
 font-size: 13px;">example, r.out.xyz.py gives "a cannot find output error" or simply does not produce output </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">(even when I give a name for the output which in any case is optional and should not make </span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">any difference unless I am missing something).</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: monospace, fixed; background-color: transparent; font-style: normal;"><span style="font-family: monospace, fixed; font-size: 13px;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: monospace, fixed; background-color: transparent; font-style: normal;"><span style="font-family: monospace,
 fixed; font-size: 13px;">The other problem I have is also with the v.db.addcolumn  and v.db.dropcolumn column commands which work when I run them from the command line, but not when I use a command through python shell</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: monospace, fixed; background-color: transparent; font-style: normal;">e.g. grass.run_command ("v.db.addcolumn", map="sites", columns="new_column"). These commands also don't work through the Grass GUI, e.g. through Manage tables. For example when I choose drop selected column, I get a warning message that the coulumn will be deleted, but in the end it is not removed from the table.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: monospace, fixed; background-color: transparent; font-style: normal;"><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed;
 font-size: 13px;">Does anyone have any idea what might cause these errors and how I could fix the problem?</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">Any help will be greatly appreciated!</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">best wishes,</span><br style="padding: 0px; margin: 0px; font-family: monospace, fixed; font-size: 13px;"><span style="font-family: monospace, fixed; font-size: 13px;">Eleftheria</span></div></div></body></html>