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

KeyError: 350 #1730

Open
rollbar bot opened this issue Sep 10, 2024 · 0 comments
Open

KeyError: 350 #1730

rollbar bot opened this issue Sep 10, 2024 · 0 comments
Labels
domain:semester Prawdopodobne przejawy niedostatków modelu Semester

Comments

@rollbar
Copy link

rollbar bot commented Sep 10, 2024

View details in Rollbar: https://app.rollbar.com/a/iiuni/fix/item/projektzapisy/541

Traceback (most recent call last):
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 204, in _get_response
    response = response.render()
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/response.py", line 105, in render
    self.content = self.rendered_content
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/response.py", line 83, in rendered_content
    return template.render(context, self._request)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/backends/django.py", line 61, in render
    return self.template.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 170, in render
    return self._render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/newrelic/api/function_trace.py", line 143, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 162, in _render
    return self.nodelist.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 150, in render
    return compiled_parent._render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/newrelic/api/function_trace.py", line 143, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 162, in _render
    return self.nodelist.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 150, in render
    return compiled_parent._render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/newrelic/api/function_trace.py", line 143, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 162, in _render
    return self.nodelist.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/newrelic/hooks/framework_django.py", line 778, in wrapper
    return wrapped(*args, **kwargs)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/newrelic/hooks/framework_django.py", line 778, in wrapper
    return wrapped(*args, **kwargs)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/templatetags/base.py", line 33, in render
    return super().render(context)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/template/library.py", line 214, in render
    _dict = self.func(*resolved_args, **resolved_kwargs)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/templatetags/admin_list.py", line 341, in result_list
    'results': list(results(cl)),
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/templatetags/admin_list.py", line 317, in results
    yield ResultList(None, items_for_result(cl, res, None))
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/templatetags/admin_list.py", line 308, in __init__
    super().__init__(*items)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/templatetags/admin_list.py", line 233, in items_for_result
    f, attr, value = lookup_field(field_name, result, cl.model_admin)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/utils.py", line 274, in lookup_field
    value = attr(obj)
  File "/home/zapisy/deploy/releases/20230828210355/zapisy/apps/offer/proposal/admin.py", line 46, in last_semester
    return self.semesters[obj._last_semester]
KeyError: 350Traceback (most recent call last):
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/utils.py", line 265, in lookup_field
    f = _get_non_gfk_field(opts, name)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/contrib/admin/utils.py", line 296, in _get_non_gfk_field
    field = opts.get_field(name)
  File "/home/zapisy/deploy/releases/20230828210355/venv/lib/python3.8/site-packages/django/db/model
@lgpawel lgpawel added the domain:semester Prawdopodobne przejawy niedostatków modelu Semester label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:semester Prawdopodobne przejawy niedostatków modelu Semester
Projects
None yet
Development

No branches or pull requests

1 participant