[New-bugs-announce] [issue32340] ValueError: time data 'N/A' does not match format '%Y%m%d'

ikram report at bugs.python.org
Fri Dec 15 14:46:47 EST 2017


New submission from ikram <infernus.kai at gmail.com>:

Traceback (most recent call last):
  File "H:\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtract.py", line 2453, in <module>
    main(sys.argv[1:])
  File "H:\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtract.py", line 1921, in main
    linkimage = findfile ("IMG", y.media_size, y.local_url, date, 2)
  File "H:\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtract.py", line 1266, in findfile
    timestamptoday = int(str(time.mktime(datetime.datetime.strptime(date, "%Y%m%d").timetuple()))[:-2])
  File "C:\Python27\lib\_strptime.py", line 332, in _strptime
    (data_string, format))
ValueError: time data 'N/A' does not match format '%Y%m%d'
Press any key to continue . . .

----------
components: Windows
messages: 308423
nosy: marki94, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: ValueError: time data 'N/A' does not match format '%Y%m%d'
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32340>
_______________________________________


More information about the New-bugs-announce mailing list