I haven't been able to reproduce this issue and only saw it once. Any ideas? Looks like the list of keys is out of sync w/ the dict in the OrderedDict ... fyi, I don't have a column or property name "items_type". However, I do have an inheritence structure for the class Item, which has a property and column "type".
Traceback (most recent call last): File "core\threadpool.pyc", line 102, in run File "gui\maingui\RecentAnnotations.pyc", line 30, in _executeQuery File "services\AuthClient.pyc", line 19, in __call__ File "soaplib\client.pyc", line 170, in __call__ Fault: ******************************************************************************** Recieved soap fault FaultCode getRecentAnnotationsFault FaultString u'items_type' FaultDetail Traceback (most recent call last): File "C:\downloads\soaplib-0.8.1\soaplib\wsgi_soap.py", line 251, in __call__ results = descriptor.outMessage.to_xml(*[retval]) File "C:\downloads\soaplib-0.8.1\soaplib\soap.py", line 43, in to_xml e = serializer.to_xml(d, name, nsmap) File "C:\downloads\soaplib-0.8.1\soaplib\serializers\primitive.py", line 412, in to_xml serializer.to_xml(value, serializer.get_datatype(), nsmap)) File "C:\downloads\soaplib-0.8.1\soaplib\serializers\clazz.py", line 57, in to_xml subelements = v.to_xml(subvalue,name=k,nsmap=nsmap) File "C:\downloads\soaplib-0.8.1\soaplib\serializers\clazz.py", line 51, in to_xml member_value = getattr(value,k,None) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\attributes.py", line 159, in __get__ return self.impl.get(instance_state(instance), instance_dict(instance)) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\attributes.py", line 377, in get value = callable_(passive=passive) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\strategies.py", line 610, in __call__ return q._get(key, ident, **kw) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\query.py", line 1733, in _get _get_clause = q._adapt_clause(_get_clause, True, False) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\query.py", line 240, in _adapt_clause self.__replace_element(adapters) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\visitors.py", line 254, in replacement_traverse t._copy_internals(clone=clone) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\expression.py", line 2752, in _copy_internals self.left = clone(self.left) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\visitors.py", line 239, in clone newelem = replace(element) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\query.py", line 191, in replace e = adapter(elem) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\orm\query.py", line 183, in __adapt_polymorphic_element return alias.adapt_clause(element) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\visitors.py", line 156, in traverse return replacement_traverse(obj, self.__traverse_options__, replace) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\visitors.py", line 248, in replacement_traverse obj = clone(obj) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\visitors.py", line 239, in clone newelem = replace(element) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\visitors.py", line 153, in replace e = v.replace(elem) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\util.py", line 592, in replace return self._corresponding_column(col, True) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\util.py", line 574, in _corresponding_column newcol = self._corresponding_column(equiv, require_embedded=require_embedded, _seen=_seen.union([col])) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\util.py", line 570, in _corresponding_column newcol = self.selectable.corresponding_column(col, require_embedded=require_embedded) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\expression.py", line 2026, in corresponding_column if self.c.contains_column(column): File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\sql\expression.py", line 1892, in contains_column return col in util.column_set(self) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\util.py", line 722, in __iter__ return self._data.itervalues() File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\util.py", line 821, in itervalues return iter(self.values()) File "C:\downloads\SQLAlchemy-0.6.1.tar\SQLAlchemy-0.6.1\lib \sqlalchemy\util.py", line 818, in values return [self[key] for key in self._list] KeyError: u'items_type' -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.