Skip to content

charmap decode error - Whatsapp #41

Description

@strod

after run "python parse.py whatsapp

Traceback (most recent call last):
File "parse.py", line 83, in
ArgParse()
File "parse.py", line 41, in init
getattr(self, args.command)()
File "parse.py", line 79, in whatsapp
main(args.own_name, args.file_path, args.max, args.infer_datetime)
File "C:\Users\rodrigo.teixeira\Documents\GitHub\Chatistics-master\parsers\whatsapp.py", line 62, in main
data = parse_messages(files, own_name, infer_datetime)
File "C:\Users\rodrigo.teixeira\Documents\GitHub\Chatistics-master\parsers\whatsapp.py", line 85, in parse_messages
regex_message = infer_datetime_regex(f_path)
File "C:\Users\rodrigo.teixeira\Documents\GitHub\Chatistics-master\parsers\whatsapp.py", line 24, in infer_datetime_regex
for c, line in enumerate(f):
File "C:\ProgramData\Anaconda3\envs\chatistics\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 4095: character maps to

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions