Bug 871783

Summary: uninitialized constant Yast2::HwDetection::SCR
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Pluskal <mpluskal>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High    
Version: 13.2 Milestone 0   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Martin Pluskal 2014-04-03 09:13:58 UTC
Created attachment 584858 [details]
y2logs

When installin factory via netinst, following error appears:
Details: uninitialized constant Yast2::HwDetection::SCR
Caller:  /usr/share/YaST2/lib/yast2/hw_detection.rb:46:in `memory'

from y2log:
2014-04-03 11:09:30 <3> 10.100.98.87(3526) [Ruby] yast/wfm.rb:197 Client call failed with 'uninitialized constant Yast2::HwDetection::SCR' and backtrace ["/usr/share/YaST2/lib/yast2/hw_detection.rb:46:in `memory'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_productsources.rb:1732:in `check_memory_size'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_productsources.rb:1312:in `SourcesDialog'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_productsources.rb:1697:in `block in RunMain'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:538:in `call'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:538:in `eval'", "/mounts/mp_0001/usr/share/YaST2/modules/Sequencer.rb:268:in `WS_run'", "/mounts/mp_0001/usr/share/YaST2/modules/Sequencer.rb:340:in `Run'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_productsources.rb:1720:in `RunMain'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_productsources.rb:172:in `main'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_productsources.rb:1746: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:169:in `CallFunction'", "/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1391:in `RunFrom'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_installation_options.rb:162:in `main'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_installation_options.rb:227: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:169:in `CallFunction'", "/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1391:in `RunFrom'", "/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1578:in `Run'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_worker_initial.rb:106:in `main'", "/mounts/mp_0001/usr/share/YaST2/clients/inst_worker_initial.rb:128: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:169:in `CallFunction'", "/mounts/mp_0001/usr/share/YaST2/clients/installation.rb:72:in `main'", "/mounts/mp_0001/usr/share/YaST2/clients/installation.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'"]
2014-04-03 11:09:30 <3> 10.100.98.87(3526) [Ruby] yast/wfm.rb:202 Internal error. Please report a bug report with logs.
Details: uninitialized constant Yast2::HwDetection::SCR
Caller:  /usr/share/YaST2/lib/yast2/hw_detection.rb:46:in `memory'
2014-04-03 11:09:30 <1> 10.100.98.87(3526) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "OK" at 0x7f9c507606c0 from function key F10
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Interpreter] modules/ProductControl.rb:1391 Called YaST client returned.
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:184 Searching for hook files in '/var/lib/YaST2/hooks/installation'...
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:188 Found 0 hook files:
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:157 Creating hook 'installation_failure' from '/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1394'
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:161 Executing hook 'installation_failure'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 Cannot convert FalseClass from 'any' to 'symbol'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 ------------- Backtrace begin -------------
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 (eval):2:in `to_symbol'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1396:in `RunFrom'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/clients/inst_installation_options.rb:162:in `main'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/clients/inst_installation_options.rb:227:in `<top (required)>'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:169:in `CallFunction'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1391:in `RunFrom'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1578:in `Run'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/clients/inst_worker_initial.rb:106:in `main'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/clients/inst_worker_initial.rb:128:in `<top (required)>'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:169:in `CallFunction'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/clients/installation.rb:72:in `main'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /mounts/mp_0001/usr/share/YaST2/clients/installation.rb:103:in `<top (required)>'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'
2014-04-03 11:12:34 <2> 10.100.98.87(3526) [Ruby] (eval):2 ------------- Backtrace end ---------------
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:184 Searching for hook files in '/var/lib/YaST2/hooks/installation'...
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:188 Found 0 hook files:
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:157 Creating hook 'after_productsources' from '/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1398'
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/Hooks.rb:161 Executing hook 'after_productsources'
2014-04-03 11:12:34 <1> 10.100.98.87(3526) [Ruby] modules/ProductControl.rb:1400 Calling `inst_productsources ($["enable_back":true, "enable_next":true]) returned nil
2014-04-03 11:12:35 <1> 10.100.98.87(3526) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YCancelButton for YPushButton "Quit" at 0x7f9c50831a90 from function key F9
2014-04-03 11:12:35 <1> 10.100.98.87(3526) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "Next" at 0x7f9c508002f0 from function key F10
Comment 1 Martin Pluskal 2014-04-03 09:16:45 UTC
Note that I was using netinst from Milestone0 (on usb flash) and changed
installation repository to /factory/repo/oss as described in
http://en.opensuse.org/openSUSE:Factory_installation
Comment 2 Ladislav Slezák 2014-04-08 11:48:04 UTC
Fixed in yast2-3.1.38.