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

unknown error when reading lot's of tweets #9

Open
riccardoklinger opened this issue May 18, 2015 · 1 comment
Open

unknown error when reading lot's of tweets #9

riccardoklinger opened this issue May 18, 2015 · 1 comment

Comments

@riccardoklinger
Copy link
Contributor

I tried to read 100.000 tweets from twitter and received this error after a while:

Traceback (most recent call last):
File "/home/ricckli/.qgis2/python/plugins/geotweet/geotweet.py", line 324, in run
stream.filter(locations=[-180,-90,180,90])
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 428, in filter
self._start(async)
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 346, in _start
self._run()
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 255, in _run
self._read_loop(resp)
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 307, in _read_loop
next_status_obj = buf.read_len(length)
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 161, in read_len
self._buffer += self._stream.read(read_len).decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1788: ordinal not in range(128)

@ugurh
Copy link

ugurh commented Dec 6, 2015

Can you fix it ? ı have same errors

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

No branches or pull requests

2 participants