#13977: Indeterministic PicklingError
-------------------------------------+--------------------------------------
Reporter: etam | Owner: nobody
Status: new | Milestone:
Component: django.contrib.sessions | Version: 1.2
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-------------------------------------+--------------------------------------
There is something wrong with session:
{{{
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] mod_wsgi
(pid=3072): Exception occurred processing WSGI script
'/home/www/shop/django.wsgi'., referer:
http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] Traceback (most
recent call last):, referer: http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] File
"/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 245,
in __call__, referer: http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] response =
middleware_method(request, response), referer:
http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] File
"/usr/lib/python2.5/site-packages/django/contrib/sessions/middleware.py",
line 36, in process_response, referer:
http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162]
request.session.save(), referer:
http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] File
"/usr/lib/python2.5/site-packages/django/contrib/sessions/backends/db.py",
line 57, in save, referer: http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] session_data
= self.encode(self._get_session(no_load=must_create)),, referer:
http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] File
"/usr/lib/python2.5/site-
packages/django/contrib/sessions/backends/base.py", line 88, in encode,
referer: http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] pickled =
pickle.dumps(session_dict, pickle.HIGHEST_PROTOCOL), referer:
http://shop.domain.com/accounts/checkout/?
[Thu Jul 08 19:15:38 2010] [error] [client 79.162.31.162] PicklingError:
Can't pickle <class 'decimal.Decimal'>: it's not the same object as
decimal.Decimal, referer: http://shop.domain.com/accounts/checkout/?
}}}
It happens sometimes, not always.
--
Ticket URL: <http://code.djangoproject.com/ticket/13977>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en.