copy files failed: An unknown error occurred (-50), copy files failed: An unknown error occurred (-50)
Can't consolidate my library. Any clue as to the fix?
Can't consolidate my library. Any clue as to the fix?
Sounds like you may have some damaged files. My script Unconsolidated should be able to show you which tracks still need to be consolidated. You can then either choose to select the remainder in small batches and consolidate just those, or use my script ConsolidateByMoving for the task. The script still won't be able to copy the damaged tracks but it should let you know which file it fails on.
tt2
Unconsolidate crashes at line. Error comes up about "albumartist"...
Do you have a line number? The script prossibly makes an unjustified assumption that the Album Artist field always exists though I thought I'd covered that one.
Looking at the script there are two locations where the value of .AlbumArtist is read - the second one shouldn't ever cause an error. The first one has never done so for me, but I suppose it is possible if the "first" track in your library isn't a standard audio track...
If the error line is 143 would you mind adding the following line of code before the current line:
If I=1 Then MsgBox .Name ' (letter i = numeral 1)
Can you find the object with that name in the library, and if so what kind of object is it?
tt2
It is line 207
Bah, there goes my theory... 🙂
I've uploaded a new version of Unconsolidated that will skip over any error that might be raised in that function and it has no impact on the rest of the script. It's just processed 60k+ tracks in my library without falling over. Let me know how you get on.
tt2
Still crashes there. Maybe it had not uploaded yet?
It was uploaded before I posted. Check you've downloaded a fresh copy. The first few lines should read:
' ==============
' Unconsolidated
' ==============
' Version 1.0.1.3 - April 5th 2012
tt2
copy files failed: An unknown error occurred (-50), copy files failed: An unknown error occurred (-50)