Comments (5)
Is it reproducible in a new, clean environment, like a docker container, so we could eliminate the possibility of having a broken Python environment alltogether?
from grass-addons.
Yes:
# docker/podman
docker run -it -v .:/src --rm fedora:38 bash
First attempt with G8.2.1:
# OT: svn still needed as a dependency (if not, I'll update the RPM spec file)?
[root@7f237af87f91 /]# dnf install grass-devel grass make gcc svn
[root@7f237af87f91 /]# grass --tmp-location XY --exec g.extension i.fusion.hpf
Starting GRASS GIS...
Creating new GRASS GIS location <tmploc>...
Cleaning up temporary files...
Executing <g.extension i.fusion.hpf> ...
Fetching <i.fusion.hpf> from GRASS GIS Addons repository (be patient)...
svn: E170013: Unable to connect to a repository at URL 'https://github.com/OSGeo/grass-addons/branches/grass8/src/imagery/i.fusion.hpf'
svn: E160013: '/OSGeo/grass-addons/branches/grass8/src/imagery/i.fusion.hpf' path not found
ERROR: GRASS Addons <i.fusion.hpf> not found
Execution of <g.extension i.fusion.hpf> finished.
Cleaning up temporary files...
Second attempt with G8.4:
# following https://grasswiki.osgeo.org/wiki/Compile_and_Install#Fedora
[root@5e0cca00834f grass-8.3.git_src_snapshot_2024_01_06]# bin.x86_64-pc-linux-gnu/grass --tmp-location XY --exec g.extension i.fusion.hpf
Fetching <i.fusion.hpf> from <https://github.com/OSGeo/grass-addons/> (be
patient)...
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 27 (delta 0), reused 0 (delta 0), pack-reused 17
Receiving objects: 100% (27/27), 1.07 MiB | 8.57 MiB/s, done.
Already on 'grass8'
Your branch is up to date with 'origin/grass8'.
Compiling...
Traceback (most recent call last):
File "/tmp/grass8-root-23185/tmp36u_6c8k/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/scripts/i.fusion.hpf", line 202, in <module>
from high_pass_filter import (
ModuleNotFoundError: No module named 'high_pass_filter'
make: *** [/root/grass-8.3.git_src_snapshot_2024_01_06/dist.x86_64-pc-linux-gnu/include/Make/Html.make:14: i.fusion.hpf.tmp.html] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
from grass-addons.
It still worked in the main branch on 8th of Nov, 2023. Later versions from December I have not tested.
from grass-addons.
Here with --verbose
:
GRASS nc_spm_08_grass7/user1:addons > g.extension i.fusion.hpf --verbose
Type of source identified as 'official'.
Fetching <i.fusion.hpf> from <https://github.com/OSGeo/grass-addons/> (be
patient)...
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 27 (delta 0), reused 0 (delta 0), pack-reused 17
Receiving objects: 100% (27/27), 1.07 MiB | 3.09 MiB/s, done.
Already on 'grass8'
Your branch is up to date with 'origin/grass8'.
Compiling...
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/bin
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/etc
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/docs/html
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/docs/man
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/docs/man/man1
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/scripts
/usr/bin/install -c i.fusion.hpf.py /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/scripts/i.fusion.hpf
mkdir -p /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/etc/i.fusion.hpf
/usr/bin/install -c -m 644 constants.py /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/etc/i.fusion.hpf/constants.py
/usr/bin/install -c -m 644 high_pass_filter.py /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/etc/i.fusion.hpf/high_pass_filter.py
python3 -t -m py_compile /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/etc/i.fusion.hpf/constants.py
python3 -t -m py_compile /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/etc/i.fusion.hpf/high_pass_filter.py
if [ "/home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/scripts/i.fusion.hpf" != "" ] ; then GISRC=/home/mneteler/tmp/grass8-mneteler-2692454/gisrc GISBASE=/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu PATH="/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/bin:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/bin:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/etc/python:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/bin:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/bin:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/scripts:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/lib:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/lib:/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/lib" LC_ALL=C LANG=C LANGUAGE=C /home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/scripts/i.fusion.hpf --html-description < /dev/null | grep -v '</body>\|</html>\|</div> <!-- end container -->' > i.fusion.hpf.tmp.html ; fi
Traceback (most recent call last):
File "/home/mneteler/tmp/grass8-mneteler-2692454/tmpln8xq089/i.fusion.hpf/grass_addons/src/imagery/i.fusion.hpf/scripts/i.fusion.hpf", line 202, in <module>
from high_pass_filter import (
ModuleNotFoundError: No module named 'high_pass_filter'
make: *** [/home/mneteler/software/grass_main/dist.x86_64-pc-linux-gnu/include/Make/Html.make:14: i.fusion.hpf.tmp.html] Error 1
rm i.fusion.hpf.tmp.html
ERROR: Compilation failed, sorry. Please check above error messages.
from grass-addons.
Fixed in OSGeo/grass#3353
from grass-addons.
Related Issues (20)
- v.db.pyupdate warning during installation
- [Feat] i.sentinel.import: handle processing baselines HOT 3
- [Bug] Add concurrency groups/cancel in progress for skipping outdated CI runs
- Add tests to i.modis, i.landsat, i.sentinel download HOT 23
- Addons for plotting: Standardize parameters and flags HOT 3
- [Bug] r.accumulate segfaults without specifying accumulation_type
- r.landscape.evol: Incorrect number of seconds in a day HOT 1
- [Bug] r.connectivity.distance error HOT 1
- [Bug] g.extension uses wrong path HOT 3
- Remove master branch HOT 1
- docs: wrong URI in SUBMITTING HOT 1
- [Bug] v.in.natura2000: update input data format from spatialite to geopackage
- v.rast.move: empty keywords break addon overview script HOT 2
- [Bug] i.sentinel.download: give warning instead of errors if single files are corrupt
- v.surf.mass: Input should be vector "area" map? HOT 1
- [Bug] testsuite: do not run tests for deprecated module HOT 4
- [Bug] m.tnm.download and m.cdo.download fail to build on Windows server due to using external Python library requests
- r.stream.distance elevations with value of -1 [Bug]
- [Bug] Remove r.sim.water.mp from addons
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grass-addons.