Closed palewire closed 7 years ago
Something might be off with this:
>>> v = RawDataVersion.objects.latest('update_finish_datetime')
>>> v
<RawDataVersion: 2017-02-16 22:50:55+00:00>
Compared to the latest dates here:
>>> RawDataVersion.objects.all()
<QuerySet [<RawDataVersion: 2017-04-11 11:21:17+00:00>, <RawDataVersion: 2017-04-11 11:20:30+00:00>, <RawDataVersion: 2017-04-10 11:20:55+00:00>, <RawDataVersion: 2017-04-10 11:20:29+00:00>, <RawDataVersion: 2017-04-09 11:20:59+00:00>, <RawDataVersion: 2017-04-09 11:20:32+00:00>, <RawDataVersion: 2017-04-07 11:20:56+00:00>, <RawDataVersion: 2017-04-07 11:20:30+00:00>, <RawDataVersion: 2017-04-06 16:33:17+00:00>, <RawDataVersion: 2017-04-06 16:32:51+00:00>, <RawDataVersion: 2017-04-05 11:20:56+00:00>, <RawDataVersion: 2017-04-05 11:20:28+00:00>, <RawDataVersion: 2017-04-04 11:20:56+00:00>, <RawDataVersion: 2017-04-04 11:20:30+00:00>, <RawDataVersion: 2017-04-03 11:20:54+00:00>, <RawDataVersion: 2017-04-03 11:20:28+00:00>, <RawDataVersion: 2017-04-02 11:21:09+00:00>, <RawDataVersion: 2017-04-02 11:20:29+00:00>, <RawDataVersion: 2017-03-31 11:21:00+00:00>, <RawDataVersion: 2017-03-31 11:20:28+00:00>, '...(remaining elements truncated)...']
It looks to me like a null update_finish_datetime
has sorted to the top:
>>> RawDataVersion.objects.all()[0].update_finish_datetime
datetime.datetime(2017, 4, 11, 13, 18, 22, 410878, tzinfo=<UTC>)
>>> v = RawDataVersion.objects.latest('update_finish_datetime').update_finish_datetime
>>>
The latest download links are busted and here's what I get when I ssh into prod and try to run
createlatestlinks
by handThat Feb. 16, 2017 date does not look good.