<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'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"><<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>></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>> I have developed a Script to import Landsat images that runs just fine in<br>> Linux<br>><br>> But when I compile (Msys) with this expressioN:<br>> make -C r.in.landsat<br>
> MODULE_TOPDIR=/C/OSGeo4W/usr/src/grass-6.4.svn_src_snapshot_2010_09_04<br>><br>> and run in GRASS I get this error:<br><br></div>> xml.sax.parseString(getInterfaceDescription(cmd[0]).decode(enc).split('\n',1)[1].replace('',<br>
<div class="im">> '<?xml version="1.0" encoding="utf-8"?>\n', 1).encode("utf-8"),<br><br>> IndexError: list index out of range<br>> 1- Is my compilation expression correct?<br>
><br>> 2- What am I missing on this?<br><br></div>I'm not sure that Python scripts work in 6.x on Windows. I'm fairly<br>sure that the build system *doesn'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 <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></blockquote></div><br>