[GRASS-dev] [GRASS GIS] #4014: v.krige addon: ImportError: cannot import name '_' from 'core.utils'

GRASS GIS trac at osgeo.org
Fri Jan 10 12:18:19 PST 2020


#4014: v.krige addon: ImportError: cannot import name '_' from 'core.utils'
--------------------------+-------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Addons       |    Version:  unspecified
Resolution:               |   Keywords:  v.krige
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by neteler):

 Thanks, that helps.

 Still, there is a new error:

 {{{
 g.extension v.krige

 v.krige
 Loading dependencies, please wait...
 ...
 Traceback (most recent call last):
   File "/home/mneteler/.grass7/addons/scripts/v.krige", line 461, in
 <module>
     main()
   File "/home/mneteler/.grass7/addons/scripts/v.krige", line 349, in main
     controller=controller)
   File "/home/mneteler/.grass7/addons/etc/v.krige/vkrige_wxgui.py", line
 415, in __init__
     self.Panel = KrigingPanel(self, Rinstance, controller)
   File "/home/mneteler/.grass7/addons/etc/v.krige/vkrige_wxgui.py", line
 127, in __init__
     controller=controller)
   File "/home/mneteler/.grass7/addons/etc/v.krige/vkrige_wxgui.py", line
 273, in CreatePage
     controller=controller)))
   File "/home/mneteler/.grass7/addons/etc/v.krige/vkrige_wxgui.py", line
 632, in __init__
     self.LeftSizer.Insert(2, item=VariogramSubSizer)
 TypeError: Sizer.Insert(): arguments did not match any overloaded call:
   overload 1: 'item' is not a valid keyword argument
   overload 2: 'item' is not a valid keyword argument
   overload 3: 'item' is not a valid keyword argument
   overload 4: 'item' is not a valid keyword argument
   overload 5: 'item' is not a valid keyword argument
   overload 6: 'item' is not a valid keyword argument
   overload 7: argument 'item' has unexpected type 'BoxSizer'
   overload 8: 'item' is not a valid keyword argument
   overload 9: 'item' is not a valid keyword argument
 }}}

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



More information about the grass-dev mailing list