You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
This error message is misleading and frustrating; 2016-11-08 can indeed correctly get parsed by dateutil, and the error instead is that the field couldn't be found in the first place, I believe.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just hit this for a while when setting up an app that depends on Elex, but where I'd injected an invalid
AP_API_BASE_URL
:It ran:
elex results --national-only --results-level ru --set-zero-counts 2016-11-08 > .data/results.csv
(with an invalidAP_API_BASE_URL
inos.environ
)And got in response:
2016-11-08 could not be recognized as a date.
This message is produced by the
@require_date_argument
decorator, presumably when it fails to find a date in the API's response.elex/elex/cli/decorators.py
Lines 19 to 27 in 6efd08a
This error message is misleading and frustrating;
2016-11-08
can indeed correctly get parsed bydateutil
, and the error instead is that the field couldn't be found in the first place, I believe.The text was updated successfully, but these errors were encountered: