Description of problem: I just tried to run the app Version-Release number of selected component: gnome-clocks-0.1.3-2.fc18 Additional info: libreport version: 2.0.15 abrt_version: 2.0.14 cmdline: /usr/bin/python /usr/bin/gnome-clocks kernel: 3.6.0-3.fc18.i686.PAE backtrace: :locale.py:539:setlocale:Error: unsupported locale setting : :Traceback (most recent call last): : File "/usr/bin/gnome-clocks", line 50, in <module> : locale.setlocale(locale.LC_ALL, '') : File "/usr/lib/python2.7/locale.py", line 539, in setlocale : return _setlocale(category, locale) :Error: unsupported locale setting : :Local variables in innermost frame: :locale: '' :category: 6
Created attachment 623959 [details] File: dso_list
Created attachment 623960 [details] File: core_backtrace
With the current code not much else is expected when you try an invalid/notinstalled locale. I've filed this upstream for final resolution https://bugzilla.gnome.org/show_bug.cgi?id=685791
Upstream accepted a patch to avoid crashing. Since this is a isolated incident caused by some local locale miss-configuration I'll hold on with the fix entering fedora for the next version bump.
Kamil, if your F18 installation ended up in a situation where >> import locale >> locale.setlocale(locale.LC_ALL, '') doesn't work, then this should be investigated separately.
Hello, I'm quite sure this is caused by current anaconda bug 858591. That will have to be fixed for sure, so this crash should not appear so often. But still, the application shouldn't crash if the user has invalid locale, but fallback to C or en_US.utf8 locale instead.
(In reply to comment #6) > But still, the application shouldn't crash if the user has invalid locale, > but fallback to C or en_US.utf8 locale instead. Yup. When I said version bump I meant gnome-clocks version bump, then filing an update for f18
Start 'Clocks' on a fresh install, got crash. Package: gnome-clocks-0.1.3-2.fc18 Architecture: x86_64 OS Release: Fedora release 18 (Spherical Cow)
gnome-clocks-0.1.4-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gnome-clocks-0.1.4-1.fc18
Package gnome-clocks-0.1.4-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnome-clocks-0.1.4-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16220/gnome-clocks-0.1.4-1.fc18 then log in and leave karma (feedback).
gnome-clocks-0.1.4-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.