View Full Version : SLES12: Yast Partitioner fails to start with some Ruby error

24-Feb-2015, 11:06

Whenever I try to launch Partitioner from Yast menu I get the following Ruby error:

--- clip --- clip ---
Internal error. Please report a bug report with logs.
Details: component cannot import namespace 'Storage'
Caller: /usr/lib64/ruby/vendor_ruby/2.1.0/yast/yast.rb:162:in `import_pure'
--- clip --- clip ---

/var/log/YaST2/y2log says:

--- clip --- clip ---

2015-02-24 11:08:28 <1> <MY MACHINE>(13635) [Ruby] clients/disk.rb:84 --- Calling disk_worker [] ---
2015-02-24 11:08:28 <1> <MY MACHINE>(13635) [Interpreter] clients/disk.rb:85 Calling YaST client disk_worker
2015-02-24 11:08:28 <1> <MY MACHINE>(13635) [Ruby] yast/wfm.rb:181 Call client /usr/share/YaST2/clients/disk_worker.rb
2015-02-24 11:08:29 <3> <MY MACHINE>(13635) [Y2Ruby] binary/Y2RubyUtils.cc(y2_require):25 cannot require yast:Bad file descriptor @ io_write - <STDERR> at /usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.6.5/lib/nokogiri/version.rb:93:in `write'
2015-02-24 11:08:29 <3> <MY MACHINE>(13635) [Interpreter] yast/i18n.rb:133 Ruby::loadModule() / Can't load ruby module '/usr/share/YaST2/modules/Storage'
2015-02-24 11:08:29 <5> <MY MACHINE>(13635) [Y2Ruby] binary/YRubyNamespace.cc(YRubyNamespace):219 The Ruby module 'Storage' is not provided by its rb file
2015-02-24 11:08:29 <3> <MY MACHINE>(13635) [Interpreter] yast/i18n.rb:133 No table associated to module 'Storage'
2015-02-24 11:08:29 <3> <MY MACHINE>(13635) [Ruby] binary/Yast.cc(getNs):64 ruby call: Can't import namespace 'Storage'
2015-02-24 11:08:29 <3> <MY MACHINE>(13635) [Ruby] yast/wfm.rb:197 Client call failed with 'component cannot import namespace 'Storage'' and backtrace ["/usr/lib64/ruby/vendor_ruby/2.1.0/yast/yast.rb:162:in `import_pure'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/yast.rb:162:in `import'", "/usr/share/YaST2/clients/disk_worker.rb:43:in `main'", "/usr/share/YaST2/clients/disk_worker.rb:158:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:156:in `call'", "/usr/share/YaST2/clients/disk.rb:85:in `main'", "/usr/share/YaST2/clients/disk.rb:103:in `<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'"]
2015-02-24 11:08:29 <3> <MY MACHINE>(13635) [Ruby] yast/wfm.rb:202 Internal error. Please report a bug report with logs.
Details: component cannot import namespace 'Storage'
Caller: /usr/lib64/ruby/vendor_ruby/2.1.0/yast/yast.rb:162:in `import_pure'
2015-02-24 11:08:29 <1> <MY MACHINE>(13635) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "OK" at 0x7f86000837b0 from function key F10
2015-02-24 11:51:53 <1> <MY MACHINE>(13635) [Interpreter] clients/disk.rb:85 Called YaST client returned.
2015-02-24 11:51:53 <1> <MY MACHINE>(13635) [Ruby] clients/disk.rb:86 --- Returned: false ---

--- clip --- clip ---

Is this some path error, mismatch in Ruby version or what?

Any help is appreciated.

Br. Mika

Automatic reply
01-Mar-2015, 14:30

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team