[Bug 803163] New: Adding repositories in YaST2 sometimes fails with unhandled exception
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c0 Summary: Adding repositories in YaST2 sometimes fails with unhandled exception Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joschibrauchle@gmx.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.69 Safari/537.17 Adding a repository in YaST2 in OpenSUSE 12.3 RC1 (factory-snapshot as of 11-Feb-2013) *sometimes* ends in an unhandled exception and YaST reporting "unable to save changes to the repository configuration". y2log attached and show: -------- [Pkg] Y2PkgFunction.cc(evaluateCall):141 Caught an unhandled exception: locale::facet::_S_create_c_locale name not valid -------- This seems to have been reported two years back at bnc#669042. My installation is pretty minimal, maybe some locale package is missing? Reproducible: Sometimes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c1 --- Comment #1 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-02-11 18:15:54 UTC --- Created an attachment (id=524193) --> (http://bugzilla.novell.com/attachment.cgi?id=524193) y2log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c2 --- Comment #2 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-02-11 18:16:27 UTC --- Providing locale info as in above mentioned bug report: ---------- # locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= ---------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c3 --- Comment #3 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-02-11 18:21:56 UTC --- I cannot add the factory-snapshot repo via URL, but I can successfully add it from the "Community Repositories" dialog... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c4 --- Comment #4 from Joschi Brauchle <joschibrauchle@gmx.de> 2013-02-11 18:29:47 UTC --- My install was missing the "glibc-locale" package. After installing this, YaST2 works as expected! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED Summary|Adding repositories in |Adding repositories in |YaST2 sometimes fails with |YaST2 sometimes fails with |unhandled exception |unhandled exception (caused | |by missing glibc-locale) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c6 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@suse.com --- Comment #6 from Ladislav Slezak <lslezak@suse.com> 2013-09-06 12:35:34 UTC --- *** Bug 815965 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=815965 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c7 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ma@suse.com --- Comment #7 from Ladislav Slezak <lslezak@suse.com> 2013-09-06 12:57:23 UTC --- I'm able to reproduce it. I have traced it down to zypp::RepoManager::checkIfToRefreshMetadata() or zypp::RepoManager::refreshMetadata() calls (depending on repository status, after complete metadata removal it fails in the check call). But interestingly zypper works without glibc-locale correctly, after refreshing repositories by zypper Yast starts correctly. Michael, any idea about that glibc-locale problem? I have checked zypper and pkg-bindings use the same calls, maybe some different locale related setup? (Even google did not find anything useful about the locale::facet::_S_create_c_locale name not valid" exception.) Of course, I could add a glibc-locale dependency, but it does not seem to be the correct solution, on my system only "man" and "rpm-build" packages require it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c8 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ma@suse.com | --- Comment #8 from Michael Andres <ma@suse.com> 2013-09-09 18:27:03 CEST --- Frankly, I don't know what could be different between zypper and yast here, except for the environment. But looking at the log, the exception does not always occur at the same point in the workflow. Is yast using multiple threads? I wonder if this is actually escaping from libzypp. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| | GOLD -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c9 Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruce.samhaber@samhaber.ca --- Comment #9 from Martin Vidner <mvidner@suse.com> 2013-09-27 13:42:01 CEST --- *** Bug 669042 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=669042 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c10 Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@suse.com Summary|Adding repositories in |Adding repositories in |YaST2 sometimes fails with |YaST2 sometimes fails with |unhandled exception (caused |unhandled C++ exception |by missing glibc-locale) |(caused by missing | |glibc-locale) --- Comment #10 from Martin Vidner <mvidner@suse.com> 2013-09-27 13:43:47 CEST --- See the older bug for a trivial test case; the difference to plain libzypp is the YCP call float::tolstring. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803163 https://bugzilla.novell.com/show_bug.cgi?id=803163#c11 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Ladislav Slezak <lslezak@suse.com> 2013-10-15 14:05:32 UTC --- Fixed in yast2-ruby-bindings-3.0.4 (for 13.1 RC2). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com