DjangoGirls / djangogirls

Website for DjangoGirls.org
http://djangogirls.org/
BSD 3-Clause "New" or "Revised" License
461 stars 285 forks source link

TypeError: __str__ returned non-string (type NoneType) #957

Open sentry-io[bot] opened 6 months ago

sentry-io[bot] commented 6 months ago

Sentry Issue: DJANGO-GIRLS-WEBSITE-6G

TypeError: __str__ returned non-string (type NoneType)
(7 additional frame(s) were not displayed)
...
  File "django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "django/utils/decorators.py", line 130, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "django/contrib/admin/options.py", line 1540, in changeform_view
    return self._changeform_view(request, object_id, form_url, extra_context)
  File "django/contrib/admin/options.py", line 1590, in _changeform_view
    self.log_addition(request, new_object, change_message)
  File "django/contrib/admin/options.py", line 815, in log_addition
    object_repr=str(object),
vanessa commented 5 months ago

This stack trace isn't giving us much to go on. It would be helpful to know which page caused this error, and what object it was attempting to access, among other details.

@marksweb do you have any context on this that could help us find the culprit? Thank you!

marksweb commented 5 months ago

@vanessa this is what I can get at the moment.

Screenshot_20240430_165914_Firefox.jpg

We could do with Anna getting some time to invite you to sentry

vanessa commented 5 months ago

Thank you. That is helpful! I contacted Anna to ask that.