its not.  multiple threads hitting your Session there ?   otherwise  
might be an async gc.collect() causing that.


On Oct 1, 2008, at 9:25 PM, arashf wrote:

>
> not sure if this is a known issue. but I thought it'd post it just in
> case :)
>
> Traceback (most recent call last):
> File "/srv/server/metaserver/metaserver/lib/base.py", line 48, in
> __call__
> ret = WSGIController.__call__(self, environ, start_response)
> File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/ 
> pylons/
> controllers/core.py", line 195, in __call__
> after = self._inspect_call(self.__after__)
> File "/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/ 
> pylons/
> controllers/core.py", line 79, in _inspect_call
> result = func(**args)
> File "/srv/server/metaserver/metaserver/lib/base.py", line 86, in
> __after__
> metaserver.model.Session.commit()
> File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3- 
> py2.5.egg/
> sqlalchemy/orm/scoping.py", line 106, in do
> return getattr(self.registry(), name)(*args, **kwargs)
> File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3- 
> py2.5.egg/
> sqlalchemy/orm/session.py", line 663, in commit
> self.transaction.commit()
> File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3- 
> py2.5.egg/
> sqlalchemy/orm/session.py", line 376, in commit
> self._prepare_impl()
> File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3- 
> py2.5.egg/
> sqlalchemy/orm/session.py", line 360, in _prepare_impl
> self.session.flush()
> File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3- 
> py2.5.egg/
> sqlalchemy/orm/session.py", line 1346, in flush
> if (not self.identity_map.check_modified() and
> File "/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.0beta3- 
> py2.5.egg/
> sqlalchemy/orm/identity.py", line 44, in check_modified
> for state in self._mutable_attrs:
> File "/usr/lib/python2.5/weakref.py", line 303, in iterkeys
> for wr in self.data.iterkeys():
> RuntimeError: dictionary changed size during iteration
>
> >


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