#2534: i.segment.hierarchical install error -----------------------+------------------------------------ Reporter: dnewcomb | Owner: grass-dev@… Type: defect | Status: reopened Priority: normal | Milestone: 7.0.5 Component: Addons | Version: svn-releasebranch70 Resolution: | Keywords: i.segment.hierarchical CPU: x86-64 | Platform: Linux -----------------------+------------------------------------ Changes (by mlennert):
* status: closed => reopened * resolution: worksforme => Comment: Replying to [comment:6 martinl]: > Tested with 7.0.5svn, `i.segment.hierarchical` installation works. I am taking liberty to close the ticket, feel free to reopen if needed. Reopening, since I can reproduce the error in trunk, but I think I found the reason: {{{ g.extension i.segment.hierarchical g.extension i.segment.hierarchical op=remove -f g.extension i.segment.hierarchical }}} The first installation works, although I get the following warning: {{{ Makefile:17: warning: overriding recipe for target '/tmp/grass7-mlennert-30404/tmpeM5UTQ/i.segment.hierarchical/etc/i.segment.hierarchical' /home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux- gnu/include/Make/ScriptRules.make:19: warning: ignoring old recipe for target '/tmp/grass7-mlennert-30404/tmpeM5UTQ/i.segment.hierarchical/etc/i.segment.hierarchical' Installing... Makefile:17: warning: overriding recipe for target '/tmp/grass7-mlennert-30404/tmpeM5UTQ/i.segment.hierarchical/etc/i.segment.hierarchical' /home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux- gnu/include/Make/ScriptRules.make:19: warning: ignoring old recipe for target '/tmp/grass7-mlennert-30404/tmpeM5UTQ/i.segment.hierarchical/etc/i.segment.hierarchical' Updating addons metadata file... }}} However, the second installation attempt gives me the same error message as originally reported: {{{ > g.extension i.segment.hierarchical Fetching <i.segment.hierarchical> from GRASS GIS Addons repository (be patient)... Compiling... Makefile:17: warning: overriding recipe for target '/tmp/grass7-mlennert-30404/tmpQxRkKD/i.segment.hierarchical/etc/i.segment.hierarchical' /home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-linux- gnu/include/Make/ScriptRules.make:19: warning: ignoring old recipe for target '/tmp/grass7-mlennert-30404/tmpQxRkKD/i.segment.hierarchical/etc/i.segment.hierarchical' Traceback (most recent call last): File "/tmp/grass7-mlennert-30404/tmpQxRkKD/i.segment.hierarchical/scripts/i.segment.hierarchical", line 154, in <module> from isegpatch import rpatch_map ImportError: No module named isegpatch make: *** [i.segment.hierarchical.tmp.html] Error 1 ERROR: Compilation failed, sorry. Please check above error messages. }}} The issue seems to be an emtpy ~/.grass7/addons/etc/i.segment.hierarchical directory. When I erase that directory, installation works again (with the above warnings). -- Ticket URL: <http://trac.osgeo.org/grass/ticket/2534#comment:7> GRASS GIS <https://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev