On Wed, Feb 3, 2010 at 12:03 PM, Kenneth Gonsalves <law...@au-kbc.org> wrote: > On Tuesday 02 Feb 2010 5:10:27 pm Russell Keith-Magee wrote: >> >> traceback is this: >> > >> > I went back to 12300 - same problem, but 12200 is ok. >> >> Kenneth - we need two things: >> >> * A specific revision that breaks things. You only need to do 8 >> checks to find a specific revision between 12300 and 12200 if you do a >> bisection search. > > revision 12352 breaks >> >> * The input that is causing things to break. "Sporadic error" and a >> stack trace doesn't really help us identify a problem. The problem >> isn't sporadic for the case that is causing it to fail. We just don't >> know what that case is. >> > > the error occurs on any page that hits the database - it differs depending on > the database query. Here is an error generated by two sites: > > traceback > > Environment: > > Request Method: GET > Request URL: http://127.0.0.1:8000/ > Django Version: 1.2 alpha 1 SVN-12352 > Python Version: 2.6.0 > Installed Applications: > ['django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.admin', > 'djangogolf.web'] > Installed Middleware: > ('django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.middleware.csrf.CsrfViewMiddleware', > 'django.middleware.locale.LocaleMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware') > > > Traceback: > File "/usr/lib/python2.6/django/core/handlers/base.py" in get_response > 80. response = middleware_method(request) > File "/usr/lib/python2.6/django/middleware/locale.py" in process_request > 16. language = translation.get_language_from_request(request) > File "/usr/lib/python2.6/django/utils/translation/__init__.py" in > get_language_from_request > 97. return real_get_language_from_request(request) > File "/usr/lib/python2.6/django/utils/translation/trans_real.py" in > get_language_from_request > 354. lang_code = request.session.get('django_language', None) > File "/usr/lib/python2.6/django/contrib/sessions/backends/base.py" in get > 63. return self._session.get(key, default) > File "/usr/lib/python2.6/django/contrib/sessions/backends/base.py" in > _get_session > 172. self._session_cache = self.load() > File "/usr/lib/python2.6/django/contrib/sessions/backends/db.py" in load > 21. expire_date__gt=datetime.datetime.now() > File "/usr/lib/python2.6/django/db/models/manager.py" in get > 132. return self.get_query_set().get(*args, **kwargs) > File "/usr/lib/python2.6/django/db/models/query.py" in get > 334. num = len(clone) > File "/usr/lib/python2.6/django/db/models/query.py" in __len__ > 79. self._result_cache = list(self.iterator()) > File "/usr/lib/python2.6/django/db/models/query.py" in iterator > 267. for row in compiler.results_iter(): > File "/usr/lib/python2.6/django/db/models/sql/compiler.py" in results_iter > 685. for rows in self.execute_sql(MULTI): > File "/usr/lib/python2.6/django/db/models/sql/compiler.py" in execute_sql > 740. cursor.execute(sql, params) > File "/usr/lib/python2.6/django/db/backends/util.py" in execute > 19. return self.cursor.execute(sql, params) > File "/usr/lib/python2.6/django/db/backends/postgresql/base.py" in execute > 57. return self.cursor.execute(query, args) > > Exception Type: NameError at / > Exception Value: global name 'query' is not defined
This isn't the same problem that you originally reported. This particular problem was logged as #12732, and fixed in [12359]. I would also note that you previously said that the problem was between [12200] and [12300] - why are you reporting [12352] as the problem revision? Yours Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.