[GRASS-user] grass72 or higher on RHEL6

joerg robl joerg.robl at gmail.com
Thu Feb 2 10:24:59 PST 2017


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 <wenzeslaus at gmail.com>:

>
> On Thu, Feb 2, 2017 at 9:40 AM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
>
>> On Thu, Feb 2, 2017 at 2:47 AM, joerg robl <joerg.robl at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170202/0efa76e6/attachment.html>


More information about the grass-user mailing list