Opened 15 years ago

Closed 15 years ago

#716 closed defect (fixed)

The v.krige.py GRASS-Addons crash related to wx.SpinCtrl

Reported by: cgsbob Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: wxGUI Version: unspecified
Keywords: v.krige.py Grass-Addons Cc:
CPU: Unspecified Platform: Unspecified

Description

Running the command

v.krige.py input=elev_lid792_randpts@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@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

Change History (2)

comment:1 by martinl, 15 years ago

Milestone: 6.4.06.5.0

comment:2 by aghisla, 15 years ago

Resolution: fixed
Status: newclosed

fixed in r38607 - goodbye, first ticket of v.krige :)

Note: See TracTickets for help on using tickets.