[GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
GRASS GIS
trac at osgeo.org
Tue Jun 25 13:19:10 PDT 2013
#1619: v.krige won't load: ImportError: No module named globalvar
---------------------+------------------------------------------------------
Reporter: momsen | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Python | Version: svn-trunk
Keywords: v.krige | Platform: Linux
Cpu: x86-64 |
---------------------+------------------------------------------------------
Comment(by hamish):
Replying to [comment:11 annakrat]:
> Replying to [comment:10 hamish]:
> > not sure how to fix that; the same works in devbr6.
...
> > If I comment out the `self.InputDataColumn.SetSelection(0)` line the
> > v.krige GUI starts in trunk, so it isn't too badly broken.
>
> right, I removed it in r56920.
I guess that's one way of fixing it :) but there are a couple more like
it.
what do they do?
{{{
wxpython/scripts/vkrige.py", line 212, in OnInputDataChanged
self.InputDataColumn.SetSelection(0)
AttributeError: 'ColumnSelect' object has no attribute 'SetSelection'
}}}
and after commenting that out ...
{{{
wxpython/scripts/vkrige.py", line 213, in OnInputDataChanged
self.RunButton.Enable(self.InputDataColumn.GetSelection() is not -1)
AttributeError: 'ColumnSelect' object has no attribute 'GetSelection'
}}}
but then the [Plot/refresh variogram] button never lights up, nor the
[Run] button, and the suggested output map names don't get filled in.
> > (v.krige now updated in devbr6 to reflect recent wxgui dir layout
> > changes & starts up ok there)
still a couple tracebacks there re. `'FlatNotebook' object has no
attribute 'SetSelectionByName'` and `if globals()["InputData"] is None:
... KeyError: 'InputData'`.
see yesterday's comments in #1196.
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1619#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list