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

TwitterHTTPError #228

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 1 comment
Open

TwitterHTTPError #228

GoogleCodeExporter opened this issue Aug 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I'm on version 0.8.2

When I use the .trends() method, I get the error below:

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (10, 0))

---------------------------------------------------------------------------
TwitterHTTPError                          Traceback (most recent call last)
/root/<ipython-input-8-7403d0e144cc> in <module>()
----> 1 x = twit.trends()

/usr/local/lib/python2.6/dist-packages/twitter/api.pyc in __call__(self, 
**kwargs)
    163
    164         req = urllib_request.Request(uriBase, body, headers)
--> 165         return self._handle_response(req, uri, arg_data)
    166
    167     def _handle_response(self, req, uri, arg_data):

/usr/local/lib/python2.6/dist-packages/twitter/api.pyc in 
_handle_response(self, req, uri, arg_data)
    178                 return []
    179             else:
--> 180                 raise TwitterHTTPError(e, uri, self.format, arg_data)
    181
    182 class Twitter(TwitterCall):

TwitterHTTPError: Twitter sent status 404 for URL: 1/trends.json using 
parameters: ()

----- snip ------

Original issue reported on code.google.com by [email protected] on 20 Mar 2012 at 10:14

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 16 Apr 2012 at 5:02

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

1 participant