<div>Greetings to all</div>
<div> </div>
<div>I want to know if anyone has ever tried to build Python Scripts on winGRASS 6.x??? </div>
<div>Because I didn&#39;t find any literature or document that this was a limition on Windows...</div>
<div><br><br> </div>
<div class="gmail_quote">On Fri, Oct 1, 2010 at 6:40 PM, Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im"><br>Helena Herrera wrote:<br><br>&gt; I have developed a Script to import Landsat images that runs just fine in<br>&gt; Linux<br>&gt;<br>&gt; But when I compile (Msys)  with this expressioN:<br>&gt; make -C r.in.landsat<br>
&gt; MODULE_TOPDIR=/C/OSGeo4W/usr/src/grass-6.4.svn_src_snapshot_2010_09_04<br>&gt;<br>&gt; and run in GRASS I get this error:<br><br></div>&gt; xml.sax.parseString(getInterfaceDescription(cmd[0]).decode(enc).split(&#39;\n&#39;,1)[1].replace(&#39;&#39;,<br>

<div class="im">&gt; &#39;&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\n&#39;, 1).encode(&quot;utf-8&quot;),<br><br>&gt; IndexError: list index out of range<br>&gt; 1- Is my compilation expression correct?<br>
&gt;<br>&gt; 2- What am I missing on this?<br><br></div>I&#39;m not sure that Python scripts work in 6.x on Windows. I&#39;m fairly<br>sure that the build system *doesn&#39;t* handle Python scripts in 6.x on<br>Windows.<br>
<br>The main issue is that, on Windows, the build system installs a batch<br>file which executes the actual script, and the batch file only works<br>for shell scripts.<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>