Project

General

Profile

バグ #1347

libnotify.soがない環境でクラッシュする

Added by toshi_a 初音 5 months ago. Updated 5 months ago.

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

Description

新鮮なバグ報告だよ

バックトレース

/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/libnotify-0.9.4/lib/libnotify/api.rb:52:in `show!'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/libnotify-0.9.4/lib/libnotify/api.rb:75:in `update'
{MIKUTTER_DIR}/core/plugin/libnotify/libnotify.rb:16:in `block (2 levels) in <top (required)>'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/listener.rb:25:in `call'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/event.rb:116:in `block (2 levels) in call_all_listeners'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/event.rb:115:in `each'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/event.rb:115:in `block in call_all_listeners'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/event.rb:114:in `catch'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/event.rb:114:in `call_all_listeners'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.2/lib/pluggaloid/event.rb:42:in `block in call'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `run'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/delayer-0.0.2/lib/delayer/extend.rb:58:in `run_once'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/delayer-0.0.2/lib/delayer/extend.rb:30:in `run'
/Users/akkie/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/delayer-0.0.2/lib/delayer.rb:43:in `method_missing'
{MIKUTTER_DIR}/core/plugin/gtk/delayer.rb:10:in `block in boot'
{MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:7:in `main'
{MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:7:in `block in mainloop'
{MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:6:in `loop'
{MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:6:in `mainloop'
mikutter.rb:69:in `boot!'
mikutter.rb:105:in `<main>'

Associated revisions

Revision 28564a65 (diff)
Added by toshi_a 初音 5 months ago

libnotify.soがない環境では、libnotifyプラグインを無効化する refs #1347

Revision 92733fc4 (diff)
Added by toshi_a 初音 5 months ago

Revert "libnotify.soがない環境では、libnotifyプラグインを無効化する refs #1347"

This reverts commit 28564a65eda7b825130cc3847551a4a3868b54bc.

History

#1

Updated by toshi_a 初音 5 months ago

libnotify.soがない環境はありそうなので、このチケットではerrorを出力してクラッシュさせない。
エラーをActivityに持っていってもいいかと思ったけど、Activityからpopup_notifyイベントが発生してループしそう。

#2

Updated by toshi_a 初音 5 months ago

今まで、notify-sendがない環境ではこのプラグインは自動的に無効化されていたので、libnotify.soがない場合に自動的に無効化されるようにすべき

#3

Updated by toshi_a 初音 5 months ago

  • Status changed from 分類待ち to 終了

ロードされないようにした

Also available in: Atom PDF