-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Unable to parse date when running a techmeme campaign
<DIV CLASS="itc1" ONMOUSEOVER="overitem(1,true,1)" ONMOUSEOUT="overitem(1,false,1)"><DIV CLASS="itc2" ID="210414p24"><DIV CLASS="item" ID="1i1">
[2021-04-14 22:18:30,811: ERROR/MainProcess] Task process_campaign[0175e485-7a4c-4f4c-b06c-53e91c45ad15] raised unexpected: ValueError("time d
ata '' does not match format '%y%m%d'",)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/usr/local/src/newsml/main/appD.py", line 37, in process_campaign
techmeme.launch(campaign_instance)
File "/usr/local/src/newsml/main/lib/techmeme/top_news.py", line 169, in launch
'%y%m%d').date()
File "/usr/local/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.6/_strptime.py", line 362, in _strptime
(data_string, format))
ValueError: time data '' does not match format '%y%m%d'
Metadata
Metadata
Assignees
Labels
No labels