On 16.12.2008 17:09 Uhr, Michael Bayer wrote:
> I see that.  There is definitely other model code not seen here being
> compiled. Since I see you're in a unit test, perhaps a previous test has
> not been cleaned up completely ? You can see within the trace that its a
> PropertyLoader being initialized and it's trying to setup one of its
> backrefs. None of that is possible without invoking the relation()
> function, which does not occur within SQLAlchemy. I would try invoking
> pdb and possibly setting a breakpoint on line 157 of
> sqlalchemy.orm.properties.py (relation()) to locate the source of the call.
>
Thanks for the hint. In fact the model had been initialized serveral 
times over the tests.

Andreas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

Reply via email to