NikosAlexandris / i.fusion.hpf

Replication of the High-Pass Filter Addition Image Fusion for GRASS-GIS (Python script)
13 stars 4 forks source link

i.fusion.hpf module installation error #16

Open minho73 opened 3 years ago

minho73 commented 3 years ago

Dear Alexadris,

I am using GRASS GIS 7.8.5 and trying to install the add-on module. Whenever I attempted to install the module, GRASS GIS issued the attached error message. I used the module a few years ago, at that time there was no problem in installing it. Would you please look at the error message and let me know any solution? I will use the module to teach my lab for undergraduate students. Thank you for your consideration in advance.

P.S. The GRASS GIS was installed via OSGeo4W.

Sincerely,

ifusionhpf installation error

NikosAlexandris commented 3 years ago

I am sorry I didn't notice this issue earlier. This must have been resolved now after the latest additions to g.extension. Can you please try again, if this issue is still of interest?

minho73 commented 3 years ago

Dear Nikos,

Thank you for your reply.

I tried to install the addon module, but it did not succeed. Here I attach an error message issued during the installation procedure.

Would you please look over it and provide any solution, if possible?

Thank you again and hope to have a good day.

Sincerely,

Minho Kim, Ph.D.

Associate Professor School of Space and Environment Studies, Sangmyung University 20 Hongjimun 2 Gil, Jongno-gu, Seoul, Republic of Korea (03016) Tel: +82-2-781-7563 Fax: +82-8-2287-0058 Web (in Korean): https://www.smu.ac.kr/space/faculty/faculty.do?mode=view&empNo=10710111&pager.offset=0&pagerLimit=20 Google Scholar: https://scholar.google.com/citations?user=MUpaeAMAAAAJ

On Tue, Jun 1, 2021 at 8:56 PM Nikos Alexandris @.***> wrote:

I am sorry I didn't notice this issue earlier. This must have been resolved now after the latest additions to g.extension. Can you please try again, if this issue is still of interest?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NikosAlexandris/i.fusion.hpf/issues/16#issuecomment-852064401, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFLZYY7LPI2EJXCH7NZWPTTQTDFVANCNFSM4Y5ZQH2A .

(Wed Jun 2 14:04:24 2021)
g.extension extension=i.fusion.hpf operation=add
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:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py", line 2350, in sys.exit(main()) File "C:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py", line 2330, in main install_extension(source=source, url=url, xmlurl=xmlurl, branch=branch) File "C:\OSGeo4W64\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:\OSGeo4W64\apps\grass\grass78/scripts/g.extension.py", line 1259, in install_extension_win for line in file: File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line 252, in next line = self._readline() File "C:\OSGeo4W64\apps\Python37\lib\fileinput.py", line 366, in _readline return self._readline() UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 382: illegal multibyte sequence (Wed Jun 2 14:04:32 2021) Command finished (8 sec)

NikosAlexandris commented 3 years ago

I thought this shouldn't be a problem anymore, after some recent updates that fix things when it comes to install extensions under Windows. I will try to install some virtual Windows version and try. But best would be from someone who runs on Windows natively, I think.