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

RelatedObjectDoesNotExist: <class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'> #388

Open
jlark opened this issue Jan 10, 2017 · 0 comments

Comments

@jlark
Copy link
Contributor

jlark commented Jan 10, 2017

View details in Rollbar: https://rollbar.com/GLE/Sesh-dash/items/77/

Traceback (most recent call last):
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/contrib/admin/options.py", line 541, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 244, in inner
    return view(request, *args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1435, in add_view
    return self.changeform_view(request, None, form_url, extra_context)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/utils/decorators.py", line 67, in _wrapper
    return bound_func(*args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/utils/decorators.py", line 63, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/utils/decorators.py", line 184, in inner
    return func(*args, **kwargs)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1382, in changeform_view
    self.log_addition(request, new_object, change_message)
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/contrib/admin/options.py", line 714, in log_addition
    object_repr=force_text(object),
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/utils/encoding.py", line 80, in force_text
    s = six.text_type(bytes(s), encoding, errors)
  File "/home/dev/sesh-dash/src/seshdash/models.py", line 162, in __str__
    return self.sesh_site.site_name
  File "/home/dev/sesh-dash/local/lib/python2.7/site-packages/django/db/models/fields/related_descriptors.py", line 355, in __get__
    self.related.get_accessor_name()
RelatedObjectDoesNotExist: <class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant