[GRASS-dev] issue with the compilation of several addons: ImportError: No module named lib.gis

Hi,

Several addon modules are currently not compiled (imagery/i.cutlines, imagery/i.fusion.hpf, imagery/i.image.bathymetry, raster/r.cell.area, raster/r.gradient, raster/r.series.filter, etc). All show the same error message: "ImportError: No module named lib.gis".

Any ideas where this comes from ?

Moritz

I assume some problem with ctypes compilation.

On Wed, Sep 25, 2019 at 5:56 AM Moritz Lennert <mlennert@club.worldonline.be> wrote:

Hi,

Several addon modules are currently not compiled (imagery/i.cutlines,
imagery/i.fusion.hpf, imagery/i.image.bathymetry, raster/r.cell.area,
raster/r.gradient, raster/r.series.filter, etc). All show the same error
message: “ImportError: No module named lib.gis”.

Any ideas where this comes from ?

Moritz


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

On Wed, Sep 25, 2019 at 2:39 PM Anna Petrášová <kratochanna@gmail.com> wrote:

I assume some problem with ctypes compilation.

Some time ago, I had to run
git checkout lib/python/ctypes/ctypesgencore/parser/lextab.py

to cleanup my local system(s). Maybe that's needed on the server
compiling the addons as well?
@Martin Landa could you check please?

Markus

On Wed, Sep 25, 2019 at 5:56 AM Moritz Lennert <mlennert@club.worldonline.be> wrote:

Hi,

Several addon modules are currently not compiled (imagery/i.cutlines,
imagery/i.fusion.hpf, imagery/i.image.bathymetry, raster/r.cell.area,
raster/r.gradient, raster/r.series.filter, etc). All show the same error
message: "ImportError: No module named lib.gis".

Any ideas where this comes from ?

Moritz

Hi,

st 25. 9. 2019 v 16:19 odesílatel Markus Neteler <neteler@osgeo.org> napsal:

@Martin Landa could you check please?

right, fixed [1]. Martin

[1] https://grass.osgeo.org/addons/grass7/logs/i.cutlines.log

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa