[Users] error running vcard2xml.py - still hoping for reply

Michael Rasmussen mir at miras.org
Wed Jan 9 01:26:31 CET 2013


On Tue, 8 Jan 2013 19:07:58 -0500
RSV-RR <rsv869 at roadrunner.com> wrote:

> Hello Michael and Tristan -
> 
> Not sure how to get this resolved.....
> 
> reid at rsv-linux:~/Temp$ python claws-mail-vcard2xml/vcard2xml.py list.vcf
>   File "claws-mail-vcard2xml/vcard2xml.py", line 4
> SyntaxError: Non-ASCII character '\xa9' in file
> claws-mail-vcard2xml/vcard2xml.py on line 5, but no encoding declared;
> see http://www.python.org/peps/pep-0263.html for details  
Simply by doing this
1) Replace first line
#!/usr/bin/python2.2
2) with
#!/usr/bin/python2.2
# -*- coding: latin-1 -*-

Fix can also be found in
http://claws-mail.org/tracker/getpatchset.php?ver=3.9.0cvs53


-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
... [concerning quotation marks] even if we *___did* quote anybody
in this business, it probably would be gibberish.
		-- Thom McLeod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20130109/b41f3a5c/attachment.sig>


More information about the Users mailing list