From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QY6XQ-0006Xq-VL for garchives@archives.gentoo.org; Sun, 19 Jun 2011 01:10:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 902BC1C007 for ; Sun, 19 Jun 2011 01:10:56 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id C53281C00F for ; Sun, 19 Jun 2011 00:58:53 +0000 (UTC) Received: from [192.168.2.42] (xdsl-78-35-174-225.netcologne.de [78.35.174.225]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id ED8694A800C for ; Sun, 19 Jun 2011 02:58:50 +0200 (CEST) Message-ID: <4DFD49C9.6020409@wonkology.org> Date: Sun, 19 Jun 2011 02:58:49 +0200 From: Alex Schuster User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110526 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Argh: No KMail after KDEPIM upgrade References: <4DF65EA6.7000400@wonkology.org> <1535027.YUYfiFWEAj@localhost> In-Reply-To: <1535027.YUYfiFWEAj@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 507b5b3f33d4a45e0152d9393dd4741f Volker Armin Hemmann writes: > On Monday 13 June 2011 21:01:58 Alex Schuster wrote: >> Anyway, KMail has a problem now. I get this error: >> >> KMail encountered a fatal error and will terminate now. >> The error was: >> Failed to fetch the resource collection. > > look up the akonadi error log Test 5: ERROR -------- MySQL server log contains errors. Details: The MySQL server error log file '/home/wonko/.local/share/akonadi/db_data/mysql.err' contains errors. File content of '/home/wonko/.local/share/akonadi/db_data/mysql.err': InnoDB: The InnoDB memory heap is disabled InnoDB: Mutexes and rw_locks use GCC atomic builtins InnoDB: Compressed tables use zlib 1.2.5 110614 19:22:22 InnoDB: highest supported file format is Barracuda. 110614 19:22:22 InnoDB: Warning: allocated tablespace 44, old maximum was 9 110614 19:22:22 Percona XtraDB (http://www.percona.com) 1.0.10-12.0 started; log sequence number 1431101630 110614 19:22:22 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them 110614 19:22:22 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist 110614 19:22:22 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.1.50-MariaDB' socket: '/home/wonko/.local/share/akonadi/socket-weird/mysql.socket' port: 0 Gentoo Linux mariadb-5.1.50 I think I had a similar error before, one year ago, and it sometime vanished misteriously and all seemed to be fine. But I think the problem is this: WhenI start kmail in a shell, I get this error: Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_3" : "Unknown error. (Failed to fetch the resource collection.)" "/usr/bin/kmail(31523)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/kmail(31523)" Soprano: "QLocalSocket::connectToServer: Invalid name" kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_3" : "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_3" : "Unknown error. (Failed to fetch the resource collection.)" >> BTW, double-clicking a file in dolphin does no longer open it, but asks >> for the application to open it with. No known applications are shown. >> Hmm, I remember having this before, and there was some easy solution >> like running kbuildsycoca4, but this did not help here. > > /etc/xdg/menus/applications.menu > is missing. Just create a symlink to kde-4-applications.menu This worked for a test user, but not for my own account. I also tried kbuildsycoca4 again after I checked that this was the command that had helped on the other PC. Still no change. Yes, I logged out and in. And suddenly, some days later, it's working. I have no idea what fixed this, but I'm glad it finally solved itself. The icons for the menu entries are still mostly empty, but the applications are all back, and a double-click in dolphin no longer asks what to do. Wonko