hey there -

this is line 179 right now:

             if bind in conn_dict:

similar mismatches in the stacktrace are present for lines 505 and 509  
(line 505 is a blank line now).

the full snip of code is:

             if bind in conn_dict:
                 (conn, trans, autoclose) = conn_dict[bind]
                 self.__connections[conn] =  
self.__connections[bind.engine] = (conn, conn.begin_nested(), autoclose)
                 return conn

so my guess is that you arent running the most recent trunk.


On Nov 30, 2007, at 1:44 PM, imgrey wrote:

>
>
>> i think its impossible for you to be getting the same stacktrace that
>> you were, can you post what youre getting now please...
>
> Exception in thread Thread-6:
> Traceback (most recent call last):
>  File "threading.py", line 442, in __bootstrap
>    self.run()
>  File "./camper.py", line 104, in run
>    session.connection()
>  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/scoping.py",
> line 74, in do
>    return getattr(self.registry(), name)(*args, **kwargs)
>  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py",
> line 505, in connection
>    return self.__connection(self.get_bind(mapper, **kwargs))
>  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py",
> line 509, in __connection
>    return self.transaction.get_or_add(engine)
>  File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py",
> line 179, in get_or_add
>    (conn, trans, autoclose) = self.__parent.__connections[bind]
> KeyError: Engine(postgres://...)
>
>
> >


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