Hello, I've been following the SQLAlchemy tutorial, and I'm bumping into the following problem. When I do
usermapper.add_property('addresses', relation(Address)) I get this traceback: >>> usermapper.add_property('addresses', relation(Address)) Traceback (most recent call last): File "<stdin>", line 1, in ? File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/mapper.py", line 499, in add_property File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/mapper.py", line 547, in _compile_property File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/mapper.py", line 1148, in init File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/properties.py", line 217, in do_init AttributeError: 'Mapper' object has no attribute 'mapped_table' Any idea what I could be doing wrong ? The only different is that I'm using mysql instead of sqlite. Regards, -- Alexandre CONRAD - TLV FRANCE Research & Development ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users