Closed
Bug 568354
Opened 15 years ago
Closed 15 years ago
PicklingError on /z/en-US/firefox/user/37347/
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
5.11
People
(Reporter: jbalogh, Unassigned)
References
()
Details
(Whiteboard: [z])
File "/data/amo_python/www/preview/zamboni/apps/users/templates/users/profile.html", line 45, in block "content"
{{ addon_listing_items(profile.addons_listed, src='userprofile') }}
File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 123, in wrapper
t = env.get_template(template).render(context)
File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 705, in render
return self.environment.handle_exception(exc_info, True)
File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/listing/items.html", line 2, in top-level template code
{% cache addons %}
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/ext.py", line 60, in _cache_support
timeout)
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 305, in cached_with
return cached(f, key, timeout)
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 286, in cached
val = function()
File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/listing/items.html", line 3, in template
{% for addon in addons %}
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 104, in _result_iter
self._fill_cache()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 755, in _fill_cache
self._result_cache.append(self._iter.next())
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 129, in __iter__
self.cache_objects(to_cache)
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 138, in cache_objects
cache.add(query_key, objects, timeout=self.timeout)
File "/data/amo_python/www/preview/zamboni/vendor/packages/django-pylibmc/django_pylibmc/memcached.py", line 57, in add
return self._cache.add(smart_str(key), value, self._get_memcache_timeout(timeout))
PicklingError: Can't pickle <type 'function'>: attribute lookup __builtin__.function failed
Updated•15 years ago
|
Reporter | ||
Comment 1•15 years ago
|
||
This has to get fixed if we want z/user/:id to go out in 5.11.
Target Milestone: --- → 5.11
Reporter | ||
Comment 2•15 years ago
|
||
All of these crashes happen on a page with > 100 add-ons. Dropping pagination in there will avoid the problem.
Reporter | ||
Comment 3•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Verified FIXED on https://preview.addons.mozilla.org/z/en-US/firefox/user/37347/ and its paginated pages.
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•