#1196: v.krige.py fails with ImportError: No module named vkrige
--------------------+-------------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Keywords: | Platform: Linux
Cpu: x86-64 |
--------------------+-------------------------------------------------------
GRASS 6.5 r43904
{{{
GRASS 6.5.svn (personal_spearfish_60):~/soft/grass6_devel > v.krige.py
Loading packages, please wait...
Loading required package: sp
Loading required package: rgdal
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.7.2, released 2010/04/23
Path to GDAL shared files: /usr/share/gdal
Loaded PROJ.4 runtime: Rel. 4.7.1, 23 September 2009
Path to PROJ.4 shared files: (autodetected)
Loading required package: XML
GRASS GIS interface loaded with GRASS version: 6.5.svn
and location: personal_spearfish_60
Loading required package: foreign
Loading required package: lattice
Note: polygon geometry computations in maptools
depend on the package gpclib, which has a
restricted licence. It is disabled by default;
to enable gpclib, type gpclibPermit()
Checking rgeos availability as gpclib substitute:
FALSE
Traceback (most recent call last):
File "/home/maris/soft/grass6_devel/dist.x86_64-unknown-linux-
gnu/scripts/v.krige.py", line 422, in <module>
main()
File "/home/maris/soft/grass6_devel/dist.x86_64-unknown-linux-
gnu/scripts/v.krige.py", line 312, in main
import vkrige as GUI
ImportError: No module named vkrige
}}}
... 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'
}}}