We have had some problems using Variant Call Format files on a Mac.
A symptom of our troubles is entries in
/var/log/system.log
like:
Mar 25 11:39:25 Jeremys-MacBook-Pro.local com.apple.quicklook.satellite[10039]: vCard Syntax Error, character: 1401 : I
Mar 25 11:39:25 Jeremys-MacBook-Pro.local com.apple.quicklook.satellite[10039]: Malformed BEGIN
Mar 25 11:39:25 Jeremys-MacBook-Pro.local com.apple.quicklook.satellite[10039]: ##fileformat=VCFv4.1
or:
Mar 25 14:06:05 Jeremys-MacBook-Pro.local mdworker[585]: ##filef
Mar 25 14:06:05 Jeremys-MacBook-Pro.local mdworker[585]: vCard Syntax Error, character: 7 : f
Mar 25 14:06:05 Jeremys-MacBook-Pro.local mdworker[585]: Malformed BEGIN
Mar 25 14:06:05 Jeremys-MacBook-Pro.local mdworker[585]: ##fileformat=V
Mar 25 14:06:05 Jeremys-MacBook-Pro.local mdworker[585]: vCard Syntax Error, character: 14 : V
This could be problematic since at least some of this processes seem to read the entirety of VCF files, which is not such a great idea.
The fix we found is as follows:
As root:
cd /System/Library/QuickLook/ ; mv Contact.qlgenerator Contact.qlgenerator.BAD
cd /System/Library/Spotlight/ ; mv vCard.mdimporter vCard.mdimporter.BAD
Two further steps that we did, and which appear to be unnecessary are:
- Go to System Preferences/Spotlight and uncheck Contacts<
- In Finder, select Get Info on any
.vcf
file, and modify the Open with: entry, e.g. to TextEdit, and then apply to all with Change All..
I would suggest to keep the type as Tip rather than Question
My fault... I was trying to organize and saw it initially as a question why the bug is happening, but I totally can see it as a tip too...
I filed a bug with Apple reporting this 6 months ago but they have not responded.
Great! Thanks for this, My Mac completely runs out of disk space (and thus slows to a halt) because of this problem.
Thank you very much for this. Had this exact problem since this morning and really didn't expect to find an answer online so easily. Great tip!
Sincere thanks to you for finding a solution to this rare but annoying problem! My machine suddenly began eating up disk space as it was repeatedly trying to read in a vcf mutation file as an address book entry. This solved the issue.