Page 1 of 1

[Dp 5.0] CoreData error messages

Posted: Wed Nov 09, 2011 5:24 pm
by sjk
I was noticing floods of console messages like this since upgrading to DVDpedia 5.0:

Nov 9 10:55:14 aura DVDpedia[20802]: CoreData: error: (External Records Support): symlink from path /Users/sjk/Library/Application Support/DVDpedia/Database.dvdpd to path /Users/sjk/Library/Caches/Metadata/CoreData/DVDpedia/26A2AA4B-AB93-4AF3-AD61-3C61D60C8E59/.support/store-file : Error Domain=NSCocoaErrorDomain Code=516 "The file “store-file” couldn’t be saved in the folder “.support” because a file with the same name already exists." UserInfo=0x1eb5a50 {NSFilePath=/Users/sjk/Library/Caches/Metadata/CoreData/DVDpedia/26A2AA4B-AB93-4AF3-AD61-3C61D60C8E59/.support/store-file, NSUnderlyingError=0x147a230 "The operation couldn’t be completed. File exists"}

Triggered by this bogus symlink:

Code: Select all

% ls -l DVD*/2*/.support
DVDpedia.OFF/26A2AA4B-AB93-4AF3-AD61-3C61D60C8E59/.support:
total 8
lrwxr-xr-x  1 sjk  staff  117 Nov  8 11:20 store-file -> /Users/sjk/Library/Application Support/DVDpedia/.Database.dvdpd.migrationdestination_41b5a6b5c6e848c462a8480cd24caef3
Deleting the entire ~/Library/Caches/Metadata/CoreData/DVDpedia seems to have fixed it now that the symlink in that rebuilt cache directory refers to the correct file:

Code: Select all

% ls -l DVD*/2*/.support
DVDpedia/26A2AA4B-AB93-4AF3-AD61-3C61D60C8E59/.support:
total 8
lrwxr-xr-x  1 sjk  staff  62 Nov  9 11:15 store-file -> /Users/sjk/Library/Application Support/DVDpedia/Database.dvdpd
Actually, I'd installed the last pre-5.0 beta (4.9.3) only hours before 5.0 was released so maybe this was a problem with the beta that's since been fixed.

Re: [Dp 5.0] CoreData error messages

Posted: Thu Nov 10, 2011 5:43 pm
by Nora
Deleting that folder ~/Library/Caches/Metadata/CoreData/DVDpedia is the correct way to fix it. It's an issue with Apple's CoreData external record exporter that creates the Spotlight files.

Re: [Dp 5.0] CoreData error messages

Posted: Fri Nov 11, 2011 3:19 pm
by sjk
Thanks for the explanation, Nora.