the example is repaired in rev 3856 of the SVN trunk.  it just uses a  
contextual session now.

On Dec 5, 2007, at 2:05 PM, paftek wrote:

>
> Using Python 2.5.1, I can not get this example to work :
> http://svn.sqlalchemy.org/sqlalchemy/tags/rel_0_4_1/examples/vertical/vertical.py
>
> It crashes with :
>
> Traceback (most recent call last):
>  File "vertical.py", line 161, in <module>
>    session.save(entity3)
> ...
> sqlalchemy.exceptions.InvalidRequestError: Instance
> '[EMAIL PROTECTED]' is with key (<class '__main__.EntityField'>,
> (1,), None) already persisted with a different identity
>
> I do not know why. Any clue ?
> Thanks !
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to