[sqlalchemy] KeyError in getting session_identity_map[identitykey]

2009-12-11 Thread Jason
I'm seeing a keyerror in mapper.py where it does: instance = session_identity_map[identitykey] The strange this is, I see the code doing a check to make sure identitykey is in the session_identity_map. This is a table that's not being updated and it pretty much static. Could another thread be

Re: [sqlalchemy] KeyError in getting session_identity_map[identitykey]

2009-12-11 Thread Michael Bayer
Jason wrote: I'm seeing a keyerror in mapper.py where it does: instance = session_identity_map[identitykey] The strange this is, I see the code doing a check to make sure identitykey is in the session_identity_map. This is a table that's not being updated and it pretty much static. Could