#33674: Timezones cause 500 errors to not email the site admin
---------------------------------+--------------------------------------
Reporter: iragm | Owner: (none)
Type: Bug | Status: closed
Component: Error reporting | Version: 4.0
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Carlton Gibson):
> tzinfo was not installed. I am not sure what to make of that, I would
have expected pip to install it.
You mean `tzdata`? — This is why I asked your OS, etc. It's ''quite
unexpected'' that your system would not have the timezone database
available, and installed in the expected locations. The `tzdata` package
is a fallback provided for such circumstances, which usually just means
Windows, for which it **is** installed automatically.
Can I ask you for a minimal reproduce projects. There's too much that
could be going on here: is it your system, is it Daphne, is it Django?
It's hard to diagnose a solution otherwise.
> ...that should happen even if the {% timezone user_timezone %} tag is
not set correctly, right?
As phrased, likely, yes, but how's it coming up? `IsADirectoryError` — if
this is a system error, it may be out-of-scope to try and work around.
(Not sure yet.)
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/33674#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701808f6d65d3-504f7526-61dc-4809-b32a-ac86e0988ffc-000000%40eu-central-1.amazonses.com.