Announcement

Collapse
No announcement yet.

{SOLVED} Missing or Orphaned Control Module

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    {SOLVED} Missing or Orphaned Control Module

    Doing some investigative work and decided to go to System Settings --> Advanced --> System Services.

    I get that the module could not be loaded due to Old Third Party modules or that a possible KDE upgrade leaving a possible orphaned control module.

    1) Where are the Control Modules kept for System Settings use?
    2) Why did this occur? (I do have KDE4 installed on this system for testing, but use primarily KDE3.5.9)

    3) How do I fix this?

    I've looked all over the place. I see many people asking similar questions, but I never see a resolution.

    Anyone!??

    #2
    Re: Missing or Orphaned Control Module

    Can you use Control Center ? Or do you get error message ? Or is this only problem with the System Settings ?


    System Settings and Control Center use same modules:

    man kcmshell
    KCMSHELL(1) tool to start single KDE control modules KCMSHELL(1)

    NAME
    kcmshell - tool to start single KDE control modules
    => Command:
    Code:
    kcmshell --list
    will list all possible modules

    => one ot the modules:
    kwindecoration - Configure the look and feel of window titles
    Where it is:
    Code:
    locate kwindecoration
    /usr/share/doc/kde/HTML/en/kcontrol/kwindecoration
    /usr/share/doc/kde/HTML/en/kcontrol/kwindecoration/index.cache.bz2
    /usr/share/doc/kde/HTML/en/kcontrol/kwindecoration/index.docbook
    /usr/share/doc/kde/HTML/en/kcontrol/kwindecoration/common
    /usr/share/applications/kde/kwindecoration.desktop
    /usr/share/locale-langpack/en_GB/LC_MESSAGES/kcmkwindecoration.mo
    /usr/share/locale-langpack/fi/LC_MESSAGES/kcmkwindecoration.mo
    /usr/lib/kde3/kcm_kwindecoration.la
    /usr/lib/kde3/kcm_kwindecoration.so

    Link:

    FAQ: Control Centre vs. System Settings
    http://kubuntuforums.net/forums/inde...opic=3091157.0

    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Missing or Orphaned Control Module

      I can use both fine for everything else but System Services. I found a .desktop file for it on another machine located here:
      Code:
      /usr/share/applications/kde/
      called serviceconfig.desktop. On the good machine it runs OK, if I try it on the one I'm having problems with, I get the same message about the orphaned and/or missing module. I tried tracing down what that .desktop file executes, but couldn't tell. This is what it executes:
      Code:
      kcmshell System/serviceconfig
      . Where is serviceconfig located? I found only one file of that name located here:
      Code:
      /usr/bin/
      . But when I run that, I get all sorts of errors. What do I need to reinstall to fix these modules? I know it will effect all modules to re-install, but worth a shot.

      I am going to eventually redo this machine anyway for HH KDE4 remix when released, but I think this would be a great opportunity to learn a little more before I do.

      Comment


        #4
        Re: Missing or Orphaned Control Module

        Hmm - here:
        Code:
        kcmshell System/serviceconfig
        tells:
        Pythonize constructor -- pid = 10359
        Python interpreter initialized!

        Pythonize constructor -- pid = 10359
        Not saving description cache data for security reasons, we're not root
        => It is some kind of python script (?)

        Do you have python problems ?


        Ubuntu Packages tell:
        You have searched for filenames that contain serviceconfig in suite gutsy, all sections, and all architectures. Found 1 results.

        File Packages
        /usr/bin/serviceconfig kde-guidance
        => Package: kde-guidance
        collection of KDE system administration tools for GNU/Linux

        Guidance currently consists of four programs designed to help you look after your system:

        o userconfig - User and Group administration
        o serviceconfig - Service/daemon administration
        o mountconfig - Disk and filesystem administration
        o displayconfig - Screen and display configuration
        o wineconfig - Wine configuration

        These tools are available in KDE Control Center, System Settings or can be run as standalone applications.

        Homepage: http://www.simonzone.com/software/guidance

        kde-guidance (python) installs:
        Code:
        /usr/share/python-support/kde-guidance/serviceconfig.py
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Missing or Orphaned Control Module

          I actually found where those scripts are. I'm not at the "problem" machine, so I don't have my notes on this. I will actually try that command in konsole to see what I get.

          Comment


            #6
            Re: Missing or Orphaned Control Module

            OK.

            The first command produced very little output on the good machine. On the bad machine I get this:
            Code:
            Pythonize constructor -- pid = 8999
            Python interpreter initialized!
            
            
            
            Pythonize constructor -- pid = 8999
            Traceback (most recent call last):
             File "<string>", line 8, in kcontrol_bridge_create_serviceconfig
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 1455, in create_serviceconfig
              return SysVInitApp(parent, name)
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 958, in __init__
              self.context.loadInfo()
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 303, in loadInfo
              rl.loadInfo()
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 323, in loadInfo
              for filename in os.listdir(self.leveldir):
            OSError: [Errno 2] No such file or directory: '/etc/rc.d/rc0.d'
            Error in sys.excepthook:
            Traceback (most recent call last):
             File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
              binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
            AttributeError: 'module' object has no attribute 'argv'
            
            Original exception was:
            Traceback (most recent call last):
             File "<string>", line 8, in kcontrol_bridge_create_serviceconfig
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 1455, in create_serviceconfig
              return SysVInitApp(parent, name)
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 958, in __init__
              self.context.loadInfo()
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 303, in loadInfo
              rl.loadInfo()
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 323, in loadInfo
              for filename in os.listdir(self.leveldir):
            OSError: [Errno 2] No such file or directory: '/etc/rc.d/rc0.d'
            error: *** runFunction failure
            ;
            Traceback (most recent call last):
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 1122, in show
              self.__checkServiceStatus()
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 1315, in __checkServiceStatus
              lvi = self.servicestolistitems[item]
            KeyError: <serviceconfig.Service object at 0x82352ec>
            Error in sys.excepthook:
            Traceback (most recent call last):
             File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
              binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
            AttributeError: 'module' object has no attribute 'argv'
            
            Original exception was:
            Traceback (most recent call last):
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 1122, in show
              self.__checkServiceStatus()
             File "/var/lib/python-support/python2.5/serviceconfig.py", line 1315, in __checkServiceStatus
              lvi = self.servicestolistitems[item]
            KeyError: <serviceconfig.Service object at 0x82352ec>
            Really don't know how to interpret this as I'm not familiar with Python.

            Second, some of the scripts I was mentioning is located here and start with kcm: /usr/lib/kde3/

            In that python file it mentions a directory location of /etc/rc.d.

            I don't have that directory but do have a bunch of rcX.d; X being 0-6 and S.

            Also a few other things.

            Give anyone any ideas?

            Comment


              #7
              Re: Missing or Orphaned Control Module

              Thanks again Rog! You seem to always point me in the right direction. The file you mentioned "/usr/share/python-support/kde-guidance/serviceconfig.py", thank goodness my background is in programming, was testing to see what Distro it was running on. I remembered I edited this file "/etc/issue" to make a SuperKarambe Theme display Kubuntu instead of Ubuntu. I changed it back and there you go, fixed. I've never had issues with anything else, but I wonder how many other scripts rely on that to function properly. Oh well, live and learn, and that is what I was after anyway. Thanks!

              Comment

              Working...
              X