Bug 909431 - LocaledWrapperError: Failed to get locale object
Summary: LocaledWrapperError: Failed to get locale object
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c5719ddd6f97a7fbea18708a5a2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 18:20 UTC by hitman2
Modified: 2014-02-05 19:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 19:02:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda.log (15.07 KB, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: environ (777 bytes, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: ifcfg.log (485 bytes, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: packaging.log (870.77 KB, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: program.log (141.62 KB, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: storage.log (299.98 KB, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: syslog (94.03 KB, text/plain)
2013-02-08 18:21 UTC, hitman2
no flags Details
File: anaconda-tb (1.47 MB, application/octet-stream)
2013-02-08 18:22 UTC, hitman2
no flags Details

Description hitman2 2013-02-08 18:20:42 UTC
Description of problem:
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 633, in __init__
    raise LocaledWrapperError("Failed to get locale object")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 143, in populate_missing_items
    localed = LocaledWrapper()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 213, in dracut_setup_args
    populate_missing_items(keyboard)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1296, in dracutSetupArgs
    return keyboard.dracut_setup_args(self)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 828, in set_boot_args
    setup_args = cfg_obj.dracutSetupArgs()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 2309, in writeBootLoader
    keyboard=ksdata.keyboard)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 135, in doInstall
    writeBootLoader(storage, payload, instClass, ksdata)
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
LocaledWrapperError: Failed to get locale object

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.11
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18

Comment 1 hitman2 2013-02-08 18:21:20 UTC
Created attachment 695208 [details]
File: anaconda.log

Comment 2 hitman2 2013-02-08 18:21:22 UTC
Created attachment 695209 [details]
File: environ

Comment 3 hitman2 2013-02-08 18:21:24 UTC
Created attachment 695210 [details]
File: ifcfg.log

Comment 4 hitman2 2013-02-08 18:21:35 UTC
Created attachment 695211 [details]
File: packaging.log

Comment 5 hitman2 2013-02-08 18:21:38 UTC
Created attachment 695212 [details]
File: program.log

Comment 6 hitman2 2013-02-08 18:21:43 UTC
Created attachment 695213 [details]
File: storage.log

Comment 7 hitman2 2013-02-08 18:21:45 UTC
Created attachment 695214 [details]
File: syslog

Comment 8 hitman2 2013-02-08 18:22:03 UTC
Created attachment 695216 [details]
File: anaconda-tb

Comment 9 Vratislav Podzimek 2013-02-14 10:28:32 UTC
(In reply to comment #0)
> Description of problem:
> The following was filed automatically by anaconda:
> anaconda 18.37.11 exception report
> Traceback (most recent call first):
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line
> 633, in __init__
>     raise LocaledWrapperError("Failed to get locale object")
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line
> 143, in populate_missing_items
>     localed = LocaledWrapper()
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line
> 213, in dracut_setup_args
>     populate_missing_items(keyboard)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line
> 1296, in dracutSetupArgs
>     return keyboard.dracut_setup_args(self)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line
> 828, in set_boot_args
>     setup_args = cfg_obj.dracutSetupArgs()
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line
> 2309, in writeBootLoader
>     keyboard=ksdata.keyboard)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 135,
> in doInstall
>     writeBootLoader(storage, payload, instClass, ksdata)
>   File "/usr/lib64/python2.7/threading.py", line 504, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91,
> in run
>     threading.Thread.run(self, *args, **kwargs)
> LocaledWrapperError: Failed to get locale object
This means we were not able to get the systemd-localed's object over DBus. However this piece of syslog:

18:09:39,188 NOTICE dbus: [system] Reloaded configuration
18:16:29,176 INFO dbus-daemon: dbus[585]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
18:16:29,177 NOTICE dbus: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
18:16:30,308 INFO systemd: Starting Locale Service...
18:16:31,411 INFO dbus-daemon: dbus[585]: [system] Successfully activated service 'org.freedesktop.locale1'
18:16:31,412 NOTICE dbus: [system] Successfully activated service 'org.freedesktop.locale1'
18:16:31,412 INFO systemd: Started Locale Service.

looks like it should be available. I have no idea what happened here, but this code is run in almost all installations and works as expected. If anybody can reproduce this, please provide some additional info that would help to find a reason. The only thing that comes to my mind know is python's dbus module and its possible problems with threads.

Comment 10 Fedora End Of Life 2013-12-21 11:14:50 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2014-02-05 19:02:19 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.