[Hardy] system settings libpython2.5.so not found

Bug #179763 reported by tlue
10
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Triaged
Undecided
Unassigned
Nominated for Hardy by Marco Cimmino
python-qt3 (Ubuntu)
New
Undecided
Unassigned
Nominated for Hardy by Marco Cimmino

Bug Description

System Setting -> User Management:

the following Text appears:

The module User Management could not be loaded.

The diagnostics is:
Library files for "libpython2.5.so" not found in paths.

Possible reasons:
  - An error occurred during your last KDE upgrade leaving an orphaned control module
  - You have old third party modules lying around.

Check these points carefully and try to remove the module mentioned in the error message etc.etc.

Revision history for this message
Allen.McIntosh (mcintosh) wrote :

Problem also occurs with Hardy Alpha3 i386 (KDE). I ran into it after I upgraded the world. I did not notice if it occurred with the vanilla install.

Bug also affects System Settings -> Monitor & Display
                         System Settings -> Advanced -> System Services
                         System Settings -> Advanced -> Windows Applications

Revision history for this message
Allen.McIntosh (mcintosh) wrote :

Relevant text from .xsession-errors:

adding Windows Applications /usr/share/applications/kde/wineconfig.desktop
error: ***failed to import module

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/wineconfig.py", line 19, in <module>
    from qt import *
ImportError: /usr/lib/python2.5/site-packages/qt.so: undefined symbol: PyUnicode
_Type
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 36, in ap
port_excepthook
    from cStringIO import StringIO
ImportError: /usr/lib/python2.5/lib-dynload/cStringIO.so: undefined symbol: _Py_
ZeroStruct

Original exception was:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/wineconfig.py", line 19, in <module>
    from qt import *
ImportError: /usr/lib/python2.5/site-packages/qt.so: undefined symbol: PyUnicode
_Type
adding Service Manager /usr/share/applications/kde/kcmkded.desktop
adding KDE Resources /usr/share/applications/kde/kresources.desktop
error: ***failed to import module

Revision history for this message
Sven Boden (svenboden) wrote :

I can consistently reproduce this error in hardy alpha2 and alpha3. It's also a bug that a lot of people will hit upon when trying to do basic user management.

Changed in meta-kde:
status: New → Confirmed
Revision history for this message
Sven Boden (svenboden) wrote :

Easier way to see the error... from a konsole start: "kcmshell System/userconfig"

Revision history for this message
Philipp Meng (p-meng) wrote :

I can reproduce this error on Hardy alpha4 too.

Revision history for this message
Datradan (datradan) wrote :

I have the same probleme, on Hardy alpha 4...
In Monitor & Display, and User Management
Look the screenshot...

Revision history for this message
Datradan (datradan) wrote :

I have the same probleme, on Hardy alpha 4...
In Monitor & Display, and User Management
Look the screenshot...

Revision history for this message
Scott Kitterman (kitterman) wrote :

If you install python2.5-dev does the error go away?

Revision history for this message
Sven Boden (svenboden) wrote :

For user management... yes ...

After I do a "sudo apt-get install python2.5-dev" I can enter user management.

"Monitor&Display" is still broken, but there I now get following error:
Original exception was:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1483, in slotSecondMonitorToggled
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/usr/share/python-support/kde-guidance/displayconfigwidgets.py", line 46, in setScreen
    self.screensizeslider.setMaxValue(len(screen.getAvailableResolutions())-1)
AttributeError: 'NoneType' object has no attribute 'getAvailableResolutions'
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1720, in <module>
    displayapp = DisplayApp()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 448, in __init__
    self._buildGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 510, in _buildGUI
    self.SizePage = SizeOrientationPage(sopage,self.xsetup,self.compact_mode)
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1140, in __init__
    self._syncGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1149, in _syncGUI
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/usr/share/python-support/kde-guidance/displayconfigwidgets.py", line 46, in setScreen
    self.screensizeslider.setMaxValue(len(screen.getAvailableResolutions())-1)
AttributeError: 'NoneType' object has no attribute 'getAvailableResolutions'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 42, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
IndexError: list index out of range

Original exception was:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1720, in <module>
    displayapp = DisplayApp()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 448, in __init__
    self._buildGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 510, in _buildGUI
    self.SizePage = SizeOrientationPage(sopage,self.xsetup,self.compact_mode)
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1140, in __init__
    self._syncGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1149, in _syncGUI
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/usr/share/python-support/kde-guidance/displayconfigwidgets.py", line 46, in setScreen
    self.screensizeslider.setMaxValue(len(screen.getAvailableResolutions())-1)
AttributeError: 'NoneType' object has no attribute 'getAvailableResolutions'

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 179763] Re: Hardy Alpha2 amd64: User Management does not work

Please file a separate bug on the "Monitor&Display". It's a different
issue.

Revision history for this message
Sven Boden (svenboden) wrote : Re: Hardy Alpha2 amd64: User Management does not work

New bug raised for the new "Monitor&Display" bug: https://bugs.launchpad.net/ubuntu/+source/python-qt3/+bug/190805

Changed in meta-kde:
status: Confirmed → Triaged
Revision history for this message
Marco Cimmino (cimmo) wrote : Re: [Hardy] libpython2.5.so not found

lets change the title as is not a specific problem to user management

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.