Project

General

Profile

致命的 #233

URL展開に失敗したときにクラッシュしている

Added by toshi_a 初音 over 9 years ago. Updated over 9 years ago.

Status:
終了
Priority:
通常
Assignee:
-
Target version:
-
Start date:
2011-06-16
Due date:
% Done:

100%

プラグイン名:

Description

最近bitlyの反応が悪いので、顕在化してきたらしい。Message::Entityは、展開に失敗したときには短縮されたままのURLを表示するなど適切な処置をするべき。

notice: {MIKUTTER_DIR}/core/addon/bitly/bitly.rb:80:in `expand_url_many': ["http://bit.ly/imPAGL"]
/opt/miku/rb192/lib/ruby/1.9.1/net/protocol.rb:135:in `read_nonblock': end of file reached (EOFError)
from /opt/miku/rb192/lib/ruby/1.9.1/net/protocol.rb:135:in `rbuf_fill'
from /opt/miku/rb192/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
from /opt/miku/rb192/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:2219:in `read_status_line'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:2208:in `read_new'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:1191:in `transport_request'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:1177:in `request'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:1081:in `request_get'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:389:in `block in get_response'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:627:in `start'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:388:in `get_response'
from /opt/miku/rb192/lib/ruby/1.9.1/net/http.rb:370:in `get'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/bitly/bitly.rb:85:in `block in expand_url_many'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/bitly/bitly.rb:83:in `times'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/bitly/bitly.rb:83:in `expand_url_many'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/bitly/bitly.rb:19:in `block (2 levels) in initialize'

#1

Updated by Anonymous over 9 years ago

  • Status changed from 新規 to 終了
  • % Done changed from 0 to 100

更新履歴 r417 で適用されました。

Also available in: Atom PDF