[traits] TabularEditor/TabularAdapter issue...
Hi all,
From demo/Advanced/NumPy_array_tabular_editor_demo.py,
I get the following CME.
If I delete one line and then move up with the keyboard arrow up, I get
a tons of error messages:
.../...
TypeError: 'NoneType' object is unsubscriptable
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/TraitsBackendWX-3.4.1.dev_r25728-py2.6.egg/enthought/traits/ui/wx/tabular_editor.py",
line 167, in OnGetItemText
row, column )
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 299, in get_text
return self._result_for( 'get_text', object, trait, row, column )
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 513, in _result_for
return handler()
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 521, in <lambda>
return lambda: getattr( self, name )
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 374, in _get_text
self.object, self.name, self.row, self.column )
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 305, in get_content
return self._result_for( 'get_content', object, trait, row, column )
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 513, in _result_for
return handler()
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 521, in <lambda>
return lambda: getattr( self, name )
File
"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py",
line 390, in _get_content
return self.item[ self.column_id ]
TypeError: 'NoneType' object is unsubscriptable
Any hint?
Is it a bug?
TIA
Cheers,
--
--
Fred
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev