<div dir="ltr"><div><div><div><div><br>On Sun, Dec 13, 2015 at 7:17 PM, Alec Ventura <<a href="mailto:alecventura@hotmail.com">alecventura@hotmail.com</a>> wrote:<br>><br>> So, this error happens when i try to run the d.vect command on python console:<br>><br>> g.run_command('d.vect', map='bore0@Map')<br>><br>> strange is that d.vect runs fine on command console, but as im iterating on a list, i need to run on python.<br><br><br>What you want to use is Python, not the GUI command console and d.mon as you are trying below but in Python. I suppose you want to render to a file. The code should look like something like this:<br><br>    gscript.run_command('r.relief', input=raster, output=shaded_relief)<br>    gscript.run_command('d.mon', start='cairo', output=raster + '.png',<br>                        width=400, height=400)<br>    gscript.run_command('d.shade', shade=shaded_relief, color=raster)<br>    gscript.run_command('d.mon', stop='cairo')<br><br></div>More robust alternative to d.mon are environmental variables:<br><br><a href="https://grass.osgeo.org/grass70/manuals/cairodriver.html">https://grass.osgeo.org/grass70/manuals/cairodriver.html</a><br><br></div>Rendering to file can be done from Python or from the system command line (on MS Windows the black one).<br><br></div>Hope this helps, see more comments below,<br></div>Vaclav<br><div><div><div><br><div><div><br>><br>> but when i tried to run the 'd.mon wx0' command it gives the error:<br>><br>> Command 'd.mon' not yet implemented in the WxGUI. Try adding it as a command layer instead.<br><br>It seems that you are doing this in the GUI command line. That one is meant for simple tasks and GUI-related things only, so you can't use d.* command in this way there.<br> <br>><br>><br>> Any tips? should i go to linux instead?<br><br><br>This should work on any operating system but there are many other reasons to use Linux and there is many happy Linux users among the GRASS GIS users.<br> <br>><br>> the problem in that i didnt found a easy install for Grass 7 on Debian, and the apt-get reference was (last week) pointing to 6.4.4 yet.<br><br><br>I'm not familiar enough with Debian to know how to install latest GRASS. If the particular distribution doesn't matter for you, you can try Ubuntu.You need to add a . The instructions are on GRASS GIS website.</div></div></div></div></div></div>