Closed Bug 816399 Opened 12 years ago Closed 11 years ago

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 659771

People

(Reporter: borisdifa, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121024073032

Steps to reproduce:

When I click on my username that appears on the top of page, I'm getting: "Oops! We had an error. We'll get to fixing that soon. You can try refreshing the page, or head back to the Add-ons homepage."

But I still can access my account settings: https://addons.mozilla.org/en-US/firefox/users/edit and even edit them.
Moreover, I can read other profiles.
As I understand, here is the problem with my paticular profile.
For example, if you visit this page: https://addons.mozilla.org/en-US/firefox/addon/easycal/
you will see my review on this addon. But if you'll try to click my username (difabor) you will get "Oops!..."
Thank you in advance, difabor



Actual results:

I suspect that it happened due to following thing.
About a week ago I wrote a review on addon kplinks and got an answer from developer - 
https://addons.mozilla.org/addon/kplinks/reviews/403264/
In this answer a developer wrote, that he'll close an addon.
And probably he removed it - currently it is impossible to find this addon.
Probably this is the reason, that my profile is unreachable - the profile contains all my reviews and because one of them dissapeared, the profile couldn't be reached


Expected results:

I want to be able to access my profille
I can confirm that this profile is currently broken.
Status: UNCONFIRMED → NEW
Component: Administration → Public Pages
Ever confirmed: true
I think it's http://sentry.dmz.phx1.mozilla.com/addons/group/2490/

TypeError: can't pickle function objects

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "users/views.py", line 577, in profile
    return jingo.render(request, 'users/profile.html', data)
  File "jingo/__init__.py", line 80, in render
    rendered = render_to_string(request, template, context)
  File "jingo/__init__.py", line 98, in render_to_string
    return template.render(**get_context())
  File "jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)
  File "/data/www/addons.mozilla.org/zamboni/apps/users/templates/users/profile.html", line 1, in top-level template code
    {% extends "impala/base_shared.html" %}
  File "/data/www/addons.mozilla.org/zamboni/templates/impala/base_shared.html", line 4, in top-level template code
    {% extends 'impala/base.html' %}
  File "/data/www/addons.mozilla.org/zamboni/templates/impala/base.html", line 174, in top-level template code
    {% block main_content %}
  File "/data/www/addons.mozilla.org/zamboni/templates/impala/base.html", line 179, in block "main_content"
    {% block content %}{% endblock %}
  File "/data/www/addons.mozilla.org/zamboni/apps/users/templates/users/profile.html", line 91, in block "content"
    {% cache reviews %}
  File "amo/ext.py", line 18, in _cache_support
    return caller()
  File "/data/www/addons.mozilla.org/zamboni/apps/users/templates/users/profile.html", line 95, in template
    {% for review in reviews %}
  File "django/db/models/query.py", line 118, in _result_iter
    self._fill_cache()
  File "django/db/models/query.py", line 892, in _fill_cache
    self._result_cache.append(self._iter.next())
  File "caching/base.py", line 108, in __iter__
    self.cache_objects(to_cache)
  File "caching/base.py", line 115, in cache_objects
    cache.add(query_key, objects, timeout=self.timeout)
  File "caching/backends/memcached.py", line 11, in add
    return super(CacheClass, self).add(key, value, timeout, version)
  File "django/core/cache/backends/memcached.py", line 53, in add
    return self._cache.add(key, value, self._get_memcache_timeout(timeout))
  File "python/memcache.py", line 456, in add
    return self._set("add", key, val, time, min_compress_len)
  File "python/memcache.py", line 725, in _set
    store_info = self._val_to_store_info(val, min_compress_len)
  File "python/memcache.py", line 697, in _val_to_store_info
    pickler.dump(val)
  File "python2.6/copy_reg.py", line 70, in _reduce_ex
    raise TypeError, "can't pickle %s objects" % base.__name__
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
(In reply to Chris Van Wiemeersch [:cvan] from comment #3)
> 
> *** This bug has been marked as a duplicate of bug 659771 ***

But I still can not access my profile...
When I press "difabor", I get:

"Oops! We had an error.

We'll get to fixing that soon.

You can try refreshing the page, or head back to the Add-ons homepage."
For me it is not resolved...☹
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.