Closed simonw closed 2 years ago
file_path
here is the empty string.
It looks like that tag is being called here: https://github.com/california-civic-data-coalition/django-calaccess-downloads-website/blob/62a94cd5935a070916542793afb81b8f14460d6d/calaccess_website/templates/calaccess_website/version/sections/errata.html#L23
{% archive_url file.error_log_archive.name app='raw' is_latest=is_latest %}
So file.error_log_archive.name
is the empty string here.
Thanks for flagging this. It is byproduct of two recent cost cutting moves. We migrated the database backend from AWS to Heroku, and the static file storage from S3 to the Internet Archive.
In the final weeks of election season, we noticed that our upload speeds to Internet Archive were drastically decreasing, leading to timeouts.
In the interest of generating the core files we needed to the cover the ongoing race, I trimmed down the number of static files being generated and uploaded. I haven't found time yet to go back and try to address the root issue.
https://calaccess.californiacivicdata.org/downloads/latest/ is giving me a Django error page:
IndexError at /downloads/latest/
Copied traceback: