Hi,
I'm trying to use the project to read a VCARD file generated from Android Phone App. This App generate a version 3.0 VCard that I'm trying to read with the code below:
import vcf
reader = vcf.Reader(open('a.vcf','r'))
for e in reader:
print(e)
The file 'a.vcf' has only one register and you can see its content below:
Traceback (most recent call last):
File "./vcf2Panda.py", line 17, in <module>
for e in reader:
File "/opt/python-3.6.6/lib/python3.6/site-packages/vcf/parser.py", line 684, in __next__
pos = int(row[1])
IndexError: list index out of range
My environment is an Debian Linux with Python 3.6.6 installed. How can I solve this problem?
Hi, I'm trying to use the project to read a VCARD file generated from Android Phone App. This App generate a version 3.0 VCard that I'm trying to read with the code below:
The file 'a.vcf' has only one register and you can see its content below:
When I run the code I get this error message:
My environment is an Debian Linux with Python 3.6.6 installed. How can I solve this problem?