Skip navigation
This discussion is archived

Uknown Error (-50) when re-creating library from .xml

3191 Views 3 Replies Latest reply: Dec 18, 2009 4:27 AM by kowalsky RSS
jaredcolin Calculating status...
Currently Being Moderated
Nov 2, 2009 8:23 PM
I was fooling around with my library trying to get it to work properly within another program (Native Instruments Traktor Pro) and goofed it up.

My entire library (lib, xml and mp3s) reside on an external hard drive. Somehow the lib was overwritten with an older version. My xml file looks to be okay though (all 23.3 Mb of it), so in following the instructions for re-creating my library from the .xml (http://support.apple.com/kb/HT1451) I get:

The file "iTunes Library.xml" cannot be imported. An unknown error occurred (-50).

About 11,000 of my 15,000 mp3s get added but no ratings, play counts, date added or playlists make it over. Any ideas?
MacBookPro4,1, Mac OS X (10.5.8), iTunes 9.0.1
  • larrydog Calculating status...
    I had the same problem today with iTunes 9.0.2.25. After the error popped up, I found I had 5634 tracks successfully loaded. I opened the xml file with an editor, and went to track 5635 to see what was amiss. I found that the composer of the track was Spanish, and had an "í" in his name (that's a code 0237, not an i). I removed this, deleted the .itl, launched iTunes and re-imported the xml. This worked and got me a few hundred tracks farther, where I encountered the same thing. One more quick edit, and all is good. What is strange about this is that there are lots of foreign characters in my tags -- the importer doesn't choke on all of them, but it sure doesn't like code 0237 in a Composer tag. The error text could have been a little more informative. Hope this helps the next guy.
    Windows XP
  • kowalsky Calculating status...
    Hi Jaredcolin,

    thanks for the tip!

    I had the same problem, but textmate crashes during syntax validation (in my case, the size of the itunes music library.xml is 148mb).

    So I tried textwrangler and opened the xml file - Upon opening I received a message: "UTF-8 file is damaged, ....proceed with caution".

    After proceeding I saved the itunes library with a new name and it works!

    In Traktor Pro vers.1.2.3 i now have all my musicfiles (about 520Gb) and it works pretty good.
    MacPro 2x2.8GHz Quad-Core Intel Xeon, Mac OS X (10.6.2), 6 GB Ram

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.