Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: time data 'N/A' does not match format '%Y%m%d' #76521

Closed
marki94 mannequin opened this issue Dec 15, 2017 · 2 comments
Closed

ValueError: time data 'N/A' does not match format '%Y%m%d' #76521

marki94 mannequin opened this issue Dec 15, 2017 · 2 comments
Labels
build The build process and cross-build OS-windows

Comments

@marki94
Copy link
Mannequin

marki94 mannequin commented Dec 15, 2017

BPO 32340
Nosy @pfmoore, @tjguk, @bitdancer, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2017-12-15.21:34:40.811>
created_at = <Date 2017-12-15.19:46:47.568>
labels = ['build', 'OS-windows']
title = "ValueError: time data 'N/A' does not match format '%Y%m%d'"
updated_at = <Date 2017-12-15.21:34:40.809>
user = 'https://bugs.python.org/marki94'

bugs.python.org fields:

activity = <Date 2017-12-15.21:34:40.809>
actor = 'r.david.murray'
assignee = 'none'
closed = True
closed_date = <Date 2017-12-15.21:34:40.811>
closer = 'r.david.murray'
components = ['Windows']
creation = <Date 2017-12-15.19:46:47.568>
creator = 'marki94'
dependencies = []
files = []
hgrepos = []
issue_num = 32340
keywords = []
message_count = 2.0
messages = ['308423', '308427']
nosy_count = 6.0
nosy_names = ['paul.moore', 'tim.golden', 'r.david.murray', 'zach.ware', 'steve.dower', 'marki94']
pr_nums = []
priority = 'normal'
resolution = 'third party'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue32340'
versions = ['Python 2.7']

@marki94
Copy link
Mannequin Author

marki94 mannequin commented Dec 15, 2017

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 . . .

@marki94 marki94 mannequin added OS-windows build The build process and cross-build labels Dec 15, 2017
@bitdancer
Copy link
Member

This is not a bug in python. If it is your code contact the pyhon-list mailing for help. If you got whatsapp_xtract from somewhere else, contact that community with your questions.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-windows
Projects
None yet
Development

No branches or pull requests

1 participant