プロジェクト

全般

プロフィール

致命的 #238

完了

不正なフォーマットのデータをTwitter APIが返すとクラッシュすることがあるらしい

toshi_a 初音 さんがほぼ13年前に追加. ほぼ13年前に更新.

ステータス:
終了
優先度:
通常
担当者:
対象バージョン:
-
開始日:
2011-07-03
期日:
進捗率:

100%

プラグイン名:

説明

r418 で、起動時に以下のようなエラーを吐いてクラッシュした。想定外のデータ構造がTwitter APIから返されたっぽい。
notice: {MIKUTTER_DIR}/core/twitter_api.rb:233:in `query_with_auth': get /toshi_a/lists.json => #<Net::HTTPOK:0x00000004640fd8> (1.377927361s)
/home/toshi/Documents/hobby/scripts/mikutter/trunk/core/utils.rb:277:in `type_strict': ArgumentError (ArgumentError)
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/message.rb:169:in `receive_to?'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/message.rb:134:in `to_me?'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:113:in `block in pack_message_event'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:110:in `each'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:110:in `pack_message_event'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:105:in `block (2 levels) in singletonclass'
from /opt/miku/rb192/lib/ruby/1.9.1/set.rb:222:in `block in each'
from /opt/miku/rb192/lib/ruby/1.9.1/set.rb:222:in `each_key'
from /opt/miku/rb192/lib/ruby/1.9.1/set.rb:222:in `each'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:104:in `block in singletonclass'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:58:in `block (2 levels) in define_together_event'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:55:in `loop'
from /home/toshi/Documents/hobby/scripts/mikutter/trunk/core/addon/streaming.rb:55:in `block in define_together_event'

他の形式にエクスポート: Atom PDF