Announcement

Collapse
No announcement yet.

kmail2 woes

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

    kmail2 woes

    Kmail2 crashes on startup with the following error:

    Code:
    KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection.
    I deleted all my email accounts and then set them up again. And still the same error. Any ideas?


    #2
    Re: kmail2 woes

    When I start Kmail from konsole, the following is displayed:

    Code:
    $ kmail
    tim@beast:~$ kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection." 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection." 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_2" : "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection." 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_2" : "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection." 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_2" : "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection." 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_2" : "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
    kmail2(3084) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
    The error was:
    Failed to fetch the resource collection." 
    kmail2(3084)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_2" : "Unknown error. (Failed to fetch the resource collection.)"
    I hope this helps some kind soul to impart words of wisdom.

    Comment


      #3
      Re: kmail2 woes

      Same problem here. When I start kmail in the terminal I basically get the same output as what Bob Kowalski has posted.

      Comment


        #4
        Re: kmail2 woes

        Same here at first. Sorry, I wish I knew what, if anything, I did to fix it :/ (unless it was purging and reinstalling as many kdepim packages as I could get away with)

        Comment


          #5
          Re: kmail2 woes

          Same problem. Was working fine yesterday.

          Comment


            #6
            Re: kmail2 woes

            I also get the same, starting kmail completely fresh with no accounts setup.

            I remember getting errors like this a while ago and fixed it by adding akonadi to startup services but eventually got fed up of the akonadi crap and switched to thunderbird.

            Comment


              #7
              Re: kmail2 woes

              Originally posted by x-shaney-x
              I also get the same, starting kmail completely fresh with no accounts setup.

              I remember getting errors like this a while ago and fixed it by adding akonadi to startup services but eventually got fed up of the akonadi crap and switched to thunderbird.
              For those of us too far gone with Kmail, could you tell us more? Which akonadi resource was enabled in start up?

              thanks,

              bob

              Comment


                #8
                Re: kmail2 woes

                I've got kmail2 (kmail 4.7.x) working again. The problem seemed to be akonadi configuration related. I've deleted all akonadi related files/folders under the following locations:

                ~/.config/akonadi/
                ~/.local/share/akonadi/
                ~/.kde/share/config/

                You may as well delete, if you don't have anything to save,

                ~/.kde/share/apps/kmail
                ~/.kde/share/apps/kmail2

                Restart kmail, rerun Account Wizard for kmail under Tools menu.
                So far, no issue with kmail

                Note: I used kwallet to manage multiple email accounts' passwords. This may not matter, but made things easier to manage.

                Comment


                  #9
                  Re: kmail2 woes

                  https://bugs.kde.org/show_bug.cgi?id=259355

                  Workaround:
                  https://bugs.kde.org/show_bug.cgi?id=259355#c10
                  sigpic

                  Comment


                    #10
                    Re: kmail2 woes

                    My Kmail woe is that it doesn't actually delete messages from an mbox resource -- /var/mail/username in my case, where everything comes in via fetchmail. You can delete from it but as soon as the next new message arrives the delete messages all reappear as well. It's been reported as a bug (upstream) so I'm hopeful...

                    Comment

                    Working...
                    X