<div dir="ltr"><div>Hi all,</div><div><br></div><div>Anna and I have fixed the script handing on MS Windows. Modules which are Python scripts and/or are from GRASS addons and/or calls other modules which are Python scripts didn't worked for various reasons. The changeset r57910 should fix them all (and thus should fix #2039, particularly the MAXREPEAT error).</div>
<div><br></div><div>Unfortunately, the fix is not the absolutely correct solution. There are basically two things which are not completely resolved.</div><div><br></div><div>The idea of having scripts (and addons' scripts) on the path and not using system to run a script (and using executable instead), does not seem completely correct to me. Although, this is needed for the system command line (which works now but I don't know why).</div>
<div><br></div><div>The other problem is that now the solution is scattered over several functions on different places and there is some duplication. The reason is that there is a command running functionality repeated several times on various places in the GUI and in grass.script. This requires more complex refactoring.</div>
<div><br></div><div>If this influences #2015 is unclear. I don't want to blame anybody but it seems (according to what we tested that time) that #2015 just appeared for (almost) all MS Windows versions and all GRASS versions (and builds) and then just disappeared, so one would say that the problem was with the system.</div>
<div><br></div><div>Vaclav</div><div><br></div><div>[r57910] <a href="https://trac.osgeo.org/grass/changeset/57910">https://trac.osgeo.org/grass/changeset/57910</a></div><div>[#2039] <a href="http://trac.osgeo.org/grass/ticket/2039">http://trac.osgeo.org/grass/ticket/2039</a></div>
<div>[#2015] <a href="http://trac.osgeo.org/grass/ticket/2015">http://trac.osgeo.org/grass/ticket/2015</a></div></div>