[Schevo-devel] SchevoGtk tabularasa traceback

Matthew Scott mscott at springfieldtech.com
Fri May 5 10:04:13 EDT 2006


On May 5, 2006, at 7:22 AM, Patrick K. O'Brien wrote:

> Matthew Scott wrote:
>>   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'
>
> This is a new field attribute I added in the field-caching branch.   
> I'm
> not using it fully yet so I commented it out.  We can discuss it  
> further
> when you review the field-caching branch.

That's kind of what I thought.  I tried using the field-caching  
branch, but the database that I was using it against has a dependency  
of Schevo newer than what was in field-caching, and I was too tired  
to merge the latest trunk changes into field-caching :)


>> "/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 underlying gtk.ComboBoxEntry expects the displayed string  
> values to
> be unique.  It appears that you have more than one entity with the  
> same
> __unicode__ value...

That is the case with the database I tried.


--
Matthew Scott
mscott at springfieldtech.com






More information about the Schevo-devel mailing list