Hi Ernesto,

> Just to let you know that I am committing some modifications to
> contact's code:
> 
> - Test menu option now works.
> - You should be able to import an entire directory containing vCards.

I just took a quick look at your vCard parcel.  It's a good start!  Here
are a few notes:

- You mention an egg on the wiki, but I didn't see any links to download
one, so I just did a svn export (I updated the wiki so the directions
use the appropriate URL and export instead of checkout)

- I tried to put the parcel in my PARCELPATH, but the test menu was hard
coded to assume I was using $CHANDLERHOME/parcels/ for all parcels.  It
would be convenient to use __file__ or better, the setuptools equivalent
that works with eggs,
http://peak.telecommunity.com/DevCenter/PythonEggs#accessing-package-resources

- To work with alpha4, you need to update your code to take into account
the recent move away from displayName. I tried the code with the alpha3
branch

- wx.HIDE_READONLY has been removed from wx, so you probably want to
take it out of your import code (we recently had to do this for the rest
of Chandler)

- vobject.readComponents will accept a stream, you can just hand it a
file handle

Keep up the good work,
Jeffrey
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to