[GRASS-user] GRASS, ordinal not in range(128)
Markus Neteler
neteler at osgeo.org
Wed Mar 22 15:44:54 PDT 2017
On Wed, Mar 22, 2017 at 8:21 PM, Andres Solarte
<e.andres.solartec at gmail.com> wrote:
> Hello,
>
> I made two changes for this issue.
>
> 1. In the file ...etc/python/grass/temporal/register.py (line 422 for me), I
> added the marked in red
>
> else:
> msgr.debug(1, _(("Set absolute valid time for map <%s> to %s - %s")
> % (map.get_map_id(), str(start_time),
> str(end_time))).encode('utf8'))
well, msgr.debug() should not have the _() macro at all.
Debug should not go into translations.
> There is a similar issue after that, so I added the marked in red in the
> file
> ...etc/python/grass/temporal/abstract_space_time_dataset.py (line 2282)
>
> self.msgr.verbose(_(("Update metadata, spatial and temporal extent from"
> " all registered maps of <%s>") %
> (self.get_id())).encode('utf8'))
.. this one is of course eligible.
> Now, I don't have problems with accents
Thanks for checking!
To be fixed by our Python gurus in SVN :)
Markus
More information about the grass-user
mailing list