[traceback] NoReverseMatch: Reverse for 'apps.reviews.detail' with arguments '(u'galactians2', 345259L)' and ... 4 minutes ago ✓

VERIFIED FIXED in 2012-07-26

Status

addons.mozilla.org Graveyard
Admin/Editor Tools
VERIFIED FIXED
6 years ago
2 years ago

People

(Reporter: krupa, Assigned: robhudson)

Tracking

({regression})

unspecified
2012-07-26
regression

Details

(URL)

(Reporter)

Description

6 years ago
steps to reproduce:
1. Load https://addons-dev.allizom.org/en-US/editors/

traceback details:
tacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "amo/decorators.py", line 29, in wrapper
    return func(request, *args, **kw)

  File "editors/views.py", line 71, in wrapper
    return f(request, *args, **kw)

  File "editors/views.py", line 130, in home
    return jingo.render(request, 'editors/home.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-dev.allizom.org/zamboni/apps/editors/templates/editors/home.html", line 1, in top-level template code
    {% extends "editors/base.html" %}

  File "/data/www/addons-dev.allizom.org/zamboni/apps/editors/templates/editors/base.html", line 8, in top-level template code
    {% set hide_header = True %}

  File "/data/www/addons-dev.allizom.org/zamboni/templates/base.html", line 112, in top-level template code
    {% block main_content %}

  File "/data/www/addons-dev.allizom.org/zamboni/templates/base.html", line 115, in block "main_content"
    {% block content %}{% endblock %}

  File "/data/www/addons-dev.allizom.org/zamboni/apps/editors/templates/editors/home.html", line 125, in block "content"
    {{ item.to_string('editor') }}

  File "devhub/models.py", line 349, in to_string
    arg.get_url_path(), _('Review'))

  File "reviews/models.py", line 67, in get_url_path
    return shared_url('reviews.detail', self.addon, self.id)

  File "amo/helpers.py", line 118, in shared_url
    return url(viewname, *([slug] + list(args)), **kwargs)

  File "amo/helpers.py", line 86, in url
    add_prefix=add_prefix))

  File "amo/urlresolvers.py", line 61, in reverse
    url = django_reverse(viewname, urlconf, args, kwargs, prefix, current_app)

  File "django/core/urlresolvers.py", line 391, in reverse
    *args, **kwargs)))

  File "django/core/urlresolvers.py", line 337, in reverse
    "arguments '%s' not found." % (lookup_view_s, args, kwargs))


Also, see bug 747150 (same traceback but different reason/link)
(Reporter)

Updated

6 years ago
Target Milestone: --- → 2012-07-19
Blocks: 746765
Assignee: nobody → robhudson.mozbugs
Target Milestone: 2012-07-19 → 2012-07-27
(Assignee)

Comment 2

6 years ago
I've removed the offending review that was breaking things. As long as we don't review webapps on AMO this will be fixed.

And once bug 775705 is added you won't be able to do that anymore.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

6 years ago
verified fixed at https://addons-dev.allizom.org/en-US/editors/
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.