Bug 930957

Summary: Internal error in LanItems.rb
Product: [openSUSE] openSUSE Tumbleweed Reporter: Freek de Kruijf <freek>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: freek, jreidinger
Version: Current   
Target Milestone: ---   
Hardware: armv5   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The y2logs.tgz

Description Freek de Kruijf 2015-05-14 20:08:47 UTC
When configuring the network usung Tumbleweed 20150513 using yast ncurses on a Raspberry P1 1B, during Read device configuration, I got the following error:
Internal error. Please report a bug report with logs.
Details: undefined method `ReadHardware' for #<Yast::LanItemsClass:0x6f4c68>
Caller:  /usr/share/YaST2/modules/LanItems.rb:980:in `ReadHw'
Comment 1 Freek de Kruijf 2015-05-14 20:14:56 UTC
Created attachment 634329 [details]
The y2logs.tgz

After selecting OK the module ends. The network is not configurable using yast.
Comment 2 Josef Reidinger 2015-06-05 09:05:14 UTC
Can you please check if it is duplicate of bug#925178 ? Easy load of network module should show it.
Comment 3 Freek de Kruijf 2015-06-05 12:40:02 UTC
Now on the RPi 1B:

rpitest:~ # irb
irb(main):001:0> require "yast"
=> true
irb(main):002:0> load "/usr/share/YaST2/modules/LanItems.rb"
/usr/share/YaST2/modules/LanItems.rb:221: warning: duplicated key at line 229 ignored: "rt73usb"
/usr/share/YaST2/modules/LanItems.rb:261: warning: duplicated key at line 272 ignored: "WIRELESS_CLIENT_CERT"
/usr/share/YaST2/modules/LanItems.rb:262: warning: duplicated key at line 275 ignored: "WIRELESS_CA_CERT"
NameError: component cannot import namespace 'Storage'
        from /usr/lib/ruby/vendor_ruby/2.2.0/yast/yast.rb:162:in `import_pure'
        from /usr/lib/ruby/vendor_ruby/2.2.0/yast/yast.rb:162:in `import'
        from /usr/share/YaST2/modules/LanItems.rb:55:in `main'
        from /usr/share/YaST2/modules/LanItems.rb:2638:in `<module:Yast>'
        from /usr/share/YaST2/modules/LanItems.rb:26:in `<top (required)>'
        from (irb):2:in `load'
        from (irb):2
        from /usr/bin/irb:11:in `<main>'
irb(main):003:0> quit
You have new mail in /var/mail/root
rpitest:~ #

same problem.
Comment 4 Josef Reidinger 2015-06-05 12:45:10 UTC
ok, so lets mark it as duplicate

*** This bug has been marked as a duplicate of bug 933274 ***