[ wxwindows-Bugs-1634299 ] PyGridTableBase bug?
SourceForge.net
noreply at sourceforge.net
Fri Jan 12 11:34:26 PST 2007
Bugs item #1634299, was opened at 2007-01-12 19:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1634299&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxPython specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: AKap (aleksey_kap)
Assigned to: Robin Dunn (robind)
Summary: PyGridTableBase bug?
Initial Comment:
A bug or not a bug?
Python2.5 windowsXP
with wxPython 2.6.3 all works ok.
with wxPython 2.8.0.1 generated error.
I had this code in my program:
class PhonesDataTable(wx.grid.PyGridTableBase):
.....
.....
def SetValue(self, row, col, value):
try:
self.data[row][col] = value
except IndexError:
# add a new row
self.data.append(['']*self.GetNumberCols())
self.SetValue(row, col, value)
with wxPython 2.6.3 all works ok.
with wxPython 2.8 last row gives error:
'NoneType is not callable'
after changing last row to:
self.data[row][col]=value
all works ok.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1634299&group_id=9863
More information about the wx-dev
mailing list