[GRASS-dev] [GRASS GIS] #716: The v.krige.py GRASS-Addons crash related to wx.SpinCtrl

GRASS GIS trac at osgeo.org
Mon Aug 3 15:53:53 EDT 2009


#716: The v.krige.py GRASS-Addons crash related to wx.SpinCtrl
-------------------------------------+--------------------------------------
 Reporter:  cgsbob                   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                   |      Status:  new                      
 Priority:  normal                   |   Milestone:  6.4.0                    
Component:  wxGUI                    |     Version:  unspecified              
 Keywords:  v.krige.py Grass-Addons  |    Platform:  Unspecified              
      Cpu:  Unspecified              |  
-------------------------------------+--------------------------------------
 Running the command

 {{{
 v.krige.py input=elev_lid792_randpts at PERMANENT column=value
 output=elev_lid792_randpts_kriging package=gstat
 }}}

 produces this error on a X86_64 Hardy Heron system:
 {{{
 GRASS 6.5.svn (nc_spm_08):~ > v.krige.py
 input=elev_lid792_randpts at PERMANENT column=value
 output=elev_lid792_randpts_kriging package=gstat
 Loading required package: gstat
 Loading required package: sp
 Loading required package: spgrass6
 Loading required package: rgdal
 Geospatial Data Abstraction Library extensions to R successfully loaded
 Loaded GDAL runtime: GDAL 1.7.0dev, released 2008/11/26
 Path to GDAL shared files: /usr/local/share/gdal
 Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008
 Path to PROJ.4 shared files: (autodetected)
 Loading required package: XML
 GRASS GIS interface loaded with GRASS version: 6.5.svn
 and location: nc_spm_08
 Traceback (most recent call last):
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 511, in
 <module>
     main()
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 466, in main
     k = KrigingModule(parent=None)
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 375, in
 __init__
     self.Panel = KrigingPanel(self)
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 267, in
 __init__
     self.CreatePage(package = Rpackage)
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 324, in
 CreatePage
     setattr(self, "RBook"+package+"Panel", (classobj(self, id=wx.ID_ANY)))
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 424, in
 __init__
     RBookPanel.__init__(self, parent, *args, **kwargs)
   File "/usr/local/grass-6.5.svn/scripts/v.krige.py", line 400, in
 __init__
     setattr(self, n+"Ctrl", (wx.SpinCtrl(self, id = wx.ID_ANY,
 max=sys.maxint)))
   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-
 unicode/wx/_controls.py", line 2239, in __init__
     _controls_.SpinCtrl_swiginit(self,_controls_.new_SpinCtrl(*args,
 **kwargs))
 OverflowError: in method 'new_SpinCtrl', expected argument 8 of type 'int'

 }}}

 It appears to be related to [https://bugs.cihar.com/view.php?id=24]

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/716>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list