<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 14, 2015 at 4:15 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">2015-06-14 1:56 GMT+02:00 Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>>:<br>
> Sorry to report but grass.script cannot be imported when building addons,<br>
> e.g.:<br>
><br>
> <a href="http://grass.osgeo.org/addons/grass7/logs/d.vect.thematic2.log" rel="noreferrer" target="_blank">http://grass.osgeo.org/addons/grass7/logs/d.vect.thematic2.log</a><br>
<br>
</span>thanks for reporting, problem was broken svn repo:<br>
<br>
svn: Failed to add file 'setup.py': an unversioned file of the same<br>
name already exists<br>
<br>
I fixed that.</blockquote></div><br></div><div class="gmail_extra">Markus had the same issue. This was discussed some time ago, I think in relation to changes in module names (g.mlist/g.list) and perhaps builds for automated tests. If you want to avoid problems run `make distclean` before `svn up`. For automated builds this is necessary. Here is what I use:<br><br># if we do distclean but svn up fails, then distclean fails next time<br># (thus || true is necessary with set -e)<br>make distclean $GENERAL_MAKE_FLAGS &>$OUTPUT_LOGFILE || true<br>svn up &>>$OUTPUT_LOGFILE<br>./script_configure.sh &>>$OUTPUT_LOGFILE<br>make $GENERAL_MAKE_FLAGS &>>$OUTPUT_LOGFILE<br><br></div></div>