Skip to content

KeyError with version 5.1.4 on updating client security settings #720

Closed

Description

@bernd

Hi,

I just updated to sentry 5.1.4. When I try to update the client security settings for a project (adding an origin), I get the following error.

KeyError: 1

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "sentry/web/decorators.py", line 65, in _wrapped
    return func(request, project, *args, **kwargs)
  File "django/utils/decorators.py", line 91, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "sentry/web/frontend/projects.py", line 188, in manage_project
    if form.is_valid():
  File "django/forms/forms.py", line 124, in is_valid
    return self.is_bound and not bool(self.errors)
  File "django/forms/forms.py", line 115, in _get_errors
    self.full_clean()
  File "django/forms/forms.py", line 270, in full_clean
    self._clean_fields()
  File "django/forms/forms.py", line 290, in _clean_fields
    value = getattr(self, 'clean_%s' % name)()
  File "sentry/web/forms/projects.py", line 127, in clean_team
    return self.team_list[int(value)]

Do you need anything else?

Thank you!

Activity

  1. dcramer commented on Jan 10, 2013

    @dcramer
    Member

    A few questions about the install config:

    • What is SENTRY_PUBLIC set to?
    • What is the project's "public" status?
    • Are you a member of the team shown in the "Select Team" box on that page?
  2. bernd commented on Jan 11, 2013

    @bernd
    Author
    • SENTRY_PUBLIC = False
    • The project's public checkbox is not checked. So not public.
    • Yep, I'm member of the team, owner of the project and admin.
  3. locked and limited conversation to collaborators on Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions