[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-user
Subject: Re: [GRASS-user] GRASS, ordinal not in range(128)
From: Markus Neteler <neteler () osgeo ! org>
Date: 2017-03-22 22:44:54
Message-ID: CALFmHhvifRSK76Fv2nyLJv0EnSb_E+fUuAQqzDxB5_mYaEUwjQ () mail ! gmail ! com
[Download RAW message or body]
On Wed, Mar 22, 2017 at 8:21 PM, Andres Solarte
<e.andres.solartec@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
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic