[GRASS-dev] [GRASS GIS] #2480: v.class.ml: ImportError: No module named training_extraction

GRASS GIS trac at osgeo.org
Fri Jan 9 00:18:08 PST 2015


#2480: v.class.ml: ImportError: No module named training_extraction
------------------------------------+---------------------------------------
 Reporter:  mlennert                |       Owner:  grass-dev@…              
     Type:  defect                  |      Status:  new                      
 Priority:  normal                  |   Milestone:                           
Component:  Addons                  |     Version:  svn-releasebranch70      
 Keywords:  v.class.ml g.extension  |    Platform:  Unspecified              
      Cpu:  Unspecified             |  
------------------------------------+---------------------------------------

Comment(by mlennert):

 Replying to [comment:6 martinl]:
 > Replying to [comment:5 nikosa]:
 > > > However, when I use g.extension, only the main script gets copied to
 .grass7/addons/scripts whereas nothing is copied to .grass7/addons/etc.
 > >
 > > g.extension fails here too.
 >
 > please try recent version, this issue should be fixed also in g70.

 Trunk, make distcleaned, updated, and compiled yesterday (r63985):


 {{{
 g.extension extension=v.class.ml svnurl=http://svn.osgeo.org/grass/grass-
 addons/grass7
 Fetching <v.class.ml> from GRASS-Addons SVN repository (be patient)...
 Compiling...
 Traceback (most recent call last):
   File "/tmp/tmpJCQjBq/v.class.ml/scripts/v.class.ml", line
 387, in <module>
     from training_extraction import extract_training
 ImportError: No module named training_extraction
 make: *** [v.class.ml.tmp.html] Error 1
 ERROR: Compilation failed, sorry. Please check above error messages.
 }}}

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2480#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list