[opensuse-factory] Milestone2 with Ruby Yast
I've just reverted my test-system to Yhr, and ran a zypper dup. When I now try any of the modules, I am again immediately returned to the main menu. Running modules individually also just returns.
From trying to access "repositories" within yast:
[Ruby] ycp/wfm.rb:85 Client call failed with private method `include' called for YCP:Module and backtrace ["/usr/share/YaST2/clients/repositories.rb:27:in `main'", "/usr/share/YaST2/clients/repositories.rb:1943:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `run_client'"] Calling "yast lan" directly: [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/PackageAI load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/PackageAI.rb:10:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/PackageAI' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/PackageSystem load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/PackageSystem.rb:18:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/PackageSystem' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Package load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Package.rb:80:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Package' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/NetHwDetection load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/NetHwDetection.rb:17:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/NetHwDetection' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/DNS load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/DNS.rb:17:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/DNS' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Host load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Host.rb:14:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Host' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Routing load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Routing.rb:13:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Routing' 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:47 list ["charmap=\"UTF-8\"", ""] 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:51 list ["charmap=\"UTF-8\""] 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:54 enc "UTF-8" 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:56 enc UTF-8 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:61 encoding UTF-8 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/FileSystems.rb:1234 support $[`btrfs:true, `ext2:true, `ext3:true, `ext4:true, `jfs:false, `lvm:true, `ntfs:true, `raid:true, `reiser:true, `vfat:true, `xbootdisk:false, `xbootfat:false, `xfs:true, `xhibernate:true, `xxefi:false] 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Storage.rb:3425 SetPartMode CUSTOM 2013-06-21 11:36:50 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/LanItems load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/LanItems.rb:13:in `main' 2013-06-21 11:36:50 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/LanItems' 2013-06-21 11:36:50 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/LanUdevAuto load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/LanUdevAuto.rb:10:in `main' 2013-06-21 11:36:50 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/LanUdevAuto' 2013-06-21 11:36:50 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Lan load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Lan.rb:37:in `main' 2013-06-21 11:36:50 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Lan' 2013-06-21 11:36:50 <3> chestnut(29510) [Ruby] ycp/wfm.rb:85 Client call failed with private method `include' called for YCP:Module and backtrace ["/usr/share/YaST2/clients/lan.rb:26:in `main'", "/usr/share/YaST2/clients/lan.rb:293:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `run_client'"] -- Per Jessen, Zürich (20.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Per, thanks for testing. I sent to OBS new version of ruby-bindings that support YaST include files, but due to problem with testsuite it is not built, so you use old version of ruby-bindings that doesn't have this new feature ( but new modules which benefit from this feature is already in BS ) Please update your yast2-ruby-bindings to version 1.1.0 and it should start working. In case that problem remains, please write again. Thanks Josef On Fri, 21 Jun 2013 11:42:43 +0200 Per Jessen <per@computer.org> wrote:
I've just reverted my test-system to Yhr, and ran a zypper dup. When I now try any of the modules, I am again immediately returned to the main menu. Running modules individually also just returns.
From trying to access "repositories" within yast:
[Ruby] ycp/wfm.rb:85 Client call failed with private method `include' called for YCP:Module and backtrace ["/usr/share/YaST2/clients/repositories.rb:27:in `main'", "/usr/share/YaST2/clients/repositories.rb:1943:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `run_client'"]
Calling "yast lan" directly:
[Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/PackageAI load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/PackageAI.rb:10:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/PackageAI'
2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/PackageSystem load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/PackageSystem.rb:18:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/PackageSystem' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Package load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Package.rb:80:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Package' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/NetHwDetection load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/NetHwDetection.rb:17:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/NetHwDetection' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/DNS load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/DNS.rb:17:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/DNS' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Host load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Host.rb:14:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Host' 2013-06-21 11:36:49 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Routing load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Routing.rb:13:in `main' 2013-06-21 11:36:49 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Routing' 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:47 list ["charmap=\"UTF-8\"", ""] 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:51 list ["charmap=\"UTF-8\""] 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:54 enc "UTF-8" 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:56 enc UTF-8 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Encoding.rb:61 encoding UTF-8 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/FileSystems.rb:1234 support $[`btrfs:true, `ext2:true, `ext3:true, `ext4:true, `jfs:false, `lvm:true, `ntfs:true, `raid:true, `reiser:true, `vfat:true, `xbootdisk:false, `xbootfat:false, `xfs:true, `xhibernate:true, `xxefi:false] 2013-06-21 11:36:50 <1> chestnut(29510) [Ruby] modules/Storage.rb:3425 SetPartMode CUSTOM 2013-06-21 11:36:50 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/LanItems load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/LanItems.rb:13:in `main' 2013-06-21 11:36:50 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/LanItems' 2013-06-21 11:36:50 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/LanUdevAuto load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/LanUdevAuto.rb:10:in `main' 2013-06-21 11:36:50 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/LanUdevAuto' 2013-06-21 11:36:50 <3> chestnut(29510) [Y2Ruby] binary/YRuby.cc(loadModule):148 Module /usr/share/YaST2/modules/Lan load failed:private method `include' called for YCP:Module at /usr/share/YaST2/modules/Lan.rb:37:in `main' 2013-06-21 11:36:50 <3> chestnut(29510) [Interpreter] ycp/i18n.rb:66 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Lan' 2013-06-21 11:36:50 <3> chestnut(29510) [Ruby] ycp/wfm.rb:85 Client call failed with private method `include' called for YCP:Module and backtrace ["/usr/share/YaST2/clients/lan.rb:26:in `main'", "/usr/share/YaST2/clients/lan.rb:293:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.0.0/ycp/wfm.rb:83:in `run_client'"]
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Josef Reidinger
-
Per Jessen