Open LantashTheTokra opened 8 months ago
I have the same problem. It sucks because reseted phone and no contacts.
I had automatic backup, everyone of them says importing failed Additional information: I tried with older(automated backup) versions too and those not work too. Maybe the exports faulty?
Tested with and older .vcf file (was exported with simple contact, and hidden numbers)and the import worked ! None of the new automated backup worked.
Same error here when trying to import an vcf that was exported from Android. Version 6.22.7. pro
Did some try&error editing the vcf file. When removing the following entry for all contacts import worked: SOUND;X-IRMC-N:;;;;
.
When I try to open this contact from the file manager, it fails to import. The GrapheneOS contacts app imports it right, so it's not an issue with the file App version: 6.22.7 Android version: 14 Distro: GrapheneOS File: https://github.com/LantashTheTokra/smsbug/blob/main/20231016_232659_01.vcf Screenshot with error message:
Btw. I removed the LOGO part from your vcf. Then import works.
@Danfro what did you use for edit?
@hetszunyukapanyanyimonyok Just Ubuntu default Text editor. That allowed to search&replace including the line break. Nothing fancy. Most editors will do I suppose.
The topic and issue is a duplicate of #1043 and has been mentioned several times already. Still, the Devs refuse to fix it.
I am sure "fixing" this is almost impossible. vcf is not vcf. There are several versions of the standard and many OS or apps do implement their own addons or modifications. Implementing them all in this app would be a huge task.
BUT a proper error message dialog that explains the reason (not supported tags/not standard conform tags) would be really helpful. And ideally a list of those tags which fail would be perfect.
So I tried @Danfro solution with the SOUND;X-IRMC-N:;;;; there is none any of these in my vcf and tried to find and remove LOGO could not find. So this import bug must be something unique? Can't find anything useful. Anybody found any other solution?
So I tried @Danfro solution with the SOUND;X-IRMC-N:;;;; there is none any of these in my vcf and tried to find and remove LOGO could not find. So this import bug must be something unique? Can't find anything useful. Anybody found any other solution?
Exactly. It can by anything and something else for everyone. That's why fixing it is not easy.
You can only try this:
That is what I did.
@Danfro Thank for the methodology! I will test it in the afternoon. I hope it will work. @Danfro After fixing the file, did the automatic backup work(again as an importable vcf)?
@Danfro After fixing the file, did the automatic backup work(again as an importable vcf)?
I did not try to import a backup, but a new file. So I can't tell you. But should work... Good luck.
Another option to get contacts imported for Thunderbird users, seems to be to install the CardBook extension. This apparently allows to get properly formatted vcards. Those can then be exported to a vcf, which then can be imported in contacts app.
When I try to open this contact from the file manager, it fails to import. The GrapheneOS contacts app imports it right, so it's not an issue with the file App version: 6.22.7 Android version: 14 Distro: GrapheneOS File: https://github.com/LantashTheTokra/smsbug/blob/main/20231016_232659_01.vcf Screenshot with error message:![Screenshot_20231017-122652](https://github.com/SimpleMobileTools/Simple-Contacts/assets/84555704/4935cef7-510c-4c88-b382-9a8023638844)