Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoReverseMatch /rubriky/{creative_page_slug}/ #482

Open
Almad opened this issue Aug 22, 2024 · 0 comments
Open

NoReverseMatch /rubriky/{creative_page_slug}/ #482

Almad opened this issue Aug 22, 2024 · 0 comments
Labels
bug-production Problem reported on production, not necessarily related to code data-quality

Comments

@Almad
Copy link
Member

Almad commented Aug 22, 2024

https://almad.sentry.io/issues/5740041068/

NoReverseMatch: Reverse for 'author-detail' with keyword arguments '{'author_id': 3701, 'slug': ''}' not found. 1 pattern(s) tried: ['autor/(?P<author_id>[0-9]+)\\-(?P<slug>[^/]+)/\\Z']
  File "django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/views/decorators/http.py", line 40, in inner
    return func(request, *args, **kwargs)
  File "django/views/decorators/vary.py", line 38, in inner_func
    response = func(*args, **kwargs)
  File "ddcz/views/creations.py", line 97, in creative_page_list
    return render(
  File "django/shortcuts.py", line 19, in render
    content = loader.render_to_string(template_name, context, request, using=using)
  File "django/template/loader.py", line 62, in render_to_string
    return template.render(context, request)
  File "django/template/backends/django.py", line 61, in render
    return self.template.render(context)
  File "django/template/base.py", line 170, in render
    return self._render(context)
  File "django/template/base.py", line 162, in _render
    return self.nodelist.render(context)
  File "django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "django/template/loader_tags.py", line 150, in render
    return compiled_parent._render(context)
  File "django/template/base.py", line 162, in _render
    return self.nodelist.render(context)
  File "django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "django/template/defaulttags.py", line 211, in render
    nodelist.append(node.render_annotated(context))
  File "django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "django/template/library.py", line 214, in render
    _dict = self.func(*resolved_args, **resolved_kwargs)
  File "ddcz/templatetags/creations.py", line 50, in author_display
    author_url = author.profile_url
  File "ddcz/models/used/creations.py", line 194, in profile_url
    return reverse(
  File "django/urls/base.py", line 87, in reverse
    return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
  File "django/urls/resolvers.py", line 689, in _reverse_with_prefix
    raise NoReverseMatch(msg)

https://www.dracidoupe.cz/rubriky/predmety/?z_s=24

@Almad Almad added bug-production Problem reported on production, not necessarily related to code data-quality labels Aug 22, 2024
@Almad Almad added this to the Phase III: Upgrades & Cleanups milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-production Problem reported on production, not necessarily related to code data-quality
Projects
Development

No branches or pull requests

1 participant