GithubHelp home page GithubHelp logo

Comments (2)

ptwobrussell avatar ptwobrussell commented on May 29, 2024

Hi - I've been busy traveling, and I apologize for my tardy response to you. What's happened is that the "twitter" Python package is not at version 1.6, and the examples targeted version 1.4.2, the latest version available to me at the time of writing (though I've heard from another reader that v1.5.x seems to work alright as well.) Unfortunately, version 1.6 doesn't seem to be backwards compatible, and I'm not sure if that's because of a bug in v1.6 or if it's intentional by the maintainer of that package. At the moment, I'd recommend you downgrade your version the twitter package to 1.4.2 while I look into this matter further if that's alright?

Thanks for pinging me about this. I promise to look into it and get you a response as soon as I can.

Regards - Matthew


http://www.linkedin.com/in/ptwobrussell

On Apr 2, 2011, at 12:45 AM, EugeneLiang wrote:

Hi,

First of all, thank you for writing the book and releasing the code!

I am having some issues in running the example.

After installing the required packages such as networkx and twitter package,
I ran recipe__visualize_rt_graph_protovis.py by typing the following:

$: ecipe__visualize_rt_graph_protovis.py japan

Than i received the following error:

Traceback (most recent call last):
File "recipe__visualize_rt_graph_protovis.py", line 71, in
page=page))
File "/usr/local/lib/python2.6/dist-packages/twitter-1.6-py2.6.egg/twitter/api.py", line 150, in call
return self._handle_response(req, uri, arg_data)
File "/usr/local/lib/python2.6/dist-packages/twitter-1.6-py2.6.egg/twitter/api.py", line 165, in _handle_response
raise TwitterHTTPError(e, uri, self.format, arg_data)
twitter.api.TwitterHTTPError: Twitter sent status 404 for URL: 1/search.json using parameters: (q=japan&rpp=100&page=1)
details:

<title>The page you were looking for doesn't exist (404)</title> <style type="text/css"> body { background-color: #fff; font-family: Helvetica, sans-serif; } h1 { margin: 10px 0; } img { border: 0; } </style>

The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.

May I know what am I doing wrong?

Am I missing something?

Best Regards,
Eugene

Reply to this email directly or view it on GitHub:
#1

from recipes-for-mining-twitter.

ptwobrussell avatar ptwobrussell commented on May 29, 2024

Please re-open if this is still an issue.

from recipes-for-mining-twitter.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.