Skip to content

Instantly share code, notes, and snippets.

@anjackson
Created September 16, 2014 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjackson/14bd9cf612f3eeff9efe to your computer and use it in GitHub Desktop.
Save anjackson/14bd9cf612f3eeff9efe to your computer and use it in GitHub Desktop.
twarc.py 0.0.7
Traceback (most recent call last):
File "/usr/local/bin/twarc.py", line 283, in <module>
archive(args.query, tweets)
File "/usr/local/bin/twarc.py", line 197, in archive
for status in statuses:
File "/usr/local/bin/twarc.py", line 139, in stream
yield json.loads(line)
File "/usr/local/lib/python2.7/json/__init__.py", line 310, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python2.7/json/decoder.py", line 346, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python2.7/json/decoder.py", line 364, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment