Created attachment 57688 [details] Output of akonadictl start Version: 1.5.0 (using KDE 4.6.1) OS: Linux During start up of akonadi it complains about duplicated agent identifiers. All agents are loaded twice. This causes the Akonadi Self-Test to pop up everytime i log on to my system. Reproducible: Always Steps to Reproduce: - akonadictl stop - akonadictl start Actual Results: Agents are loaded from the directory "/usr/share/akonadi/agents" twice. Expected Results: Should only happens once
I have exactely the same problem after upgrading from 4.6.0 to 4.6.1 yesterday. I am using Kubuntu 10.10.
I doubt the self-test complains about that. However, it complains because Nepomuk is not working on your machine.
I've disabled Nepomuk on my PC and you're right the self-test is reporting this as error. But it also reports that an error log file was created by akonadi. And the log file contains the messages about duplicated agent identifiers. Akonadi didn't complain about anything until i updated to KDE 4.6.1 yesterday.
Created attachment 57695 [details] akonadictl start Here is my console output. Nepomuk is running and i get the same errors.
Well, that's just some output. the self-test would be more useful to detect issues try: kcmshell4 kcm_akonadi and on the second tab, press the "test" button.
Created attachment 57699 [details] result from akondai self test I've executed the self test and attached the result. I noticed that the environment variable XDG_DATA_DIRS is set to '/usr/share:/usr/share:/usr/local/share', which contains the directory /usr/share twice. I don't know where this came from.
Created attachment 57707 [details] akonadi selftest same here
I added the following line to ~/.profile and did a reboot. The error is gone. export XDG_DATA_DIRS=/usr/share:/usr/local/share
Relevant portion from "startkde" script: # Make sure that D-Bus is running if test -z "$XDG_DATA_DIRS"; then XDG_DATA_DIRS="`kde4-config --prefix`/share:/usr/share:/usr/local/share" export XDG_DATA_DIRS fi So you will see issues when KDE is installed in /usr.
But this portion is exactly the same in KDE 4.6.0 and there is no problem. (In reply to comment #9) > Relevant portion from "startkde" script: > > # Make sure that D-Bus is running > if test -z "$XDG_DATA_DIRS"; then > XDG_DATA_DIRS="`kde4-config --prefix`/share:/usr/share:/usr/local/share" > export XDG_DATA_DIRS > fi > > So you will see issues when KDE is installed in /usr.
(In reply to comment #10) > But this portion is exactly the same in KDE 4.6.0 and there is no problem. The bug is elsewhere, but this code triggers it.
Created attachment 57726 [details] Errorlog I tried the export line in comment #9 but this error remains. Could it be that akonadi is getting started twice?
*** This bug has been confirmed by popular vote. ***
Short update: there are no changes in the Akonadi server, kdepimlibs 4.6.1 nor kdepim-runtime 4.4.10 that could explain why you suddenly see an issue. Can you please clearly indicate: - your distribution, - your Qt, kdepim-runtime, kdepimlibs versions
Also mention when this issue appeared. in KDE 4.6.0 or only after upgrading to 4.6.1
Hi Christophe, for me this appeared directly after upgrading from 4.6.0 to 4.6.1. - Kubuntu 10.10 - Qt 4.7.0 - kdepim 4.4.9
Hi Christophe, for me this appeared directly after upgrading from 4.6.0 to 4.6.1 (already had qt 4.7.2). - Arch Linux - Qt 4.7.2 - kdepim 4.4.10
I got this after upgrade to 4.6.1. - Kubuntu 10.10 - Qt 4.7.0 - kdepim 4.4.9
Same here - I have upgraded two PCs from 4.6.0 to 4.6.1 (Ubuntu/Maverick) and they both started to have this problem immediately. Cheers, Alex
Happes since upgrading from KDE 4.6.0 to 4.6.1, never before. (and happens both with akonadi 1.5.0 and 1.5.1) Archlinux KDE 4.6.1 Qt 4.7.2 kdepimlibs 4.6.1 kdepim 4.4.10 akonadi 1.5.1 mysql 5.5.9
I can confirm this happens under Archlinux. I could circumvent the error dialog by applying the autostart hack described in [1]. [1] http://kubuntuforums.net/forums/index.php?topic=3112175.msg231592
I've posed a very similar problem on this forum: http://forum.kde.org/viewtopic.php?f=20&t=94044&p=191610&view=lastpost#p191610
I also have the same problem as everyone else, It is annoying but I'm just going to wait for a fix considering the problem only occurs on the first launch. Arch Linux x64 2.6.37-2 kernel, KDE 4.6.1
@All: please try this commit and check if that solves the issue: https://projects.kde.org/projects/kdesupport/akonadi/repository/revisions/897933ccc6557441f215b8a511818284705dd02b will be part of Akonadi 1.5.2
So ? 244 votes and noone to test this patch ?
I tried the patch under ArchLinux. No more duplicated agent identifiers error.
I'm using Kubuntu 10.10 with KDE 4.6.1. Where is the file xdgbasedirs.cpp? I can't find it. Is it done when the code in this file is changed/replenished or must I compile something? Thanks...
A .cpp file usually contains c++ code (see http://en.wikipedia.org/wiki/C++). Basically, if you have to ask, you likely don't (yet) have the skills to compile the whole KDE PIM suite or even parts of it by yourself and should let others who can handle it. I know I will... ;-)
I'll wait for Akonadi 1.5.2...
I can confirm that this issue is solved with akonadi 1.5.1 + #24 commit. I'm using Archlinux.
Thanks for the feedback. It's a bit surprising that only Arch and Kubuntu users see this error but it's now fixed according to comments #30 and #26. For kubuntu users, you may open a bug report on launchpad to be sure this commit will be in their next release.
We're tracking this issue in Kubuntu here: https://bugs.launchpad.net/ubuntu/+source/akonadi/+bug/740488