Announcement

Collapse
No announcement yet.

obscure error message

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

    obscure error message

    I'm on a recent, clean, updated install of Kubuntu 10.4. Apart from trying to take control over my touchapd (gpointing-device-settings, etc.) and the boot menu (grub2), I haven't even started using the machine yet.

    In Konsole, I get error messages like the following:

    Code:
    patrick@patrick-linux:~$ kdesudo kate
    kdesudo(5462): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
    
    repeated maybe 50 times
    
    kdesudo(5462): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
    QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
    Bus::open: Can not get ibus-daemon's address. 
    IBusInputContext::createInputContext: no connection to ibus-daemon 
    kate(5467)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic"
    patrick@patrick-linux:~$ ^C
    The same error occurs on other software whenever I run kdesudo or simply sudo (which you're not supposed to, according to kubuntu veteran dibl, http://kubuntuforums.net/forums/inde...opic=3111465.0). But if I open kate by clicking on its icon, no errors reported.

    Not sure if it's related but I tried to backup some files and folders onto a USB using grsync and got a very long list of errors to the effect that I didn't have permissions to do that which I was attempting to do.

    P.S. I have used kubuntu for a couple of years, but I don't tweak much --- once the system is up and running I leave it that way. I just got a new laptop and so went for a clean install. If I can resolve this issue, I'll probably be good to go. Thanks!

    #2
    Re: obscure error message

    If you press Alt-F2, and then enter your "kdesudo kate" command, does it launch Kate correctly?

    Also, have you run updates on that new installation? The only thing Google turned up on your error was a bug in KDE 4.4.2.

    Comment


      #3
      Re: obscure error message

      Also, not knowing how old your LiveCD is, we don't know what version of KDE you are using. Open any GUI application - Konqueror say - and click on Help > About KDE and tell us what version is reported. If it's earlier than 4.4.4, then I would strongly suggest that you upgrade to 4.4.5. Likely, that will resolve this, and possibly other, yet unseen, issues.
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        indeed I have KDE 4.4.2

        thanks dibl, thanks snowhog, INDEED it would seem very likely that my problem comes from having version 4.4.2 installed. So I'll update kde and report back.

        it's funny, I installed kubuntu last week, burning the kubuntu iso from the kubuntu website (I'm pretty sure I didn't go to a third party website, but then again anything can happen on the internet) and updating as much as possible, with the following in konsole:

        sudo apt-get update
        sudo apt-get upgrade

        and, in addition, I always click okay when I get a notification of an available update or bugfix, which is nearly daily, so my understanding was that ALL should be up to date. I didn't think that kubuntu needed any sort of upgrade.

        Now I'll run this, I think that's what I ought to run:

        sudo apt-get dist-upgrade

        I'll get back to you on how I fared. Is the above command all I need to run to update my system?

        thanks again, talk to you soon,

        Patrick.

        Comment


          #5
          Re: obscure error message


          whether I do

          sudo apt-get dist-upgrade

          or
          sudo apt-get update
          sudo apt-get upgrade

          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

          no updates are detected, in particular KDE is not automatically updated to the latest version. I have also attempted to update via:

          sudo synaptic

          but it's not done automatically.

          Now since I now know that my KDE is out of date, I will try to update it manually. Finding out how to do that shouldn't be beyond my googling ability. But I wonder, would there be many more packages that need updating but are not showing up via sudo apt-get update and via synaptic ?

          Comment


            #6
            Re: obscure error message

            What follows are the steps to add the repository for KDE 4.4.5, which you really should upgrade to, as KDE 4.4.2 isn't nearly as stable.

            To add the KDE 4.4.5 repository, type:
            Code:
            sudo add-apt-repository ppa:kubuntu-ppa/ppa
            You will be prompted for your password. Give it and the repository will be added.

            Then type:
            Code:
            sudo apt-get update
            This refreshes the package cache (necessary after any changes to your sources (repositories).

            Then type:
            Code:
            sudo apt-get dist-upgrade
            This looks for new software (upgrades), lists them, and asks if you wish to install.
            Answering 'Y' will begin the download of all the upgradeable (and new) packages used in KDE 4.4.5. It will be a large download, so be patient.

            Once the download and installation is completed, reboot. Type:
            Code:
            sudo shutdown -r now
            After you login, you will be running KDE 4.4.5. Open any GUI application - Konqueror say - and click on Help > About KDE and you should see Platform Version 4.4.5 (KDE 4.4.5) You should find that everything is working much better.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: obscure error message

              wow, that's incredibly thorough Snowhog, so my first attempt is reported below. Not altogether successful I fear.

              I'll google around to see if I can "unlock the administration directory"...

              Code:
              patrick@patrick-linux:~$ sudo add-apt-repository ppa:kubuntu-ppa/ppa
              [sudo] password for patrick: 
              Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv E4DFEC907DEDA4B8A670E8042836CB0A8AC93F7A
              gpg: requesting key 8AC93F7A from hkp server keyserver.ubuntu.com
              gpg: key 8AC93F7A: public key "Launchpad Kubuntu Updates" imported
              gpg: no ultimately trusted keys found
              gpg: Total number processed: 1
              gpg:        imported: 1 (RSA: 1)
              patrick@patrick-linux:~$ sudo apt-get update
              Get:1 [url]http://ppa.launchpad.net[/url] lucid Release.gpg [307B]                            
              Ign [url]http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/[/url] lucid/main Translation-en_HK      
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid Release.gpg                 
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid/main Translation-en_HK
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid/restricted Translation-en_HK
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid/universe Translation-en_HK     
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid/multiverse Translation-en_HK    
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates Release.gpg             
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid-updates/main Translation-en_HK
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid-updates/restricted Translation-en_HK
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid-updates/universe Translation-en_HK
              Ign [url]http://hk.archive.ubuntu.com/ubuntu/[/url] lucid-updates/multiverse Translation-en_HK
              Get:2 [url]http://ppa.launchpad.net[/url] lucid Release [57.3kB]    
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid Release                      
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates Release                                                                     
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/main Packages                                                                      
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/restricted Packages                                                                   
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/main Sources                                                                      
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/restricted Sources                                                                   
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/universe Packages                                                                    
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/universe Sources                                                                    
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/multiverse Packages                                                                   
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid/multiverse Sources                                                                   
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/main Packages                                                                  
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/restricted Packages                                                               
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/main Sources                                                                  
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/restricted Sources                                                               
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/universe Packages                                                                
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/universe Sources                                                                 
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/multiverse Packages                                                               
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/multiverse Sources               
              Hit [url]http://hk.archive.ubuntu.com[/url] lucid-updates/multiverse Sources                                                                
              Get:3 [url]http://ppa.launchpad.net[/url] lucid/main Packages [65.3kB]                                                                  
              Hit [url]http://security.ubuntu.com[/url] lucid-security Release.gpg                                                                   
              Ign [url]http://security.ubuntu.com/ubuntu/[/url] lucid-security/main Translation-en_HK                                                          
              Ign [url]http://security.ubuntu.com/ubuntu/[/url] lucid-security/restricted Translation-en_HK                                                       
              Ign [url]http://security.ubuntu.com/ubuntu/[/url] lucid-security/universe Translation-en_HK                                                        
              Ign [url]http://security.ubuntu.com/ubuntu/[/url] lucid-security/multiverse Translation-en_HK                                                       
              Hit [url]http://security.ubuntu.com[/url] lucid-security Release                                                                     
              Hit [url]http://security.ubuntu.com[/url] lucid-security/main Packages                                                                  
              Hit [url]http://security.ubuntu.com[/url] lucid-security/restricted Packages                                                               
              Hit [url]http://security.ubuntu.com[/url] lucid-security/main Sources                                                                   
              Hit [url]http://security.ubuntu.com[/url] lucid-security/restricted Sources                                                                
              Hit [url]http://security.ubuntu.com[/url] lucid-security/universe Packages                                                                
              Hit [url]http://security.ubuntu.com[/url] lucid-security/universe Sources                                                                 
              Hit [url]http://security.ubuntu.com[/url] lucid-security/multiverse Packages                                                               
              Hit [url]http://security.ubuntu.com[/url] lucid-security/multiverse Sources                                                                
              Fetched 123kB in 11s (10.8kB/s)                                                                                
              E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
              E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
              patrick@patrick-linux:~$ sudo apt-get dist-upgrade
              E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
              E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

              Comment


                #8
                Re: obscure error message

                okay, so that "happens when synaptic or another package update / installation application is already running." I guess I'll restart and try again then!

                Comment


                  #9
                  Re: obscure error message

                  Correct. If you have another package manager running - Synaptic - then you can't run the commands given in a console. Only one instance of apt can be running. Close synaptic and run the commands again.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Re: obscure error message

                    thanks Snowhog! so I followed the steps indicated and the update went smoothly and exactly as expected.

                    I do have KDE Platform Version 4.4.5 installed.

                    I do still have two questions.

                    1) how come sudo apt-get update/upgrade and all that don't automatically install the latest version of KDE? What other programs should I look to update/upgrade?

                    2) why does ... sudo kate still give this?

                    Code:
                    patrick@patrick-linux:~$ kdesudo kate
                    kdesudo(1855): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
                    kdesudo(1855): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
                    kdesudo(1855): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
                    .
                    .
                    .
                    kdesudo(1855): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
                    kdesudo(1855): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
                    kdesudo(1855): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
                    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
                    QFileSystemWatcher: failed to add paths: /home/patrick/.config/ibus/bus
                    Bus::open: Can not get ibus-daemon's address. 
                    IBusInputContext::createInputContext: no connection to ibus-daemon 
                    kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
                    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
                    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
                    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
                    kbuildsycoca4 running...
                    kbuildsycoca4(1879) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/ufraw.desktop" is not compliant with XDG standard (missing trailing semicolon). 
                    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
                    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
                    kdeinit4: preparing to launch /usr/lib/kde4/kio_trash.so
                    kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
                    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
                    QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
                    Bus::open: Can not get ibus-daemon's address. 
                    IBusInputContext::createInputContext: no connection to ibus-daemon 
                    kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so

                    Comment


                      #11
                      Re: obscure error message

                      Originally posted by ptoche

                      2) why does ... sudo kate still give this?
                      That error would appear to be a problem with the setup of Korganizer, and perhaps Nepomuk: http://kde-apps.org/content/show.php...content=118854

                      Near the bottom of that page are some descriptions of how to fix it.

                      Comment


                        #12
                        Re: obscure error message

                        thanks dibl!

                        I totally don't need an organizer. Can I safely remove it?

                        sudo apt-get remove korganizer, is it?

                        as for akonadi, well the website description is very abstract, it sounds like some sort of, well, organizer? can I just remove akonadi too, and with it the problems?

                        I'm not a very organized person.

                        thanks a lot guys.

                        Comment


                          #13
                          Re: obscure error message

                          I forgot to say, it's 5:30am here and I really ought to get some shut-eye, will check back here in a few hours, in the meantime let me say to both of you: thank you very much for your help!

                          Patrick.

                          Comment


                            #14
                            Re: obscure error message

                            Removing korganizer did nothing. I did not have nepomuk and akonadi installed anyway.

                            From this learned discussion https://bugs.launchpad.net/ubuntu/+s...us/+bug/423525 I got a sense that perhaps part of the problem had to do with language settings. So I changed my regional preferences as follows: set my country as USA (instead of Hong Kong, where I live) and set my system language as English-USA (instead of English-HK). I can see a clear improvement:

                            Code:
                            QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
                            QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
                            Bus::open: Can not get ibus-daemon's address. 
                            IBusInputContext::createInputContext: no connection to ibus-daemon
                            Next thing I'll do is to try to install or uninstall this ibus thing, which, according to the link above, is not a well understood feature of kubuntu for the average developer. I'll report back, as usual.

                            Comment


                              #15
                              Re: obscure error message

                              sudo apt-get install ibus

                              successfully installed ibus, but the error message remains. Perhaps what I really need to do is to remove ibus thoroughly. I'll try that too shortly.

                              I am getting increasingly convinced that the error message is a consequence, somehow, of having set up my system with non-US regional settings. Perhaps selecting Hong Kong has messed things up somewhere. Note that I do not input Chinese characters. All I do is use a US-Dvorak keyboard. Anyhow, now I'm back to country=US, language=US. I still don't know what ibus does, but it seems to manage language settings.

                              I have found the following statement, https://bugs.launchpad.net/ubuntu/+s...us/+bug/522814.

                              This is so far as close to my problem as can be. But I don't see a solution described. Anyhow I'll try to remove ibus completely. And will report back, promise.

                              I can confirm the reported behaviour for ibus on a fresh CD install of Kubuntu Lucid Lynx 10.04 on an AMD 64 system.
                              One consequent problem is that if I launch the KDE kate text editor version 3.4.5 for KDE 4.4.5 from the launchpad pparepos, I still get a "No Input Window" message from the ibus system tray icon. So, input method switching is not available in kate launched from an icon.
                              However, if I lauch kate from a KDE konsole terminal by typing
                              kate &
                              then I am able to access in kate the different languages I need through ibus.
                              FWIW, I think this is because my personal ~/.bashrc has the lines
                              export GTK_IM_MODULE=ibus
                              export XMODIFIERS=@im=ibus
                              export QT_IM_MODULE=ibus
                              but the non-availability of the system-wide alternatives as noted above make the ibus language options unavailable to kate launched from an icon

                              Comment

                              Working...
                              X