You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When processing a large file (> 2000 entries), I got this error:
Traceback (most recent call last):
File "vcardtools.py", line 281, in <module>
main()
File "vcardtools.py", line 214, in main
args.no_remove_name_in_email \
File "/Users/kenkrugler/git/vcardtools/vcardlib.py", line 810, in get_vcards_from_files
selected_name = select_most_relevant_name(available_names)
File "/Users/kenkrugler/git/vcardtools/vcardlib.py", line 374, in select_most_relevant_name
raise ValueError("Trying to select a name from an empty list of names")
ValueError: Trying to select a name from an empty list of names
I added some debugging logging (would be useful to dump out card and count when an exception happens), and the vCard entry was <VCARD| [<VERSION{}3.0>, <PRODID{}-//Apple Inc.//macOS 11.2.3//EN>, <N{} >]>
I grepped the input file, and found it was this entry:
When processing a large file (> 2000 entries), I got this error:
I added some debugging logging (would be useful to dump out card and count when an exception happens), and the vCard entry was
<VCARD| [<VERSION{}3.0>, <PRODID{}-//Apple Inc.//macOS 11.2.3//EN>, <N{} >]>
I grepped the input file, and found it was this entry:
After removing it from the file, the code ran to completion.
The text was updated successfully, but these errors were encountered: