Re: debugging evolution-vcard-importer. Was: Re: [Evolution] error on .vcf (vcards) import



On Wed, 2004-05-19 at 14:34 +0200, Stan Pinte wrote:
> > 
> > an idea?
> BONOBO_ACTIVATION_PATH is the important one, it needs to point to the
> relevent .server file.
> 
> And to debug stuff like this, run evo, get to the importer stage, then
> attach to the process with gdb before doing the actual import.  The
> importer process should be activated before it runs.

well, the problem is that evolution kills the process when importing the
vcards a second time (I think he checks if a process is openened, then
kills it.)

$ ps -aux | grep vcard
Warning: bad syntax, perhaps a bogus '-'? See
PS use posix syntax if you use -, e.g. "ps -elf", or use bsd syntax with no dash, i.e. "ps aux"

http://procps.sf.net/faq.html
test-ev  13483  0.0  1.0 24696 5584 ?        S    14:31   0:00
/usr/lib/evolution/1.4/evolution-vcard-importer
--oaf-activate-iid=OAFIID:GNOME_Evolution_Addressbook_VCard_ImporterFactory --oaf-ior-fd=25
test-ev  13486  0.0  0.1  3640  708 pts/7    R+   14:31   0:00 grep
vcard
$ ps -aux | grep vcard
Warning: bad syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
test-ev  13500  0.0  1.0 24696 5584 ?        S    14:32   0:00
/usr/lib/evolution/1.4/evolution-vcard-importer
--oaf-activate-iid=OAFIID:GNOME_Evolution_Addressbook_VCard_ImporterFactory --oaf-ior-fd=25
test-ev  13502  0.0  0.1  3640  708 pts/7    R+   14:32   0:00 grep
vcard
$
Ahh ok.

Well, uh, just connect to the one thats running at the point it asked you to do the import (i.e file selected, etc), it should always be the right one for that run.

Michael Zucchi <notzed ximian com>

Ximian Evolution and Free Software Developer


Novell, Inc.


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