Is this still through Wing?

Paul


On 7/2/14, 7:27 AM, Werner wrote:
Hi,

The grid is still giving me grey hair:-) .

Finally figured out that a change I had made in the past just to get
grid to run had to be updated, i.e. the dGridDataTable creation was not
there.

Now I see at least that dGridDataTable.GetValue is called, but it is
also giving me this exception which I don't understand.

File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\grid.py", line 5671, in
<module>
   app.start()
File "D:\devTools\dabo - phoenix\dabo\dApp.py", line 402, in start
   self.uiApp.start()
File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\uiapp.py", line 464, in start
   self.MainLoop()
File "c:\Python27\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\core.py",
line 1878, in MainLoop
   rv = wx.PyApp.MainLoop(self)

TypeError: invalid result type from dGridDataTable.GetValue()

I added some print just before the final return in that method I get
this output:

value: Ed Leafe, row: 0, col:1, type:<type 'str'>
value: cornsilk, row: 0, col:3, type:<type 'str'>
value: True, row: 0, col:0, type:<type 'bool'>
value: 40, row: 0, col:2, type:<type 'int'>
value: white, row: 0, col:3, type:<type 'str'>
value: sss0, row: 0, col:4, type:<type 'str'>
value: sss0, row: 7, col:4, type:<type 'str'>
value: goldenrod, row: 7, col:3, type:<type 'str'>
value: 56, row: 7, col:2, type:<type 'int'>

If I change the DataSet to have fewer rows I just get the error on
another col/row.

Anyone has some idea what might cause this?

Werner


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to