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

AttributeError: 'NoneType' object has no attribute 'strip' #616

Closed
mbeacom opened this issue Mar 13, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mbeacom
Copy link
Contributor

commented Mar 13, 2018

View details in Rollbar: https://rollbar.com/mbeacom/gitcoin/items/489/

Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/viewsets.py", line 90, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/views.py", line 489, in dispatch
    response = self.handle_exception(exc)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/views.py", line 449, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/views.py", line 477, in dispatch
    self.initial(request, *args, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/views.py", line 395, in initial
    self.check_permissions(request)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/views.py", line 328, in check_permissions
    if not permission.has_permission(request, self):
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/permissions.py", line 141, in has_permission
    queryset = self._queryset(view)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/rest_framework/permissions.py", line 124, in _queryset
    queryset = view.get_queryset()
  File "/home/ubuntu/gitcoin/coin/app/dashboard/router.py", line 96, in get_queryset
    vals = val.strip().split(',')
AttributeError: 'NoneType' object has no attribute 'strip'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.