[GRASS-dev] [GRASS GIS] #1196: v.krige.py fails with ImportError: No module named vkrige

GRASS GIS trac at osgeo.org
Mon Jun 24 22:19:07 PDT 2013


#1196: v.krige.py fails with ImportError: No module named vkrige
---------------------+------------------------------------------------------
  Reporter:  marisn  |       Owner:  grass-dev@…              
      Type:  defect  |      Status:  reopened                 
  Priority:  normal  |   Milestone:  6.5.0                    
 Component:  Python  |     Version:  svn-develbranch6         
Resolution:          |    Keywords:  v.krige                  
  Platform:  Linux   |         Cpu:  x86-64                   
---------------------+------------------------------------------------------
Changes (by hamish):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 ... in devbr6 it works from the command line but the GUI window still
 gives a couple of tracebacks:


  * After loading a map and selecting a column, press [Plot/refresh
 variogram], and:
 {{{

 Traceback (most recent call last):
   File "/home/hamish/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu\
     /etc/wxpython/scripts/vkrige.py", line 445, in OnPlotButton
     if globals()["InputData"] is None:
 KeyError: 'InputData'
 }}}

 the global var isn't making it out of the outer v.krige.py wrapper..?


 and,

  * if you press [Run]
 {{{
 Traceback (most recent call last):
   File "/home/hamish/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu\
     /etc/wxpython/scripts/vkrige.py", line 257, in OnRunButton
     self.goutput.RunCmd(command, switchPage = True)
   File "/home/hamish/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu\
     /etc/wxpython/gui_core/goutput.py", line 587, in RunCmd
     self._notebook.SetSelectionByName('output')
 AttributeError: 'FlatNotebook' object has no attribute
 'SetSelectionByName'
 }}}


 any hints?


 thanks,
 Hamish

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



More information about the grass-dev mailing list