#24381: Cache pickling exception in 1.8a1 with cross-table filter params
-------------------------------------+-------------------------------------
Reporter: marktranchant | Owner: timgraham
Type: Bug | Status: assigned
Component: Core (Cache system) | Version: 1.8alpha1
Severity: Release blocker | Resolution:
Keywords: cache pickle empty | Triage Stage: Accepted
queryset |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
The app registry is trying to be pickled and the module that cannot be
pickled in my test is from:
{{{
<ContentTypesConfig: contenttypes>
{'models_module': <module 'django.contrib.contenttypes.models' from
'/home/tim/code/django/django/contrib/contenttypes/models.py'>, 'name':
'django.contrib.contenttypes', 'models': OrderedDict([('contenttype',
<class 'django.contrib.contenttypes.models.ContentType'>)]), 'module':
<module 'django.contrib.contenttypes' from
'/home/tim/code/django/django/contrib/contenttypes/__init__.py'>, 'label':
'contenttypes', 'path':
u'/home/tim/code/django/django/contrib/contenttypes'}
}}}
I think the solution is to figure out why that's now happening and to
prevent it (assuming it can be avoided without loss of functionality).
--
Ticket URL: <https://code.djangoproject.com/ticket/24381#comment:6>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.6043b48ccce686ed2a8c2c1c15224b8a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.