Internal server error
My mailbox is filling up with dozens of notification of an internal server error. i wont post the whole mail as it is long, but here is the top:
Internal Server Error: /archives/list/jackrail-meta@jackrail.org/recent-threads
TypeError at /archives/list/jackrail-meta@jackrail.org/recent-threads 'datetime.date' object is not iterable
Request Method: GET Request URL: https://list.jackrail.org/archives/list/jackrail-meta@jackrail.org/recent-th... Django Version: 2.1.9 Python Executable: /opt/mailman/mm/venv/bin/uwsgi Python Version: 3.7.3
What is causing this? [Assuming that knowing the cause will lead to me fixing it.]
Andrew
Andrew Bernard writes:
My mailbox is filling up with dozens of notification of an internal server error. i wont post the whole mail as it is long, but here is the top:
Internal Server Error: /archives/list/jackrail-meta@jackrail.org/recent-threads
TypeError at /archives/list/jackrail-meta@jackrail.org/recent-threads 'datetime.date' object is not iterable
This is not your error, this a bug in Mailman (unlikely), Django (plausible), or some library Django uses. It could be a broken email, but that's still a validation bug somewhere in the Mailman stack.
Googling "'datetime.date' object is not iterable django" suggests there may have been a Django or library bug in 2016 or so (I did *not* go past the blurbs Google returns).
Without a backtrace, I can't identify this.
If the "long" email is long because of the backtrace, please do post it. If not, set DEBUG=True in your config, restart Mailman long enough to get the message, find the backtrace in the message or log, and post that.
If you're shy about posting long texts of uncertain value to the -users list (I understand the feeling), feel free to post to the GitLab issue tracker or mailman-developers@python.org.
Steve
participants (2)
-
Andrew Bernard
-
Stephen J. Turnbull