[GRASS-user] error in g.extension, add-ons not written in GUI
Veronica Andreo
veroandreo at gmail.com
Thu Jul 18 06:49:17 PDT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190718/51f8a9ee/attachment.html>
More information about the grass-user
mailing list