[MemcachedKeyCharacterError]:traceback on /en-US/firefox/collections/ajax/add

RESOLVED FIXED

Status

addons.mozilla.org Graveyard
Public Pages
RESOLVED FIXED
8 years ago
2 years ago

People

(Reporter: krupa, Unassigned)

Tracking

Details

(Whiteboard: [z])

(Reporter)

Description

8 years ago
Traceback (most recent call last):

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/amo_python/www/prod/zamboni/apps/amo/decorators.py", line 69, in wrapper
   return f(*args, **kw)

 File "/data/amo_python/www/prod/zamboni/apps/amo/decorators.py", line 24, in wrapper
   return func(request, *args, **kw)

 File "/data/amo_python/www/prod/zamboni/apps/amo/decorators.py", line 45, in wrapper
   return f(request, *args, **kw)

 File "/data/amo_python/www/prod/zamboni/apps/bandwagon/views.py", line 348, in ajax_collection_alter
   return change_addon(request, c, action)

 File "/data/amo_python/www/prod/zamboni/apps/bandwagon/views.py", line 329, in change_addon
   getattr(collection, action + '_addon')(addon)

 File "/data/amo_python/www/prod/zamboni/apps/bandwagon/models.py", line 292, in add_addon
   CollectionAddon.objects.get_or_create(addon=addon, collection=self)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/db/models/manager.py", line 135, in get_or_create
   return self.get_query_set().get_or_create(**kwargs)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/db/models/query.py", line 373, in get_or_create
   obj.save(force_insert=True, using=self.db)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/db/models/base.py", line 435, in save
   self.save_base(using=using, force_insert=force_insert, force_update=force_update)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/db/models/base.py", line 543, in save_base
   created=(not record_exists), raw=raw)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/dispatch/dispatcher.py", line 162, in send
   response = receiver(signal=self, sender=sender, **named)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django-cache-machine/caching/base.py", line 46, in post_save
   self.invalidate(instance)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django-cache-machine/caching/base.py", line 54, in invalidate
   invalidator.invalidate_keys(keys)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django-cache-machine/caching/invalidation.py", line 73, in invalidate_keys
   cache.set_many(dict((k, None) for k in flush), 5)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/core/cache/backends/memcached.py", line 98, in set_many
   self._cache.set_multi(safe_data, self._get_memcache_timeout(timeout))

 File "/data/amo_python/www/prod/zamboni/vendor/packages/python-memcached/memcache.py", line 632, in set_multi
   server_keys, prefixed_to_orig_key = self._map_and_prefix_keys(mapping.iterkeys(), key_prefix)

 File "/data/amo_python/www/prod/zamboni/vendor/packages/python-memcached/memcache.py", line 575, in _map_and_prefix_keys
   self.check_key(str_orig_key, key_extra_len=key_extra_len)

 File "/data/amo_python/www/prod/zamboni/vendor/packages/python-memcached/memcache.py", line 944, in check_key
   "Control characters not allowed")

MemcachedKeyCharacterError: Control characters not allowed
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Updated

2 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.