[Dp 5.0] CoreData error messages

Report your bugs here - if someone else has already mentioned the same bug, just add on to their post with as much info as possible to make the hunting easier.

[Dp 5.0] CoreData error messages

Postby sjk » Wed Nov 09, 2011 5:24 pm

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.
User avatar
sjk
Addicted to Bruji
Addicted to Bruji
 
Posts: 516
Joined: Sat Feb 21, 2009 9:01 pm
Location: Eugene

Re: [Dp 5.0] CoreData error messages

Postby Nora » Thu Nov 10, 2011 5:43 pm

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.
User avatar
Nora
Site Admin
 
Posts: 1943
Joined: Sun Jul 04, 2004 5:03 am

Re: [Dp 5.0] CoreData error messages

Postby sjk » Fri Nov 11, 2011 3:19 pm

Thanks for the explanation, Nora.
User avatar
sjk
Addicted to Bruji
Addicted to Bruji
 
Posts: 516
Joined: Sat Feb 21, 2009 9:01 pm
Location: Eugene


Return to Bug Reports

cron