Comment 24 for bug 38692

Revision history for this message
Naveen (naveenkhanna) wrote :

With Hardy Release: happens for "Disk and Filesystems" and "User management" modules if they are opened after opening "Printers" module

Steps to reproduce:
1) open "System Settings" or run systemsettings in konsole
2) open "Printers" and press the back button to go back
3) open "Disk and Filesystems" or "User management"

---Package Information---
$apt-cache policy kde-systemsettings
kde-systemsettings:
  Installed: 0.0svn20070312-0ubuntu5
  Candidate: 0.0svn20070312-0ubuntu5
  Version table:
 *** 0.0svn20070312-0ubuntu5 0
        500 cdrom://Kubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.1) hardy/main Packages
        500 http://in.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

---Terminal output when opening Disk and Filesystems---
$systemsettings
adding Printers /usr/share/applications/kde/printers.desktop
QObject::connect: No such slot KMMainView::slotServerAccessConfigure()
QObject::connect: (sender name: 'server_access_configure')
QObject::connect: (receiver name: 'MainView')
adding Disk & Filesystems /usr/share/applications/kde/mountconfig.desktop

Pythonize constructor -- pid = 12938
Python interpreter initialized!

Pythonize constructor -- pid = 12938
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_mountconfig
  File "/var/lib/python-support/python2.5/mountconfig.py", line 3285, in create_mountconfig
    return MountConfigApp(parent, name)
  File "/var/lib/python-support/python2.5/mountconfig.py", line 2878, in __init__
    self.mounttable = MountTable('/etc/fstab','/etc/mtab')
  File "/var/lib/python-support/python2.5/mountconfig.py", line 1237, in __init__
    fhandle = codecs.open(self.fstab_filename,'r',locale.getpreferredencoding())
  File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
    setlocale(LC_CTYPE, "")
  File "/usr/lib/python2.5/locale.py", line 478, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 71, in apport_excepthook
    pr['PythonArgs'] = '%r' % sys.argv
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_mountconfig
  File "/var/lib/python-support/python2.5/mountconfig.py", line 3285, in create_mountconfig
    return MountConfigApp(parent, name)
  File "/var/lib/python-support/python2.5/mountconfig.py", line 2878, in __init__
    self.mounttable = MountTable('/etc/fstab','/etc/mtab')
  File "/var/lib/python-support/python2.5/mountconfig.py", line 1237, in __init__
    fhandle = codecs.open(self.fstab_filename,'r',locale.getpreferredencoding())
  File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
    setlocale(LC_CTYPE, "")
  File "/usr/lib/python2.5/locale.py", line 478, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
error: *** runFunction failure
;

---Terminal output when opening User management---
$ systemsettings
adding Printers /usr/share/applications/kde/printers.desktop
QObject::connect: No such slot KMMainView::slotServerAccessConfigure()
QObject::connect: (sender name: 'server_access_configure')
QObject::connect: (receiver name: 'MainView')
adding User Management /usr/share/applications/kde/userconfig.desktop

Pythonize constructor -- pid = 12919
Python interpreter initialized!

Pythonize constructor -- pid = 12919
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_userconfig
  File "/var/lib/python-support/python2.5/userconfig.py", line 1735, in create_userconfig
    return UserConfigApp(parent, name)
  File "/var/lib/python-support/python2.5/userconfig.py", line 69, in __init__
    self.aboutdata = MakeAboutData()
  File "/var/lib/python-support/python2.5/userconfig.py", line 1740, in MakeAboutData
    unicode(i18n("User and Group Configuration Tool")).encode(locale.getpreferredencoding()),
  File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
    setlocale(LC_CTYPE, "")
  File "/usr/lib/python2.5/locale.py", line 478, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 71, in apport_excepthook
    pr['PythonArgs'] = '%r' % sys.argv
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_userconfig
  File "/var/lib/python-support/python2.5/userconfig.py", line 1735, in create_userconfig
    return UserConfigApp(parent, name)
  File "/var/lib/python-support/python2.5/userconfig.py", line 69, in __init__
    self.aboutdata = MakeAboutData()
  File "/var/lib/python-support/python2.5/userconfig.py", line 1740, in MakeAboutData
    unicode(i18n("User and Group Configuration Tool")).encode(locale.getpreferredencoding()),
  File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
    setlocale(LC_CTYPE, "")
  File "/usr/lib/python2.5/locale.py", line 478, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
error: *** runFunction failure
;