[Schevo-devel] SchevoGtk tabularasa traceback
Matthew Scott
mscott at springfieldtech.com
Fri May 5 00:39:55 EDT 2006
Pat,
Here is the traceback I made mention of yesterday. This occurs when
I click on an extent, then double-click on an entity.
Traceback (most recent call last):
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/
navigator.py", line 102, in on_entity_grid__action_selected
self._action_selected(widget, action)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/
navigator.py", line 210, in _action_selected
self.run_view_dialog(entity, action)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/
navigator.py", line 162, in run_view_dialog
dialog = form.get_view_dialog(parent, db, entity, action)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 270, in get_view_dialog
dialog = get_dialog(title, parent, text, db, entity, fields)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 229, in get_dialog
window.set_fields(model, fields)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 189, in set_fields
self.form_box.set_fields(self._db, fields)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 102, in set_fields
self.table = get_table(db, fields, self.field_widgets)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 245, in get_table
widget_box.set_field(db, field)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/field.py",
line 192, in set_field
data_type = field.data_type
AttributeError: 'Entity' object has no attribute 'data_type'
Here is what happens when I try right-click, then "Create":
Traceback (most recent call last):
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/
navigator.py", line 102, in on_entity_grid__action_selected
self._action_selected(widget, action)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/
navigator.py", line 205, in _action_selected
tx_result = self.run_tx_dialog(tx, action)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/
navigator.py", line 151, in run_tx_dialog
dialog = form.get_tx_dialog(parent, db, tx, action)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 257, in get_tx_dialog
dialog = get_default_tx_dialog(parent, db, tx)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 218, in get_default_tx_dialog
dialog = get_dialog(title, parent, text, db, tx, fields)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 229, in get_dialog
window.set_fields(model, fields)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 189, in set_fields
self.form_box.set_fields(self._db, fields)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 102, in set_fields
self.table = get_table(db, fields, self.field_widgets)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/form.py",
line 245, in get_table
widget_box.set_field(db, field)
File "/Users/gldnspud/s/SchevoGtk-tabularasa/schevo/gtk/field.py",
line 169, in set_field
widget.prefill(items)
File "/Users/gldnspud/env/test/lib/python2.4/kiwi-1.9.8-py2.4.egg/
kiwi/ui/comboentry.py", line 486, in prefill
self.entry.prefill(itemdata, sort)
File "/Users/gldnspud/env/test/lib/python2.4/kiwi-1.9.8-py2.4.egg/
kiwi/ui/entry.py", line 515, in prefill
raise KeyError("Tried to insert duplicate value "
KeyError: "Tried to insert duplicate value u'(unnamed organization)'
into the entry"
The relationships viewer seems to work fine though :)
--
Matthew Scott
mscott at springfieldtech.com
More information about the Schevo-devel
mailing list