I've been trying to migrate my code to to 0.4 and I'm getting stuck on this error. I haven't been able to narrow down what property of my schema or code triggers this, but I thought I'd ask the group in case there was an easy answer.
Here Thing is a class that is mapped to a table with a single column. It has a relation to an attribute table with (thing_id, key, value) columns. I have a subclass of Thing called Server, that instead of mapping directly to the table maps to a select on the thing table where the thing has certain attributes from the attribute table. If I create a Server then add attributes to it then flush the data I get no errors. But if I try to query for a Server to which I tried to add attributes I get the attached error. Adding attributes straight to Things or querying for Servers that I didn't add attributes to does not produce the error. Not sure if any of that was clear, but it's a start. Any ideas? -Ron return Thing.query.filter(Thing.c.name == name).one() File "/usr/local/lib/python2.4/site-packages/SQLAlchemy-0.4.0- py2.4.egg/sqlalchemy/orm/query.py", line 605, in one ret = list(self[0:2]) File "/usr/local/lib/python2.4/site-packages/SQLAlchemy-0.4.0- py2.4.egg/sqlalchemy/orm/query.py", line 619, in __iter__ return self._execute_and_instances(context) File "/usr/local/lib/python2.4/site-packages/SQLAlchemy-0.4.0- py2.4.egg/sqlalchemy/orm/query.py", line 624, in _execute_and_instances return iter(self.instances(result, querycontext=querycontext)) File "/usr/local/lib/python2.4/site-packages/SQLAlchemy-0.4.0- py2.4.egg/sqlalchemy/orm/query.py", line 685, in instances context.attributes.get(('populating_mapper', instance), object_mapper(instance))._post_instance(context, instance) File "/usr/local/lib/python2.4/site-packages/SQLAlchemy-0.4.0- py2.4.egg/sqlalchemy/orm/mapper.py", line 1534, in _post_instance post_processors = selectcontext.attributes[('post_processors', self, None)] KeyError: ('post_processors', <sqlalchemy.orm.mapper.Mapper object at 0xb78a18cc>, None) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---