pesekon2 / GRASS-GIS-SOS-tools

My Google Summer of Code 2017 project. This is just development part. Intended GRASS GIS modules and final code will be at https://svn.osgeo.org/grass/grass-addons/
GNU General Public License v2.0
3 stars 1 forks source link

g.extension installation not finding soslib for the first time #48

Closed pesekon2 closed 3 years ago

pesekon2 commented 3 years ago

When trying to install modules with the command [0], you have to run it twice because it will not find soslib for the first time.

[0] g.extension ext=sos url=/home/ondrej/workspace/sos/sos/

Fetching <sos> from </home/ondrej/workspace/sos/sos> (be patient)...
Compiling...
Installing...
Updating extensions metadata file...
Updating extension modules metadata file...
WARNING: No metadata available for module 'sos'.
Installation of <sos> successfully finished
GRASS nc_basic_spm_grass7/user1:grass > g.extension sos op=remove -f
GRASS nc_basic_spm_grass7/user1:grass > g.extension ext=sos url=/home/ondrej/workspace/sos/sos/
Fetching <sos> from </home/ondrej/workspace/sos/sos> (be patient)...
Compiling...
Traceback (most recent call last):
  File "/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/scripts/v.in.sos", line 185, in <module>
    from soslib import *
ModuleNotFoundError: No module named 'soslib'
make[1]: *** [/usr/local/grass79/include/Make/Html.make:14: v.in.sos.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/scripts/r.in.sos", line 189, in <module>
    from soslib import *
ModuleNotFoundError: No module named 'soslib'
make[1]: *** [/usr/local/grass79/include/Make/Html.make:14: r.in.sos.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/scripts/t.vect.in.sos", line 171, in <module>
    from soslib import *
ModuleNotFoundError: No module named 'soslib'
make[1]: *** [/usr/local/grass79/include/Make/Html.make:14: t.vect.in.sos.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/scripts/t.rast.in.sos", line 180, in <module>
    from soslib import xml2geojson, json2geojson
ModuleNotFoundError: No module named 'soslib'
make[1]: *** [/usr/local/grass79/include/Make/Html.make:14: t.rast.in.sos.tmp.html] Error 1
Installing...
/usr/bin/install: cannot stat '/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/docs/html/v.in.sos.html': No such file or directory
make[1]: *** [/usr/local/grass79/include/Make/Script.make:36: install] Error 1
/usr/bin/install: cannot stat '/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/docs/html/r.in.sos.html': No such file or directory
make[1]: *** [/usr/local/grass79/include/Make/Script.make:36: install] Error 1
/usr/bin/install: cannot stat '/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/docs/html/t.vect.in.sos.html': No such file or directory
make[1]: *** [/usr/local/grass79/include/Make/Script.make:36: install] Error 1
/usr/bin/install: cannot stat '/tmp/grass7-ondrej-20965/tmpgmah6lhl/sos/docs/html/t.rast.in.sos.html': No such file or directory
make[1]: *** [/usr/local/grass79/include/Make/Script.make:36: install] Error 1
make: *** [/usr/local/grass79/include/Make/Dir.make:19: installsubdirs] Error 2
WARNING: Installation failed, sorry. Please check above error messages.