[Bug 911831] New: [Ruby] (eval):2 Cannot convert Array from 'any' to 'map'
http://bugzilla.opensuse.org/show_bug.cgi?id=911831 Bug ID: 911831 Summary: [Ruby] (eval):2 Cannot convert Array from 'any' to 'map' Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: per@computer.org QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 618724 --> http://bugzilla.opensuse.org/attachment.cgi?id=618724&action=edit y2log excerpt. I'm trying to use "yast clone_system" and noticed $SUBJ in y2log, see attached. The complete y2log (as saved with save_y2log) is in attachment#610738. There are no other external error indications except that the generated control file is mostly empty. The original report is bug#899714. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911831
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=911831
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=911831
--- Comment #5 from Per Jessen
Thanks, the crash happens in /usr/share/YaST2/modules/ProductControl.rb:304 when reading /etc/YaST2/control.xml file.
Please, attach the control.xml file, I cannot reproduce it on my machine.
Did you do a clean installation or an upgrade?
It was a clean install. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911831
--- Comment #7 from Per Jessen
Ugh, that's really weird. The file contains an AutoYast profile, the contol.xml file should look like this: https://github.com/yast/skelcd-control-openSUSE/blob/master/control/control. openSUSE.xml
The content is completely different and does not match the expected schema, the ProductControl module gets unexpected data structures (array instead of hash) which later causes a crash.
Did you install the system using AutoYast? Is it the original file (since the installation) or could it have been rewritten by accident? (Check the file time stamps.)
No, it was a normal manual installation via net+ssh. The only extra things I tried were the two YaST options "export config" and "clone system" (or whatever it is they're called). Judging by the timestamp (2014-11-09 10:42:28) it is from the installation time. Looking at that control.xml file, it looks as if it is an autoyast profile ? I can see e.g. the <remove-packages> section corresponding to what I typically remove. I can easily retry the installation on another machine, and see if one of those two options write to that file. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=911831
Per Jessen
Ok, please retry the installation on another machine and provide the exact steps needed for reproducing the problem.
Hi Ladislav I have just completed a new install. I think the problem is in "Export configuration" during installation. By default, the control.xml file is written to root and I am wondering if that file ends up as /etc/YaST2/control.xml when the installation is completed. This time I exported the config to a different file and I was able to run "yast clone_system" afterwards without problems. I'll close this report, sorry about the noise. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com