Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Don't call _get_group_list from the poll endpoint if the user is an anonymous user #605

alex opened this Issue · 1 comment

2 participants


If you do you get the folowing traceback:

Internal Server Error: /api/rdio/poll/

Stacktrace (most recent call last):

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

  File "django/views/decorators/", line 77, in wrapped_view
    return view_func(*args, **kwargs)

  File "sentry/web/", line 77, in _wrapped
    return func(request, project, *args, **kwargs)

  File "django/views/decorators/", line 89, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)

  File "sentry/web/", line 215, in poll

  File "sentry/web/frontend/", line 63, in _get_group_list

  File "django/db/models/", line 143, in filter
    return self.get_query_set().filter(*args, **kwargs)

  File "django/db/models/", line 621, in filter
    return self._filter_or_exclude(False, *args, **kwargs)

  File "django/db/models/", line 639, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))

  File "django/db/models/sql/", line 1250, in add_q
    can_reuse=used_aliases, force_having=force_having)

  File "django/db/models/sql/", line 1185, in add_filter

  File "django/db/models/sql/", line 69, in add
    value = obj.prepare(lookup_type, value)

  File "django/db/models/sql/", line 320, in prepare
    return self.field.get_prep_lookup(lookup_type, value)

  File "django/db/models/fields/", line 137, in get_prep_lookup
    return self._pk_trace(value, 'get_prep_lookup', lookup_type)

  File "django/db/models/fields/", line 210, in _pk_trace
    v = getattr(field, prep_func)(lookup_type, v, **kwargs)

  File "django/db/models/fields/", line 310, in get_prep_lookup
    return self.get_prep_value(value)

  File "django/db/models/fields/", line 537, in get_prep_value
    return int(value)

This should be closed now, yeah?

@dcramer dcramer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.