Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem with Twitter package by sixohsix
    primarykey
    data
    text
    <p>I am using a Twitter Python package which is installed by </p> <pre><code>easy_install twitter </code></pre> <p>The package can be found at : <a href="https://github.com/sixohsix/twitter" rel="nofollow">https://github.com/sixohsix/twitter</a></p> <p>I am running into some weird errors.</p> <pre><code>import twitter twitter_search = twitter.Twitter(domain="search.twitter.com") results = twitter_search.search(q="japan") </code></pre> <p>Than I received the following error:</p> <pre><code>Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; 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) details: &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8" /&gt; &lt;title&gt;The page you were looking for doesn't exist (404)&lt;/title&gt; &lt;style type="text/css"&gt; body { background-color: #fff; font-family: Helvetica, sans-serif; } h1 { margin: 10px 0; } img { border: 0; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;a href="/"&gt;&lt;img src="/images/search/twitter-logo-large.png"&gt;&lt;/a&gt; &lt;h1&gt;The page you were looking for doesn't exist.&lt;/h1&gt; &lt;p&gt;You may have mistyped the address or the page may have moved.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>May I know what am I doing wrong?</p> <p>I am using Ubuntu 10.04, Python 2.6, and using twitter-1.6</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload