question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when parsing messages

See original GitHub issue
Traceback (most recent call last):                                               
  File "/Users/miroslav/anaconda3/bin/fbcap", line 11, in <module>
    sys.exit(fbcap())
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/fbchat_archive_parser/main.py", line 127, in fbcap
    write(fmt, fbch, directory or sys.stdout)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/fbchat_archive_parser/writers/__init__.py", line 44, in write
    selected_writer().write(data, stream_or_dir)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/fbchat_archive_parser/writers/writer.py", line 17, in write
    return self.write_history(data, stream)
  File "/Users/miroslav/anaconda3/lib/python3.6/site-packages/fbchat_archive_parser/writers/text.py", 
line 19, in write_history
    ('-' * len(history.user)) + "-\n"
TypeError: object of type 'NoneType' has no len()

Happens every time regardless. Does anyone have any idea what’s wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
miroslavtushevcommented, Nov 3, 2017

Works like a charm now, many many thanks to you for guiding me thru this process!!!

0reactions
ownaginatiouscommented, Nov 7, 2017

^ should be fixed now in 1.1.post8 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parse Error: What It Is and How to Fix It - Lifewire
A parse error is an error message you sometimes get on Android devices when an app fails to install. The message itself is...
Read more >
How do I fix the "Error parsing message:For input string
Hover over Property Management in the top left, then click Property Profile. If you have access to several properties, use the available search...
Read more >
Formula Parse Errors: What They Are & How to Fix Them
A formula parse error happens when you enter a formula into a cell, and the spreadsheet software cannot understand what you want it...
Read more >
Failure Parsing Inbound Synchronous AS2 MDN - IBM
When receiving an inbound AS2 synchronous MDN, the EDIINTPipelineParse service fails with error: "Parsing failure on message"
Read more >
What is a parse error? - Quora
A parse error in a piece of computer code, also known as a syntax error, prevents your program from compiling. Parse errors happen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found