-
Notifications
You must be signed in to change notification settings - Fork 489
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
keyError: 'next_results' on updated introduction__retweet_visualization.py #59
Comments
I think what could be happening is that what you are searching for is not returning any results, and that's causing an error. I should be handling that error case more elegantly, and will leave this ticket open as my note-to-self to do so. Is it possible that this is what is happening? Can you share your query with me so I could try to reproduce and track down this problem? |
Yes, you're right!! my query is 'direngeziparkı' . i wonder why this was working with your previous script and no with the last one? Απο: Matthew A. Russell [email protected] I think what could be happening is that what you are searching for is not returning any results, and that's causing an error. I should be handling that error case more elegantly, and will leave this ticket open as my note-to-self to do so. |
Whether or not there are results for a query is dependent entirely upon Twitter. It may be the case that they are flushing a cache or only keeping a history of the most recent tweets for a particular time window. My understanding is that query results could be transient like that. |
I'm having the same problem with the script in Chapter 1 |
Thanks for letting me know. I will get this patched and updated in GitHub later this morning. On Jul 5, 2013, at 2:43 AM, wandeg [email protected] wrote:
|
Hello Matt, im having a problem with your new script introduction__retweet_visualization.py
Trying to run the script but i get an error:
next_results = search_results['search_metadata']['next_results']
KeyError: 'next_results'
Any idea? Thnx anyway
The text was updated successfully, but these errors were encountered: