From yesterday, Twitter API behavior is changed, and the posts do
not contain Content-Length are refused by API server.
(Today (10/28 0:00JST), this behavior is fixed and no more treatments are needed. (kimrin))
This issue's workaround is already pull-requested by jschauma and
this code works fine.
In details, see GitHub:
https://github.com/tweepy/tweepy/pull/214/files
Most people who install tweepy is using easy_install, so actual tweepy/binder.py file
is under the egg file.
In my Mac, this file is in /Library/Python/2.6/site-packages/ and begin with tweepy-.
So silly and tentative work around is:
1. extract egg file
2. modify tweepy/binder.py (only add 3 lines)
3. zip'ed and replace with old file (remain old file with renamed)
I hope this treatment is not needed in near the future (we can modify this changes
by using easy_install instructions).
kimrin
0 件のコメント:
コメントを投稿