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

Helmut Kudrnovsky hellik at web.de
Thu Mar 18 13:45:35 PDT 2021


>What surprises me a bit:
>
>file *
>constants.py:                    Python script, UTF-8 Unicode text executable
>high_pass_filter.py:             Python script, ASCII text executable
>i.fusion.hpf.html:               HTML document, ASCII text
>i_fusion_hpf_lsat7_hpf_rgb.png:  PNG image data, 1327 x 840,
>8-bit/color RGB, non-interlaced
>i_fusion_hpf_lsat7_orig_rgb.png: PNG image data, 1327 x 840,
>8-bit/color RGB, non-interlaced
>i.fusion.hpf.py:                 Python script, ASCII text executable
>licenses:                        directory
>Makefile:                        ASCII text
>README.md:                       UTF-8 Unicode text
>test_high_pass_filter.py:        Python script, ASCII text executable
>
>--> some .py files are UTF-8, some are not.... shall this be streamlined?

downloading the zipped addon, which is used by g.extension in windows, from here:
https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/latest/

in the subfolder i.fusion.hpf\etc\i.fusion.hpf, there is a subfolder __pycache__

i.fusion.hpf\etc\i.fusion.hpf\__pycache__>ls

constants.cpython-37.pyc
high_pass_filter.cpython-37.pyc

the compiled python bytecode shouldn't be there in the zip file.

@Martin: anything to change on the compilation server?

ciao
Helli


More information about the grass-user mailing list