--> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.10: C:\python27_32\python.exe
Sat Apr 30 21:36:27 2016

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 K:\web\cgi\stats\gigapan_stats5.py in ()
     26 d = 'p:/gigapan db/data'
     27 end_date_str = sorted( [o for o in os.listdir(d) if os.path.isdir(os.path.join(d,o))] )[-1]
=>   28 end_date = datetime.strptime( end_date_str, '%Y-%m-%d %H-%M-%S' )
     29 
     30 def mk_dt( delta ):
end_date undefined, datetime = <type 'datetime.datetime'>, datetime.strptime = <built-in method strptime of type object>, end_date_str = 'incoming'
 C:\python27_32\lib\_strptime.py in _strptime(data_string='incoming', format='%Y-%m-%d %H-%M-%S')
    323     if not found:
    324         raise ValueError("time data %r does not match format %r" %
=>  325                          (data_string, format))
    326     if len(data_string) != found.end():
    327         raise ValueError("unconverted data remains: %s" %
data_string = 'incoming', format = '%Y-%m-%d %H-%M-%S'

<type 'exceptions.ValueError'>: time data 'incoming' does not match format '%Y-%m-%d %H-%M-%S'
      args = ("time data 'incoming' does not match format '%Y-%m-%d %H-%M-%S'",)
      message = "time data 'incoming' does not match format '%Y-%m-%d %H-%M-%S'"