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 &apos;<a
href='/home/wonko/.local/share/akonadi/db_data/mysql.err'>/home/wonko/.local/share/akonadi/db_data/mysql.err</a>&apos;
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


Reply via email to