[opensuse-kde] KMail - select address conflict
I am puzzled by the following strange behavior in KMail: To send an email to a known contact I clicked the "select" button in the message editor to select the address. In the case of this contact the inserted email address contained a typo, so I opened the addressbook proper and edited the email address. I then made another attempt at selecting the address via the "select" button. The address still had the old error even though the entry in the addressbook now contained the corrected email address! I searched all files in my home directory for a string like the wrong address and found it existed in numerous std*.vcf files in .kde4/share/apps/kabc. I moved these to a different directory and tried again. Same behavior, and a subsequent check revealed that a new file "std.vcf" had been created in the kabc-directory. I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in? regards Mike -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Monday, October 04, 2010 07:39:10 am Michael Henatsch wrote:
I am puzzled by the following strange behavior in KMail:
To send an email to a known contact I clicked the "select" button in the message editor to select the address. In the case of this contact the inserted email address contained a typo, so I opened the addressbook proper and edited the email address. I then made another attempt at selecting the address via the "select" button. The address still had the old error even though the entry in the addressbook now contained the corrected email address!
I searched all files in my home directory for a string like the wrong address and found it existed in numerous std*.vcf files in .kde4/share/apps/kabc. I moved these to a different directory and tried again. Same behavior, and a subsequent check revealed that a new file "std.vcf" had been created in the kabc-directory.
I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in?
Try from the composer window, right click the "To:" line and look under "Edit recent addresses..." -- Don -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Mon October 4 2010 15:52:52 Don Raboud wrote:
On Monday, October 04, 2010 07:39:10 am Michael Henatsch wrote:
I am puzzled by the following strange behavior in KMail:
To send an email to a known contact I clicked the "select" button in the message editor to select the address. In the case of this contact the inserted email address contained a typo, so I opened the addressbook proper and edited the email address. I then made another attempt at selecting the address via the "select" button. The address still had the old error even though the entry in the addressbook now contained the corrected email address!
I searched all files in my home directory for a string like the wrong address and found it existed in numerous std*.vcf files in .kde4/share/apps/kabc. I moved these to a different directory and tried again. Same behavior, and a subsequent check revealed that a new file "std.vcf" had been created in the kabc-directory.
I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in?
Try from the composer window, right click the "To:" line and look under "Edit recent addresses..."
Thanks, Don, I did as you suggested - no success. Right clicking the to-line does bring up the most recent addresses but for the contact in question it is the correct address (since I had eventually sent a message there with this correct address). The wrong address only appears in the drop-down list I get after clicking "select". brgds Mike -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Mandag den 4. oktober 2010 15:39:10 skrev Michael Henatsch:
I am puzzled by the following strange behavior in KMail:
I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in?
I can't claim to fully understand any of this, but maybe I can help a little bit. It's correct that your addressbook is in principle normally stored in the *.vcf file in .kde4/share/apps/kabc/ But... Since KDEPIM 4.4 your contacts are additionally cached in the Akonadi mysql- database (stored in .local/share/akonadi/). And that's not the end of it, KMail needs/uses Nepomuk to know about your contacts. So I guess your problem is caused by Nepomuk not picking up on the changes you've made for some reason. Try 'akonadiconsole' to check if the nepomuk contact feeder appears to be running correctly. Or maybe there's just some delay before the changes are picked up by the various storage systems involved. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Mon October 4 2010 17:32:01 Martin Schlander wrote:
Mandag den 4. oktober 2010 15:39:10 skrev Michael Henatsch:
I am puzzled by the following strange behavior in KMail:
I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in?
I can't claim to fully understand any of this, but maybe I can help a little bit.
It's correct that your addressbook is in principle normally stored in the *.vcf file in .kde4/share/apps/kabc/
But...
Since KDEPIM 4.4 your contacts are additionally cached in the Akonadi mysql- database (stored in .local/share/akonadi/). And that's not the end of it, KMail needs/uses Nepomuk to know about your contacts.
So I guess your problem is caused by Nepomuk not picking up on the changes you've made for some reason. Try 'akonadiconsole' to check if the nepomuk contact feeder appears to be running correctly. Or maybe there's just some delay before the changes are picked up by the various storage systems involved.
Thanks, Martin. Seems you have correctly understood the problem. looking at Nepomuk Contact Feeder in akonadiconsole there appears to indeed be a problem. It says "Nepomuk not operational" and below: "Status: offline, broken". According to the system monitor, akonadiserver, akonadi_* (seven in all), nepomukserver and mysqld are running, though. Any suggestions on how to proceed? krgds Mike -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Mon October 4 2010 17:32:01 Martin Schlander wrote:
Mandag den 4. oktober 2010 15:39:10 skrev Michael Henatsch:
I am puzzled by the following strange behavior in KMail:
I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in?
I can't claim to fully understand any of this, but maybe I can help a little bit.
It's correct that your addressbook is in principle normally stored in the *.vcf file in .kde4/share/apps/kabc/
But...
Since KDEPIM 4.4 your contacts are additionally cached in the Akonadi mysql- database (stored in .local/share/akonadi/). And that's not the end of it, KMail needs/uses Nepomuk to know about your contacts.
So I guess your problem is caused by Nepomuk not picking up on the changes you've made for some reason. Try 'akonadiconsole' to check if the nepomuk contact feeder appears to be running correctly. Or maybe there's just some delay before the changes are picked up by the various storage systems involved.
Martin, further to my previous reply, I have just discovered that akonadiconsole issues a whole lot of error messages: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "QLocalSocket::connectToServer: Invalid name" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "QLocalSocket::connectToServer: Invalid name" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "QLocalSocket::connectToServer: Invalid name" QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work. (sorry about the broken lines) Do these messages give any hint? krgds Mike -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Tuesday 05 October 2010 10:36:03 Michael Henatsch wrote:
On Mon October 4 2010 17:32:01 Martin Schlander wrote:
Mandag den 4. oktober 2010 15:39:10 skrev Michael Henatsch:
I am puzzled by the following strange behavior in KMail:
I would have thought that all addresses would be held by one file which can be accessed both through the Kaddressbook part of Kontact and the "select" button (for quick access). However, this does not seem to be the case. Where can I look for the wrong entry in order to correct it? Which is the file holding the information for kaddressbook and which is the one that the select button looks in?
I can't claim to fully understand any of this, but maybe I can help a little bit.
It's correct that your addressbook is in principle normally stored in the *.vcf file in .kde4/share/apps/kabc/
But...
Since KDEPIM 4.4 your contacts are additionally cached in the Akonadi mysql- database (stored in .local/share/akonadi/). And that's not the end of it, KMail needs/uses Nepomuk to know about your contacts.
So I guess your problem is caused by Nepomuk not picking up on the changes you've made for some reason. Try 'akonadiconsole' to check if the nepomuk contact feeder appears to be running correctly. Or maybe there's just some delay before the changes are picked up by the various storage systems involved.
Martin,
further to my previous reply, I have just discovered that akonadiconsole issues a whole lot of error messages:
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "QLocalSocket::connectToServer: Invalid name" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "QLocalSocket::connectToServer: Invalid name" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/akonadiconsole(11266)" Error in thread 140214340589408 : "QLocalSocket::connectToServer: Invalid name" QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
(sorry about the broken lines) Do these messages give any hint?
krgds Mike
Find the Desktop Search module in System Settings and check 'Enable Nepomuk Semantic Desktop', then relogin. Will -- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Tue October 5 2010 10:40:54 Will Stephenson wrote:
On Tuesday 05 October 2010 10:36:03 Michael Henatsch wrote:
On Mon October 4 2010 17:32:01 Martin Schlander wrote:
Mandag den 4. oktober 2010 15:39:10 skrev Michael Henatsch:
I am puzzled by the following strange behavior in KMail:
. . .
Find the Desktop Search module in System Settings and check 'Enable Nepomuk Semantic Desktop', then relogin.
Will
-- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex
Done that - the only noticeable change is a notification appearing now from the panel: "Nepomuk was not able to find the configured database backend 'redland'. Existing data can thus not be accessed." the following redland related packages are installed: - libraptor1 - librasqal2 - libredland0 - redland - soprano-backend-redland Puzzled Mike -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
2010/10/5 Michael Henatsch
Done that - the only noticeable change is a notification appearing now from the panel: "Nepomuk was not able to find the configured database backend 'redland'. Existing data can thus not be accessed."
the following redland related packages are installed: - libraptor1 - librasqal2 - libredland0 - redland - soprano-backend-redland
Puzzled
Mike Redland is really sloooooow and almost obsolete, use virtuoso backend instead. -- Regards, Minton. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Op dinsdag 5 oktober 2010 13:54:30 schreef Александр Мелентьев:
2010/10/5 Michael Henatsch
: Done that - the only noticeable change is a notification appearing now from the panel: "Nepomuk was not able to find the configured database backend 'redland'. Existing data can thus not be accessed."
the following redland related packages are installed: - libraptor1 - librasqal2 - libredland0 - redland - soprano-backend-redland
Puzzled
Mike
Redland is really sloooooow and almost obsolete, use virtuoso backend instead.
You can find the definition of the backend in ~/.kde4/share/config>nepomukserverrc -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Tirsdag den 5. oktober 2010 13:51:59 skrev Michael Henatsch:
"Nepomuk was not able to find the configured database backend 'redland'. Existing data can thus not be accessed."
the following redland related packages are installed: - libraptor1 - librasqal2 - libredland0 - redland - soprano-backend-redland
Puzzled
Are you reusing /home from an older version of opensuse/kde? Check in .kde4/share/config/nepomukserverrc that you have: "Used Soprano Backend=virtuosobackend" And make sure you have these packages installed: soprano-backend-redland soprano-backend-virtuoso IIRC redland is still needed, even if it isn't used for storage. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Tue October 5 2010 15:03:57 Martin Schlander wrote:
Tirsdag den 5. oktober 2010 13:51:59 skrev Michael Henatsch:
"Nepomuk was not able to find the configured database backend 'redland'. Existing data can thus not be accessed."
the following redland related packages are installed: - libraptor1 - librasqal2 - libredland0 - redland - soprano-backend-redland
Puzzled
Are you reusing /home from an older version of opensuse/kde?
Yes, I am.
Check in .kde4/share/config/nepomukserverrc that you have:
"Used Soprano Backend=virtuosobackend"
I checked: soprano was set up as the backend. I changed the line as you instructed and now Nepomuk and strigi work (apparently) without any hitches.
And make sure you have these packages installed:
soprano-backend-redland soprano-backend-virtuoso
Yep, both are installed.
IIRC redland is still needed, even if it isn't used for storage.
So the nepomuk problem appears to be solved. However, the discrepancy between the addressbook proper and the "select-list" remained. I have now renamed all std.vcf* files in ~/.kde4/share/apps/kabc to "ex-std.vcf*" and exported the kaddressbook to that directory as "std.vcf". The contact in question now shows up as in the addressbook, i.e. with the correction properly applied. At this point I feel I have found a kludge (exporting the addressbook to the "kabc" directory every time I have edited a contact) but the problem that the contacts between the two sources are not in synch obviously remains. Any further ideas? cheers Mike Besides the new std.vcf there is also a std.vcf_2. Why that? -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On 05/10/10 20:11, Michael Henatsch wrote:
At this point I feel I have found a kludge (exporting the addressbook to the "kabc" directory every time I have edited a contact) but the problem that the contacts between the two sources are not in synch obviously remains.
Any further ideas?
It looks like kmail is getting its contacts from one source while kaddressbook is using another. In the Resources tab of akonadi configuration, what do you have listed - specifically what type of resource is your akonadi contacts resource? "KDE traditional" or "Personal Contacts"? What file is it pointing to (click modify)? Regards, Tejas -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Wed October 6 2010 00:09:23 Tejas Guruswamy wrote:
On 05/10/10 20:11, Michael Henatsch wrote:
At this point I feel I have found a kludge (exporting the addressbook to the "kabc" directory every time I have edited a contact) but the problem that the contacts between the two sources are not in synch obviously remains.
Any further ideas?
It looks like kmail is getting its contacts from one source while kaddressbook is using another. In the Resources tab of akonadi configuration, what do you have listed - specifically what type of resource is your akonadi contacts resource? "KDE traditional" or "Personal Contacts"? What file is it pointing to (click modify)?
Regards, Tejas Tejas,
I can't find anything like "Akonadi configuration". When I click on "Contacts" in Kontact I get the three panes with the list of address books in the left pane (only one in my case: "Default Address Book), the list of contacts in that address book in the middle, and the details of the selected contact in the right pane. If I right-click the address book name I get a context menu with, among other options, "Folder Properties" and "Address Book Properties". Choosing "Address Book Properties" I get a window with title "Select Address Book - Akonadi Resource". In this window I can define the file name for the address book, set the access rights ("read only") and enable/disable monitoring. Is this what you mean? It does not show anything like "KDE traditional" or "Personal Contacts". The file it points to is "~/.kde4/share/apps/kabc/std.vcf". As I have mentioned before, this file retained the wrong entry for one of the contacts even after I had corrected it in kaddressbook. I deleted it and exported the addressbook to that file to set it right. But hold on!! Just before sending this message off I have done another test: in the addressbook I edited one contact's email address and that change now appears correctly in the "select" list of kmai! Looks like it is in synch now. Thanks to all for your help! Mike -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
participants (7)
-
Don Raboud
-
Freek de Kruijf
-
Martin Schlander
-
Michael Henatsch
-
Tejas Guruswamy
-
Will Stephenson
-
Александр Мелентьев