[GRASS-user] error in g.extension while installing i.fusion.hpf in windows

Veronica Andreo veroandreo at gmail.com
Fri Mar 19 05:09:45 PDT 2021


Hi Nikos

I can try it because I'm using Linux, but installing branches or installing
add-ons from urls is not supported for windows, and the error comes when
students using windows try to install the add-on (not in linux). So even if
I try the gitlab branch here, I cannot tell if all will be fine in windows
then...

Vero

El vie, 19 mar 2021 a las 13:02, <nik at nikosalexandris.net> escribió:

> Can you try this branch
> https://gitlab.com/NikosAlexandris/i.fusion.hpf/-/tree/encoding
>
> (commit:
> https://gitlab.com/NikosAlexandris/i.fusion.hpf/-/commit/86c2ae92f158c09947ae366bf20dbf3794b8f191
> )
>
> ?
> ---
>
>
>
> On 2021-03-19 12:18, Veronica Andreo wrote:
>
> I'd really appreciate Nikos! :)
>
> El vie, 19 mar 2021 a las 8:28, <nik at nikosalexandris.net> escribió:
>
> Vero,
>
>
> I'll try to have a quick look on that during the WE (work overloaded here).
>
> Hopefully it's something trivial, like this suggestion:
>
> https://stackoverflow.com/a/60197939/1172302
>
>
> Nikos
> ---
>
>
>
> On 2021-03-18 13:35, Veronica Andreo wrote:
>
> Hello list,
>
> A student is getting the following error when trying to install
> i.fusion.hpf
>
> C:\>g.extension extension=i.fusion.hpf
> Downloading precompiled GRASS Addons <i.fusion.hpf>...
> Fetching <i.fusion.hpf> from
> <
> http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.5/i.fusion.hpf.zip
> >
> (be patient)...
> Traceback (most recent call last):
>   File "C:\OSGEO4~1\apps\grass\grass78/scripts/g.extension.py", line
> 2350, in <module>
>     sys.exit(main())
>   File "C:\OSGEO4~1\apps\grass\grass78/scripts/g.extension.py", line
> 2330, in main
>     install_extension(source=source, url=url, xmlurl=xmlurl, branch=branch)
>   File "C:\OSGEO4~1\apps\grass\grass78/scripts/g.extension.py", line 871,
> in install_extension
>     ret1, new_modules_ext, new_files_ext = install_extension_win(extension)
>   File "C:\OSGEO4~1\apps\grass\grass78/scripts/g.extension.py", line
> 1259, in install_extension_win
>     for line in file:
>   File "C:\OSGEO4~1\apps\Python37\lib\fileinput.py", line 252, in __next__
>     line = self._readline()
>   File "C:\OSGEO4~1\apps\Python37\lib\fileinput.py", line 366, in _readline
>     return self._readline()
>   File "C:\OSGEO4~1\apps\Python37\lib\encodings\cp1252.py", line 23, in
> decode
>     return codecs.charmap_decode(input,self.errors,decoding_table)[0]
>
> UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position
> 401: character maps to <undefined>
>
> Here his settings:
>
> Versión de GRASS: 7.8.5
> Code revision: 2b6ab2893
> Fecha de compilación: 2020-12-21
> Construir plataforma: x86_64-w64-mingw32
> GDAL: 3.1.4
> PROJ: 6.3.2
> GEOS: 3.8.1
> SQLite: 3.29.0
> Python: 3.7.0
> wxPython: 4.0.7
> Plataforma: Windows-10-10.0.19041-SP0 (OSGeo4W)
>
> Any ideas?? He can install other extensions without problems.
>
> Thanks in advance
>
> Vero
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210319/377e005b/attachment.html>


More information about the grass-user mailing list