Project

General

Profile

Actions

バグ #1079

closed

Windowsで動作させているとTLで画像を除くURLが開けない

Added by kagura1050 てお almost 7 years ago. Updated over 6 years ago.

Status:
終了
Priority:
通常
Target version:
プラグイン名:
ブランチ:
クラッシュする:
No

Description

Windows環境ではurlがfrozenされている場合があるらしく、以下のようなログをmikutter_botが表示して
画像を除くURLを開けませんでした。
#954 のブランチ+file_pathのWindows版 や 3.5.13に #1071 のパッチをあてたものを
Windows 10 Pro build 16299 + RubyInstaller 2.3.3(x86)
で動作させ、両方で発生することを確認しています。

can't modify frozen String

C:/Ruby23/lib/ruby/2.3.0/Win32API.rb:30:in `pack'
C:/Ruby23/lib/ruby/2.3.0/Win32API.rb:30:in `block in call'
C:/Ruby23/lib/ruby/2.3.0/Win32API.rb:29:in `each'
C:/Ruby23/lib/ruby/2.3.0/Win32API.rb:29:in `each_with_index'
C:/Ruby23/lib/ruby/2.3.0/Win32API.rb:29:in `call'
C:/Users/rigidchiper/mikutter/core/plugin/web/web.rb:17:in `openurl'
C:/Users/rigidchiper/mikutter/core/plugin/web/web.rb:8:in `block (2 levels) in <top (required)>'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/listener.rb:25:in `call'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:97:in `block (2 levels) in call_all_listeners'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:96:in `each'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:96:in `block in call_all_listeners'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:95:in `catch'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:95:in `call_all_listeners'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:39:in `block in call'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `run'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/delayer-0.0.2/lib/delayer/extend.rb:58:in `run_once'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/delayer-0.0.2/lib/delayer/extend.rb:30:in `run'
C:/Ruby23/lib/ruby/gems/2.3.0/gems/delayer-0.0.2/lib/delayer.rb:43:in `method_missing'
C:/Users/rigidchiper/mikutter/core/plugin/gtk/delayer.rb:10:in `block in boot'
C:/Users/rigidchiper/mikutter/core/plugin/gtk/mainloop.rb:10:in `main'
C:/Users/rigidchiper/mikutter/core/plugin/gtk/mainloop.rb:10:in `mainloop'
C:/Users/rigidchiper/mikutter/mikutter.rb:65:in `boot!'
C:/Users/rigidchiper/mikutter/mikutter.rb:94:in `<main>'

Files

1079-url-melt.diff (544 Bytes) 1079-url-melt.diff kagura1050 てお, 2018-02-03 09:28
Actions

Also available in: Atom PDF