Opened 14 years ago

Closed 14 years ago

#716 closed defect (fixed)

The 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: Grass-Addons Cc:
CPU: Unspecified Platform: Unspecified


Running the command 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):~ > 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/", line 511, in <module>
  File "/usr/local/grass-6.5.svn/scripts/", line 466, in main
    k = KrigingModule(parent=None)
  File "/usr/local/grass-6.5.svn/scripts/", line 375, in __init__
    self.Panel = KrigingPanel(self)
  File "/usr/local/grass-6.5.svn/scripts/", line 267, in __init__
    self.CreatePage(package = Rpackage)
  File "/usr/local/grass-6.5.svn/scripts/", line 324, in CreatePage
    setattr(self, "RBook"+package+"Panel", (classobj(self, id=wx.ID_ANY)))
  File "/usr/local/grass-6.5.svn/scripts/", line 424, in __init__
    RBookPanel.__init__(self, parent, *args, **kwargs)
  File "/usr/local/grass-6.5.svn/scripts/", 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/", 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

Change History (2)

comment:1 by martinl, 14 years ago


comment:2 by aghisla, 14 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.