[GRASS-dev] [GRASS GIS] #2968: g.extension problem with module containing various python files: "ImportError: No module named"

GRASS GIS trac at osgeo.org
Fri Apr 1 08:52:45 PDT 2016


#2968: g.extension problem with module containing various python files:
"ImportError: No module named"
---------------------+-------------------------
  Reporter:  lrntct  |      Owner:  martinl
      Type:  defect  |     Status:  assigned
  Priority:  major   |  Milestone:  7.0.4
 Component:  Addons  |    Version:  svn-trunk
Resolution:          |   Keywords:  g.extension
       CPU:  x86-64  |   Platform:  Linux
---------------------+-------------------------

Comment (by lrntct):

 Removing `~.grass7/addons` solved the problem for v.class ml (see #2480),
 but r.agent still fail:
 {{{
 Fetching <r.agent> from GRASS GIS Addons repository (be patient)...
 Compiling...
 Traceback (most recent call last):
   File "/tmp/grass7-laurent-14181/tmplbTgeR/r.agent/scripts/r.agent.aco",
 line 234, in <module>
     import error, grassland, anthill
 ImportError: No module named error
 make[1]: *** [r.agent.aco.tmp.html] Error 1
 /bin/sh: 1: cannot create /usr/lib/grass71/error.log: Permission denied
 make: *** [r.agent.aco] Error 2
 ERROR: Compilation failed, sorry. Please check above error messages.
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2968#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list