<div dir="ltr"><div><div>Dear Vaclav,<br><br></div><div>I tried r70477 but the errors did not disappear :-( . I also tried your "cryptic" grep command and recompiled the code. However, the errors are still there.<br></div><div>To rule out that this is an issue of our server I tried to compile r70477 on a CentOS6.8 Notebook. The compilation ended with the same errors, which means that this problem will occur on all old Redhat, Fedora and CentOS installations.<br><br></div><div>Thank you for your help!<br><br></div>cheers<br></div>Jörg<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-02 16:46 GMT+01:00 Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 9:40 AM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@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="m_510414533259766237m_7185514734548129845gmail-"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 2, 2017 at 2:47 AM, joerg robl <span dir="ltr"><<a href="mailto:joerg.robl@gmail.com" target="_blank">joerg.robl@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"><div>    ret.append('name={}'.format(tn<wbr>ode.get('name').strip()))<br>ValueError: zero length field name in format</div></blockquote></div><br><br></div></span><div class="gmail_extra">This is Python 2.6 versus 2.7. I'll look into that.</div></blockquote></div><br></div></div></div><div class="gmail_extra">Please (thoroughly) test r70476.<br><br><a href="https://trac.osgeo.org/grass/changeset/70476" target="_blank">https://trac.osgeo.org/grass/c<wbr>hangeset/70476</a><br><br></div><div class="gmail_extra">I did the basic changes using the following command:<br><br>for F in `grep --exclude-dir={.svn,.git,OBJ.*<wbr>,locale,dist.*,html,latex,buil<wbr>d} -IrnE "\{\}.*format" | grep -Ev "\s#" | sed -e "s+\([^:]*\).*+\1+g" | grep -E "\.py$" | uniq`; do sed -ie "s+\({}\)\([^{}]*\.format\)+{0<wbr>}\2+g" $F; done;<br><br> and then reviewed the rest using:<br><br>grep --exclude-dir={.svn,.git,OBJ.*<wbr>,locale,dist.*,html,latex,buil<wbr>d} -IrnE "\{\}"<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">Vaclav<br></div></font></span></div>
</blockquote></div><br></div>