Hi List.

I'm not quite sure about this behaviour I see in pisi.
My old Sony Ericsson mobile exports its contacts like this:

---
BEGIN:VCARD
VERSION:2.1
FN:Lastname Firstname
N:Lastname;Firstname;;;
TEL;TYPE=cell:+491234567890
X-IRMC-LUID:XXXXXXXXXX
END:VCARD
---

Problem is: pisi doesn't recognize this, as it expects 'cell' to be all
caps. Now, I'm not sure about this, but RFC2426 [1] specifies:

   tel-type     = "HOME" / "WORK" / "PREF" / "VOICE" / "FAX" / "MSG"
                / "CELL" / "PAGER" / "BBS" / "MODEM" / "CAR" / "ISDN"
                / "VIDEO" / "PCS" / iana-token / x-name
        ; Values are case insensitive

I'm no python guy, so unfortunately I can't provide a patch here.

Oh, and pisi crashes if I call it with only 1 entry in the .vcf file and
these parameters:

r...@om-gta02 /opt/pisi $ pisi -v -m2 vcf1 opimd 2>&1 | grep -v
"pending_setup is defrecated and strongly discouraged"

Both are observed with pisi 0.4.7.

Kind regards,
        Benjamin

[1] http://tools.ietf.org/html/rfc2426#section-4 Page 31
-- 
  ____  _        _    ____  _   _ _ _____ __  __ 
 / ___|| |      / \  / ___|| | | ( ) ____|  \/  |
 \___ \| |     / _ \ \___ \| |_| |/|  _| | |\/| |
  ___) | |___ / ___ \ ___) |  _  | | |___| |  | |
 |____/|_____/_/   \_\____/|_| |_| |_____|_|  |_|
 play online: telnet://slashem.crash-override.net
 view scores: http://slashem.crash-override.net
 watch deaths: irc://irc.freenode.net#slashem
#######

Bitte beachte, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert
wird.
Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
http://piratenpartei.de/navigation/politik/ueberwachung/vorratsdatenspeicherung

#######

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to