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

Http404 raising frequently on profile view #492

Closed
mbeacom opened this issue Feb 24, 2018 · 0 comments
Closed

Http404 raising frequently on profile view #492

mbeacom opened this issue Feb 24, 2018 · 0 comments
Assignees
Labels
backend This needs backend expertise. bug This is something that isn't working as intended.

Comments

@mbeacom
Copy link
Contributor

mbeacom commented Feb 24, 2018

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

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/coin/app/dashboard/views.py", line 580, in profile
    profile = profile_helper(handle)
  File "/home/ubuntu/gitcoin/coin/app/dashboard/views.py", line 538, in profile_helper
    raise Http404
Http404Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/coin/app/dashboard/views.py", line 536, in profile_helper
    profile = Profile.objects.get(handle__iexact=handle)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/db/models/query.py", line 403, in get
    self.model._meta.object_name
DoesNotExist: Profile matching query does not exist.Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/coin/app/dashboard/views.py", line 532, in profile_helper
    profile = Profile.objects.get(handle__iexact=handle)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/db/models/query.py", line 403, in get
    self.model._meta.object_name
DoesNotExist: Profile matching query does not exist.
@mbeacom mbeacom added backend This needs backend expertise. rollbar labels Feb 24, 2018
@mbeacom mbeacom changed the title Http404 Http404 raising frequently on profile view Mar 2, 2018
@mbeacom mbeacom added the bug This is something that isn't working as intended. label Mar 2, 2018
@mbeacom mbeacom self-assigned this Mar 2, 2018
@mbeacom mbeacom closed this as completed in 00fa046 Mar 2, 2018
@mbeacom mbeacom reopened this Mar 2, 2018
@mbeacom mbeacom closed this as completed Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This needs backend expertise. bug This is something that isn't working as intended.
Projects
None yet
Development

No branches or pull requests

1 participant