バグ #1058
完了
undefined method `terminate'が発生して起動しない
ncaq エヌユル さんが7年以上前に追加.
7年以上前に更新.
説明
mikutter 3.5.9(gentoo portageの9999)
delayer 0.0.2
delayer-deferred 2.0.0
で発生しました.
プラグイン全無効でも発生しました.
エラーメッセージは
% mikutter
/usr/share/mikutter/core/service.rb:262:in `user_initialize': undefined method `terminate' for #<Delayer::Deferred::Chain::Trap seq:fresh child:false> (NoMethodError)
from /usr/share/mikutter/core/service.rb:118:in `initialize'
from /usr/lib64/ruby/gems/2.2.0/gems/instance_storage-1.0.0/lib/instance_storage.rb:54:in `new'
from /usr/lib64/ruby/gems/2.2.0/gems/instance_storage-1.0.0/lib/instance_storage.rb:54:in `block in []'
from /usr/lib64/ruby/gems/2.2.0/gems/instance_storage-1.0.0/lib/instance_storage.rb:50:in `synchronize'
from /usr/lib64/ruby/gems/2.2.0/gems/instance_storage-1.0.0/lib/instance_storage.rb:50:in `[]'
from /usr/share/mikutter/core/service.rb:23:in `block in services_refresh'
from /usr/share/mikutter/core/service.rb:22:in `each'
from /usr/share/mikutter/core/service.rb:22:in `services_refresh'
from /usr/share/mikutter/core/service.rb:304:in `<class:Service>'
from /usr/share/mikutter/core/service.rb:11:in `<top (required)>'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/mikutter/core/miquire.rb:98:in `miquire_original_require'
from /usr/share/mikutter/core/miquire.rb:95:in `file_or_directory_require'
from /usr/share/mikutter/core/miquire.rb:76:in `block in miquire'
from /usr/share/mikutter/core/miquire.rb:75:in `each'
from /usr/share/mikutter/core/miquire.rb:75:in `miquire'
from /usr/share/mikutter/core/miquire.rb:18:in `miquire'
from /usr/share/mikutter/mikutter.rb:39:in `<main>'
3.5系は delayer-deferred 2.0 系にはまだ対応してないんじゃないかと思います。
#995#note-11 のようにパッチを当てれば動くはず……?
なるほど,それを聞いて
dev-ruby/delayer-deferred-1.1.1
をインストールして起動してみようとしたのですが,以下のエラーが起きて起動しませんでした.
これはmikutterのバグでしょうか,それともgentooのバグレポートに行くべきでしょうか?
% mikutter
/usr/lib64/ruby/site_ruby/2.2.0/rubygems/dependency.rb:308:in `to_specs': Could not find 'native-package-installer' (>= 1.0.3) among 48 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/ncaq/.gem/ruby/2.2.0:/usr/local/lib64/ruby/gems/2.2.0:/usr/lib64/ruby/gems/2.2.0', execute `gem env` for more information
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1439:in `block in activate_dependencies'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1428:in `each'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1428:in `activate_dependencies'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1410:in `activate'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:220:in `rescue in try_activate'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:213:in `try_activate'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/pango.rb:10:in `<top (required)>'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/gtk2/base.rb:14:in `<top (required)>'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/gtk2.rb:11:in `<top (required)>'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from /usr/share/mikutter/core/plugin/settings/builder.rb:5:in `<top (required)>'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from /usr/share/mikutter/core/plugin/settings/settings.rb:3:in `<top (required)>'
from /usr/share/mikutter/core/miquire_plugin.rb:155:in `load'
from /usr/share/mikutter/core/miquire_plugin.rb:155:in `load'
from /usr/share/mikutter/core/miquire_plugin.rb:148:in `block in load'
from /usr/share/mikutter/core/miquire_plugin.rb:146:in `each'
from /usr/share/mikutter/core/miquire_plugin.rb:146:in `load'
from /usr/share/mikutter/core/miquire_plugin.rb:148:in `block in load'
from /usr/share/mikutter/core/miquire_plugin.rb:146:in `each'
from /usr/share/mikutter/core/miquire_plugin.rb:146:in `load'
from /usr/share/mikutter/core/miquire_plugin.rb:98:in `block in load_all'
from /usr/share/mikutter/core/miquire_plugin.rb:38:in `block in each_spec'
from /usr/share/mikutter/core/miquire_plugin.rb:33:in `each'
from /usr/share/mikutter/core/miquire_plugin.rb:33:in `each'
from /usr/share/mikutter/core/miquire_plugin.rb:36:in `each_spec'
from /usr/share/mikutter/core/miquire_plugin.rb:96:in `load_all'
from /usr/share/mikutter/core/boot/load_plugin.rb:10:in `<top (required)>'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from /usr/share/mikutter/core/miquire.rb:98:in `miquire_original_require'
from /usr/share/mikutter/core/miquire.rb:95:in `file_or_directory_require'
from /usr/share/mikutter/core/miquire.rb:76:in `block in miquire'
from /usr/share/mikutter/core/miquire.rb:75:in `each'
from /usr/share/mikutter/core/miquire.rb:75:in `miquire'
from /usr/share/mikutter/core/miquire.rb:18:in `miquire'
from /usr/share/mikutter/mikutter.rb:41:in `<main>'
pkgsrc での作業時の記憶からすると、
確か新しい ruby-gnome2 の gem のうち、
glib の gem が native-package-installer を要求するようになっていたと思います。
native-package-installer を各種パッケージシステムでどう扱うかというのは個別に考える必要があるので、 gentoo の中の人に報告する案件だと思います。
他の形式にエクスポート: Atom
PDF