[Thu Aug 14 11:37:26 2008] [error] [client XXX] mod_wsgi (pid=22633): Exception occurred processing WSGI script '/var/www/html/XXX/XXX-trunk/XXX.XXX.com.wsgi.py'.
[Thu Aug 14 11:37:26 2008] [error] [client XXX] Traceback (most recent call last):
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/core/handlers/wsgi.py", line 216, in __call__
[Thu Aug 14 11:37:26 2008] [error] [client XXX] response = self.get_response(request)
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/core/handlers/base.py", line 67, in get_response
[Thu Aug 14 11:37:26 2008] [error] [client XXX] response = middleware_method(request)
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/XXX-trunk/XXX/site/middleware.py", line 81, in process_request
[Thu Aug 14 11:37:26 2008] [error] [client XXX] request.session['foo'] = "bar"
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/base.py", line 49, in __setitem__
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self._session[key] = value
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/base.py", line 161, in _get_session
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self._session_cache = self.load()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 19, in load
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.create()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 35, in create
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.save(must_create=True)
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 52, in save
[Thu Aug 14 11:37:26 2008] [error] [client XXX] session_data = self.encode(self._session),
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/base.py", line 161, in _get_session
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self._session_cache = self.load()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 19, in load
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.create()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 35, in create
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.save(must_create=True)
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 52, in save
[Thu Aug 14 11:37:26 2008] [error] [client XXX] session_data = self.encode(self._session),
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/base.py", line 161, in _get_session
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self._session_cache = self.load()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 19, in load
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.create()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 35, in create
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.save(must_create=True)
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 52, in save
[Thu Aug 14 11:37:26 2008] [error] [client XXX] session_data = self.encode(self._session),
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/base.py", line 161, in _get_session
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self._session_cache = self.load()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 19, in load
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.create()
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 35, in create
[Thu Aug 14 11:37:26 2008] [error] [client XXX] self.save(must_create=True)
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/db.py", line 52, in save
[Thu Aug 14 11:37:26 2008] [error] [client XXX] session_data = self.encode(self._session),
[Thu Aug 14 11:37:26 2008] [error] [client XXX] File "/var/www/html/XXX/django-trunk/django/contrib/sessions/backends/base.py", line 161, in _get_session
.....
RuntimeError: maximum recursion depth exceeded in cmp
I can confirm that this is an issue. I haven't been able to recreate it again, but I definitely had a "recursion depth exceeded in cmp" problem. I reverted back to 8339 after seeing this ticket, and was able to view my site properly. Moving back up to 8340 caused the error again, which was resolved by clearing cookies in my browser. Now, I am unable to recreate the issue even by logging in under 8339 and updating to 8340, so I'm not certain what's going on. Thought I'd share though :)