Open sentry-io[bot] opened 3 years ago
Could do with the sentry context on this one to really see what is going on with the data through the stacktrace on this.
@amakarudze I requested sentry access to assist with this. Should be a simple fix once I can see what's happening with the live site.
@amakarudze Looking at the Sentry error on this one, I think this is likely invalid data on the event in the database. It would appear that this particular event doesn't have a date.
If you could confirm, I'll make the view more defensive & just say that if the date is invalid in that scenario then the event is in the past.
@marksweb wow! Thanks for picking that up. Yes, I checked the database and the event doesn't have a date. I wondered why the error keeps appearing, it's a data issue.
Sentry Issue: DJANGO-GIRLS-WEBSITE-4
This is the code causing this trace is from
core/views.py
lines 60 - 64. We have had this error for a while. Thought it had been fixed by upgrading Python version.