Bug ID | 1161956 |
---|---|
Summary | undefined method `each_with_object' in product_control_product.rb when from Live KDE |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | YaST2 |
Assignee | yast2-maintainers@suse.de |
Reporter | Sergey.Klyaus@Elcom.SPb.Ru |
QA Contact | jsrain@suse.com |
Found By | --- |
Blocker | --- |
I've tried to install openSUSE Tumbleweed 20200122 using Live KDE USB stick, but installer had failed with the following backtrace: 2020-01-26 13:47:06 <3> localhost.localdomain(3779) [Ruby] yast/wfm.rb:253 Client /usr/share/YaST2/clients/inst_repositories_initializa tion.rb failed with 'undefined method `each_with_object' for "":String' (NoMethodError). /usr/share/YaST2/lib/y2packager/product_control_product.rb:57:in `products' /usr/share/YaST2/lib/y2packager/product_reader.rb:87:in `all_products' /usr/share/YaST2/lib/y2packager/product_reader.rb:125:in `available_base_products' /usr/share/YaST2/lib/y2packager/product.rb:107:in `available_base_products' /usr/share/YaST2/lib/y2packager/clients/inst_repositories_initialization.rb:133:in `products' /usr/share/YaST2/lib/y2packager/clients/inst_repositories_initialization.rb:52:in `main' /usr/share/YaST2/clients/inst_repositories_initialization.rb:3:in `<top (required)>' /usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:318:in `eval' /usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:318:in `run_client' /usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:206:in `call_builtin' /usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:206:in `call_builtin_wrapper' /usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:195:in `CallFunction' /usr/share/YaST2/modules/ProductControl.rb:1338:in `RunFrom' /usr/share/YaST2/modules/ProductControl.rb:1507:in `Run' /usr/share/YaST2/lib/installation/clients/inst_worker_initial.rb:101:in `main' It seems that control.xml in Live KDE build doesn't have software/base_products defined. Disabling ProductControlProduct.products (by making it always return @product) helps resolving the issue.