Bug 580297

Summary: this error appear when i try to install any program using webpin (locale::facet ::_S_create_c_locale exception)
Product: [openSUSE] openSUSE 11.2 Reporter: ahmed emad <tiger_vision2036>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: jsrain, lslezak, ma
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yastlog for bug

Description ahmed emad 2010-02-16 19:28:42 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20091222 SUSE/3.5.7-1.1.1 Firefox/3.5.7

locale::facet::_S_create_c_locale name to vaild try again?
it apppears after pressing next and installing the repositories and when it try to install the program it get this error

locale::facet::_S_create_c_locale name to vaild try again?


Reproducible: Always

Steps to Reproduce:
1.entering the program name and searching for it and selecting it
2.when i press apply tring to install the program everything goes ok 
3.the repositories is downloaded when it tries 
Actual Results:  
the error appeares

Expected Results:  
to install the program without any problem ofcourse

Error Message
An error occurred while attempting to subscribe to the required repositories. Review the yast2 logs for more information.
The following repositories could not be added
http://download.opensuse.org/distribution/11.2/repo/oss/suse
http://download.opensuse.org/repositories/home:/microchip8/openSUSE_11.2
Comment 1 ahmed emad 2010-02-16 19:34:57 UTC
Created attachment 342742 [details]
yastlog for bug
Comment 2 Jiri Srain 2010-03-23 14:15:12 UTC
The error message points to package bindings:

2010-02-16 17:33:03 <3> linux-a3om(17643) [Pkg] Source_Load.cc(SourceStartCache):559 Error in SourceStartCache: locale::facet::_S_create_c_locale name not valid


Lado, could you, please, have a look?
Comment 3 Ladislav Slezák 2010-03-24 07:11:58 UTC
2010-02-16 17:56:55 <5> linux-a3om(17643) [Pkg] Y2PkgFunction.cc(evaluateCall):117 Caught an unhandled exception: locale::facet
::_S_create_c_locale name not valid

That means the exception was caught at the very top of pkg-bindings which catches all unhandled exceptions which would otherwise cause a crash.

Pkg-bindings do not use std::locale at all, they use zypp and satsolver objects (zypp::Locale, zypp::LocaleSet, zypp::sat::LocaleSupport) so I assume the bug is in libzypp (maybe sat solver or even glibc?).

Ahmed, what is your current locale? (Run command 'locale'.)
As a workaround you could try setting 'LANG=C' locale before starting Yast.
Comment 4 Michael Andres 2010-05-18 11:18:30 UTC
Can't investigate without info.