On Mon, 28 Jan 2013, Patrick Ohly wrote:
On Mon, 2013-01-28 at 07:12 -0500, Max Pyziur wrote:
> Digging deeper there is the following message:
> [2013-01-27 20:35:40.237] error code from SyncEvolution fatal error (local,
> status 10500): addressbook: reading all items: Cannot get contact list: Contact
> not found
Can you check which database SyncEvolution is trying to use here? I
assume you haven't configured that manually for "addressbook", so use
"syncevolution --print-databases" (in recent releases, drop the
parameter if your version is older).
Hopefully this is correct; I'm not familiar (as yet) with understanding
all of the different configuration parameters expressed in this sort of
output. Using the command, the output is:
CalDAV:
select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)
CalDAVTodo:
select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)
CalDAVJournal:
select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)
CardDAV:
select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)
Evolution Address Book = Evolution Contacts = evolution-contacts:
Personal (local:system) <default>
Verisign (ldap://directory.verisign.com:389/??one)
Evolution Calendar = evolution-calendar:
Personal (local:system) <default>
Birthdays & Anniversaries (contacts:///)
Evolution Task List = Evolution Tasks = evolution-tasks:
Personal (local:system) <default>
Evolution Memos = evolution-memos:
Personal (local:system) <default>
Looking for the physical location of related files, I see:
pyz@brill ~/.local/share/evolution/addressbook/system> ls -al
total 12860
drwx------ 3 pyz pyz 4096 Jan 28 22:47 .
drwx------ 3 pyz pyz 4096 Mar 7 2011 ..
-rw-rw-r-- 1 pyz pyz 1548288 Jan 28 22:47 addressbook.db
-rw-rw-r-- 1 pyz pyz 363 Mar 7 2011 addressbook.db.summary
-rw-r--r-- 1 pyz pyz 540672 Jan 28 22:47 contacts.db
-rw-r----- 1 pyz pyz 10485760 Jan 28 22:47 log.0000000001
drwx------ 2 pyz pyz 4096 Jan 7 07:04 photos
The command will show you the default database for Evolution
contacts.
Verify that it picks the right database, presumably the local system
address book.
I seems that the two are aligned.
> So, it seems that some sort of index or file has been corrupted.
Is there a way
> of rebuilding it?
>
> Currently, I have no problems working w/ my contacts/addressbook in Evolution
> itself.
Then you can save all your contacts in Evolution as .vcf file, delete
I've done that, and the output looks correct.
the contacts, import again and sync.
I deleted the contacts and tried importing the *.vcf file.
However, that doesn't work, and evolution just seems to hang.
If that doesn't help, then shut
down Evolution and e[volution]-addressbook-factory and remove all files
inside the directory of the address book (shown when listing databases,
or found via the UUID inside ~/.local/share/evolution/addressbook when
using a recent EDS).
I see that evolution-addressbook-factory is running
pyz@brill ~/projects/Evolution> ps waux | grep evo
pyz 1410 0.0 0.1 542704 10952 ? Sl 07:09 0:00
/usr/libexec/evolution/3.4/evolution-alarm-notify
pyz 1586 0.0 0.2 756492 14204 ? Sl 07:09 0:01
/usr/libexec/evolution-calendar-factory
pyz 1599 0.0 0.1 1232276 11720 ? Sl 07:09 0:01
/usr/libexec/evolution-addressbook-factory
but I don't know how to elegantly shutdown evolution-addressbook-factory
Is there a way?
But only do that after verifying that SyncEvolution really uses the
same
address book as Evolution...
Much thanks for all of your help; and apologies for doign this overly
asynchronously.
Max Pyziur
pyz(a)brama.com