codexgigassys / codex-backend

Codex Gigas malware DNA profiling search engine discovers malware patterns and characteristics assisting individuals who are attracted in malware hunting.
MIT License
154 stars 38 forks source link

ValueError: day is out of range for month" (Legacy 343) #80

Open CrimsonGlory opened 7 years ago

CrimsonGlory commented 7 years ago

"Traceback (most recent call last): File ""/usr/local/lib/python2.7/site-packages/bottle.py"", line 862, in _handle return route.call(*args) File ""/usr/local/lib/python2.7/site-packages/bottle.py"", line 1732, in wrapper rv = callback(a, **ka) File ""/myapp/src/api2.py"", line 200, in search res=SearchModule.search_by_id(data,limit,columns,True) File ""/myapp/src/SearchModule.py"", line 209, in search_by_id p,v=translate_id(id,str_value) File ""/myapp/src/SearchModule.py"", line 177, in translate_id value=parse_date_range(aux) File ""/myapp/src/Utils/ProcessDate.py"", line 59, in parse_date_range return {""$gte"": process_date(str_date), ""$lt"": process_date(str_date)+timedelta(hours=24)} File ""/myapp/src/Utils/ProcessDate.py"", line 26, in process_date return dtdatetime.strptime(str_date,""%Y-%m-%d"") File ""/usr/local/lib/python2.7/_strptime.py"", line 458, in _strptime datetime_date(year, 1, 1).toordinal() + 1 ValueError: day is out of range for month"