Re: [Evolution] evolution-addressbook-export - Couldn't load addressbook NULL



On Tue, 2010-04-13 at 07:02 +0800, Ng Oon-Ee wrote:
On Mon, 2010-04-12 at 21:53 +0200, Milan Crha wrote:
On Mon, 2010-04-12 at 21:17 +0800, Ng Oon-Ee wrote:
Ironically, I was halfway through opening a bug when it started working
again. I will update again if this stops working. Doing serious
maintenance on this machine, including a total reinstall of packages
(killed quite a few libraries in a hard crash), something must have gone
right....

Weird that you would have the error as well though. It works for me as
of today, without any change in evo version. Would you know what libs
are called for this particular function, I can check whether any of
those was updated.

    Hi,
it's trying to open your default or system address book when you do not
specify any, thus if the preference of the default address book changed
to a book which can be opened/is available, then it can probably work.
I'm just guessing here, though.
    Bye,
    Milan

I'm aware of that from my googling, but in my tests I ensured that the
address book I wanted was selected as Default.

Perhaps a following restart of e-d-s did it, just maybe. Will re-post a
new message/bug if I encounter this again.

Closing off on this topic, I just today stumbled upon the man-page for
evolution-addressbook-export at
(http://fly.isti.cnr.it/cgi-bin/dwww/usr/share/man/man1/evolution-addressbook-export.1.gz?type=man)

The crucial thing I could not find out
from /usr/lib/evolution/2.30/evolution-addressbook-export -h was that
the -l option exported ID, name, number-of-entries and that the
[ADDRESSBOOK] was referred to by this ID (which seemed like a file-path
to me, probably because it IS a file-path).

In any case, for reference, if -l gives me this:-
[ngoonee ngoonee-laptop ~]$ /usr/lib/evolution/2.30/evolution-addressbook-export -l
"file:///home/ngooneearch/.evolution/addressbook/local/system","Personal",567
"file:///home/ngooneearch/.evolution/addressbook/local/1248494207 12033 0 ngoonee-laptop","Collected 
Addresses",119
"file:///home/ngooneearch/.evolution/addressbook/local/1248507467 12156 0 ngoonee-laptop","Non-contacts",1

Then I should refer to the second address book by:-
/usr/lib/evolution/2.30/evolution-addressbook-export --format=csv 
file:///home/ngooneearch/.evolution/addressbook/local/1248494207 12033 0 ngoonee-laptop






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]