[GRASS-user] error in g.extension, add-ons not written in GUI

Veronica Andreo veroandreo at gmail.com
Tue Jul 23 09:50:56 PDT 2019


Hi Anna,

Thanks for your answer.

El vie., 19 jul. 2019 a las 6:09, Anna Petrášová (<kratochanna at gmail.com>)
escribió:

> Could you create a ticket for this with info on Python version, locale
> etc.? This happens with any addon? (at least couple randomly tried ones)
>

Sorry for the late response, since it's not my laptop, I could only collect
the data needed today.
Pls, see the ticket #3874 (https://trac.osgeo.org/grass/ticket/3874)

Thanks much in advance!
Vero


> On Thu, Jul 18, 2019 at 9:49 AM Veronica Andreo <veroandreo at gmail.com>
> wrote:
>
>> Hi all,
>>
>> I just compiled grass77 in a Linux Mint 19.1 Cinamon laptop following the
>> instructions here:
>> https://grasswiki.osgeo.org/wiki/Compile_and_Install#Linux_Mint
>>
>> All is fine, but when we install any add-on, we get:.
>> g.extension r.seasons
>> Fetching <r.seasons> from GRASS GIS Addons repository (be patient)...
>> Compiling...
>> Installing...
>> Updating addons metadata file...
>> Updating private addons metadata file...
>> Traceback (most recent call last):
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 1933, in <module>
>>     sys.exit(main())
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 1913, in main
>>     install_extension(source=source, url=url, xmlurl=xmlurl)
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 704, in install_extension
>>     blist = install_private_extension_xml(tmp_dir, mlist)
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 1006, in install_private_extension_xml
>>     write_xml_modules(xml_file, tree)
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 603, in write_xml_modules
>>     (' ' * indent, tnode.find('keywords').text))
>> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in
>> position 19: ordinal not in range(128)
>>
>> GRASS 7.7.dev (nc_basic_spm_grass7):~ > g.extension extension=v.class.mlR
>> Fetching <v.class.mlR> from GRASS GIS Addons repository (be patient)...
>> Compiling...
>> Installing...
>> Updating addons metadata file...
>> Updating private addons metadata file...
>> Traceback (most recent call last):
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 1933, in <module>
>>     sys.exit(main())
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 1913, in main
>>     install_extension(source=source, url=url, xmlurl=xmlurl)
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 704, in install_extension
>>     blist = install_private_extension_xml(tmp_dir, mlist)
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 1006, in install_private_extension_xml
>>     write_xml_modules(xml_file, tree)
>>   File
>> "/home/carla/software/grass-7.7.git/dist.x86_64-pc-linux-gnu/scripts/g.extension",
>> line 603, in write_xml_modules
>>     (' ' * indent, tnode.find('keywords').text))
>> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in
>> position 29: ordinal not in range(128)
>>
>> The add-on is indeed installed, but it is not added to the list of
>> extensions in the GUI. Is there something we are missing here or in the
>> instructions for Mint?? I cannot reproduce in my Fedora box with freshly
>> re-compiled grass77
>>
>> Any hint is wellcome :)
>> Cheers,
>> Vero
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190723/dd3e7212/attachment.html>


More information about the grass-user mailing list