While stress testing my Pylons Web App, SQLAlchemy will occasionally throw the below exception.
I've also seen the below exception on applications which have been running for a few weeks. Has anyone come across this before? I'm think it might be a threading issue, as it occurs intermittently, and is not always reproducible. -Sw. URL: http://localhost:5080/members/simona/ File '/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/pylons/ error.py', line 245 in respond app_iter = self.application(environ, detect_start_response) File '/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/pylons/ wsgiapp.py', line 314 in __call__ return self.app(environ, start_response) File '/usr/lib/python2.5/site-packages/Beaker-0.9.5-py2.5.egg/beaker/ middleware.py', line 75 in __call__ return self.app(environ, start_response) File '/usr/lib/python2.5/site-packages/Beaker-0.9.5-py2.5.egg/beaker/ middleware.py', line 148 in __call__ return self.wrap_app(environ, session_start_response) File '/usr/lib/python2.5/site-packages/Routes-1.9.1-py2.5.egg/routes/ middleware.py', line 100 in __call__ response = self.app(environ, start_response) File '/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/pylons/ wsgiapp.py', line 95 in __call__ response = self.dispatch(controller, environ, start_response) File '/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/pylons/ wsgiapp.py', line 236 in dispatch return controller(environ, start_response) File '/home/simon/bzr/gamejam/server/gamejam/lib/base.py', line 87 in __call__ return BaseController.__call__(self, environ, start_response) File '/home/simon/bzr/gamejam/server/gamejam/lib/base.py', line 37 in __call__ return 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 164 in __call__ response = self._dispatch_call() File '/usr/lib/python2.5/site-packages/Pylons-0.9.6.2-py2.5.egg/pylons/ controllers/core.py', line 120 in _dispatch_call response = self._inspect_call(func) 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 '/home/simon/bzr/gamejam/server/gamejam/lib/base.py', line 208 in show obj = self.show_query(id) File '/home/simon/bzr/gamejam/server/gamejam/controllers/members.py', line 21 in show_query return model.Member.query.filter(model.tables.members.c.name.ilike(id)).one() File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/query.py', line 912 in one ret = list(self[0:2]) File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/query.py', line 922 in __iter__ context = self._compile_context() File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/query.py', line 1110 in _compile_context entity.setup_context(self, context) File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/query.py', line 1536 in setup_context context.exec_with_path(self.mapper, value.key, value.setup, context, only_load_props=query._only_load_props) File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/query.py', line 1619 in exec_with_path return fn(*args, **kwargs) File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/interfaces.py', line 529 in setup self._get_context_strategy(querycontext).setup_query(querycontext, **kwargs) File '/usr/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/ sqlalchemy/orm/interfaces.py', line 516 in _get_context_strategy return self._get_strategy(context.attributes.get(("loaderstrategy", path), self.strategy.__class__)) AttributeError: 'PropertyLoader' object has no attribute 'strategy' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
