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

New but continuing Json error - "ValueError: Unterminated string starting at:..." #256

Open
kelley8732 opened this issue Oct 3, 2014 · 2 comments

Comments

@kelley8732
Copy link

Hi,

Great program. It has been a real saver at times. I have been running it successfully for around 2 months in combination with some other tools that fit my needs.

2 weeks ago I started to get json errors. Am I the only one?

Here is an example of the error:

Traceback (most recent call last):
File "/home/k/projects/Tweeter.py", line 548, in
runengine_for_full_retweets()
File "/home/k/projects/Tweeter.py", line 161, in runengine_for_full_retweets
twittersearch = t.statuses.user_timeline(screen_name=i) ## i becomes variable for entire return of timeline tweets##
File "/usr/local/lib/python3.2/dist-packages/twitter/api.py", line 245, in call
return self._handle_response(req, uri, arg_data, _timeout)
File "/usr/local/lib/python3.2/dist-packages/twitter/api.py", line 267, in _handle_response
res = json.loads(data.decode('utf8'))
File "/usr/lib/python3.2/json/init.py", line 309, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.2/json/decoder.py", line 353, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.2/json/decoder.py", line 369, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Unterminated string starting at: line 1 column 35495 (char 35495)


I am new to the language and even newer to github. Any help at all would be greatly appreciated.

@maelfosso
Copy link

I also have the same error when searching tweet

How to solve it please ?

@hugovk
Copy link
Member

hugovk commented Dec 4, 2014

Duplicates? #256 #266 #271

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

No branches or pull requests

4 participants