A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/cgi-bin/reviewVideo in <module>() |
90 if dateString is not None:
|
91 print('\t\t\t\t\t\t<input type="text" class="shadowed" name="dateString" id="datepicker" value="' + dateString + '">')
|
=> 92 dateTime = datetime.datetime.strptime(dateString, "%m/%d/%Y")
|
93 nextDateTime = datetime.datetime.strptime(dateString, "%m/%d/%Y") + datetime.timedelta(days=1)
|
94 previousDateTime = datetime.datetime.strptime(dateString, "%m/%d/%Y") - datetime.timedelta(days=1)
|
dateTime undefined, datetime = <module 'datetime' from '/usr/local/lib/python3.6/datetime.py'>, datetime.datetime = <class 'datetime.datetime'>, datetime.datetime.strptime = <built-in method strptime of type object>, dateString = '07%2F16%2F2018' |
/usr/local/lib/python3.6/_strptime.py in _strptime_datetime(cls=<class 'datetime.datetime'>, data_string='07%2F16%2F2018', format='%m/%d/%Y') |
563 """Return a class cls instance based on the input string and the
|
564 format string."""
|
=> 565 tt, fraction = _strptime(data_string, format)
|
566 tzname, gmtoff = tt[-2:]
|
567 args = tt[:6] + (fraction,)
|
tt undefined, fraction undefined, global _strptime = <function _strptime>, data_string = '07%2F16%2F2018', format = '%m/%d/%Y' |