[GRASS-user] GRASS, ordinal not in range(128)

Laurent C. lrntct at gmail.com
Wed Jun 14 07:40:34 PDT 2017


Hello,

I just discover this thread. It seems to be the same issue I've
reported two months ago:

https://trac.osgeo.org/grass/ticket/3338

Best regards,
Laurent

2017-03-22 16:44 GMT-06:00 Markus Neteler <neteler at osgeo.org>:
> 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
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list