Dear Vaclav, 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. 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.
Thank you for your help! cheers Jörg 2017-02-02 16:46 GMT+01:00 Vaclav Petras <[email protected]>: > > On Thu, Feb 2, 2017 at 9:40 AM, Vaclav Petras <[email protected]> > wrote: > >> On Thu, Feb 2, 2017 at 2:47 AM, joerg robl <[email protected]> wrote: >> >>> ret.append('name={}'.format(tnode.get('name').strip())) >>> ValueError: zero length field name in format >>> >> >> >> This is Python 2.6 versus 2.7. I'll look into that. >> > > Please (thoroughly) test r70476. > > https://trac.osgeo.org/grass/changeset/70476 > > I did the basic changes using the following command: > > for F in `grep --exclude-dir={.svn,.git,OBJ.* > ,locale,dist.*,html,latex,build} -IrnE "\{\}.*format" | grep -Ev "\s#" | > sed -e "s+\([^:]*\).*+\1+g" | grep -E "\.py$" | uniq`; do sed -ie > "s+\({}\)\([^{}]*\.format\)+{0}\2+g" $F; done; > > and then reviewed the rest using: > > grep --exclude-dir={.svn,.git,OBJ.*,locale,dist.*,html,latex,build} -IrnE > "\{\}" > > Vaclav >
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
