Re: [Evolution] Empty contacts / messing with the database



On Mon, 2003-05-05 at 00:52, guenther wrote:
Not sure, but that sounds kinda familiar to what I just came across:
http://lists.ximian.com/archives/public/evolution-hackers/2003-April/000253.html

Chris Toshok wrote:
[...] I suggest you don't create/modify
addressbook.db entries using straight perl modifying the file's
internals.  Going through the wombat is really the better way to do
this, since you'll get notification if things have changed [...]

I can't tell why I shouldn't do this. The format of the file is very
unlikely to change (vCards in Berkeley DB) and it should work.
My problem was solved by a clean reboot. All the ghost entries vanished
this morning. Maybe something with the complex structure Ev has, but I
don't want to understand it. 
The idear of writing a Perl module isn't that far off, because now there
is a fency Text::vCard and Text::vFile module to handle the parsing. The
only thing I'm missing is something like a LDIF module and to convert
between those both.
Maybe something for sleepless hours.

Regards,
        Marcus
-- 
---------------------------------------------------------
|Marcus Thiesen                           ICQ# 108989768|
|D-53757 Sankt Augustin                  marcus cpan org|
|Germany                                                |
---------------------------------------------------------
|                  cpan.thiesenweb.de                   |
---------------------------------------------------------
"Computer games don't affect kids; I mean if Pac-Man 
affected us as kids, we'd all be running around in 
darkened rooms, munching magic pills and listening to 
repetitive electronic music."
                     Kristian Wilson, Nintendo, Inc, 1989.

/(b|[^b]){2}/




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