Hello Mr. Clements<div><br></div><div>But, for instance, I have just made a NDVI script (i.ndvi) and I added the file to my script folder  but I got the following error:</div><div><div>Traceback (most recent call last):</div>
<div>  File &quot;/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py&quot;,</div><div>line 466, in OnRunCmd</div><div><br></div><div>self.goutput.RunCmd(cmd, switchPage=False)</div><div>  File &quot;/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g</div>
<div>output.py&quot;, line 352, in RunCmd</div><div><br></div><div>menuform.GUI().ParseCommand(cmdlist, parentframe=self)</div><div>  File &quot;/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/m</div><div>enuform.py&quot;, line 1822, in ParseCommand</div>
<div><br></div><div>handler)</div><div>  File &quot;/usr/lib/python2.6/xml/sax/__init__.py&quot;, line 49, in</div><div>parseString</div><div><br></div><div>parser.parse(inpsrc)</div><div>  File &quot;/usr/lib/python2.6/xml/sax/expatreader.py&quot;, line</div>
<div>107, in parse</div><div><br></div><div>xmlreader.IncrementalParser.parse(self, source)</div><div>  File &quot;/usr/lib/python2.6/xml/sax/xmlreader.py&quot;, line 123,</div><div>in parse</div><div><br></div><div>self.feed(buffer)</div>
<div>  File &quot;/usr/lib/python2.6/xml/sax/expatreader.py&quot;, line</div><div>211, in feed</div><div><br></div><div>self._err_handler.fatalError(exc)</div><div>  File &quot;/usr/lib/python2.6/xml/sax/handler.py&quot;, line 38, in</div>
<div>fatalError</div><div><br></div><div>raise exception</div><div>xml.sax._exceptions</div><div>.</div><div>SAXParseException</div><div>:</div><div>&lt;unknown&gt;:5:3: not well-formed (invalid token)</div><div><br></div>
<div>Could you tell me what&#39;s wrong? Am I suppose to do something else?</div><div><br></div><div>Best regards,</div><div>Kim</div></div><div><br><div class="gmail_quote">2010/1/25 Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
Kim Besson wrote:<br>
<br>
&gt; I&#39;m having a few Questions regarding Scripting developing and compilation<br>
&gt; for LINUX. I have &quot;coded&quot; a Script example, from GRASS book, and now I just<br>
&gt; want to try it. But it says &quot;Command d.rast.region is not yet implemented&quot;.<br>
&gt; Do I have to do something because it&#39;s already in the right<br>
&gt; folder /usr/local/grass-6.4.0svn/scripts.<br>
<br>
</div>The &quot;not yet implemented&quot; error occurs if you run unknown d.* commands<br>
(any command beginning with &quot;d.&quot;) from the GUI&#39;s interactive prompt.<br>
Essentially, support for running d.* within the GUI is an ugly hack;<br>
it &quot;traps&quot; a fixed set of known commands, but doesn&#39;t work for<br>
anything else.<br>
<br>
You should still be able to use the script from the shell, or by<br>
adding a command layer within the GUI.<br>
<font color="#888888"><br>
--<br>
Glynn Clements &lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;<br>
</font></blockquote></div><br></div>