Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


.xml file | 13 comments | Create New Account
Click here to return to the '.xml file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
.xml file
Authored by: aranor on Jan 02, '03 03:28:51PM

I had that problem a while ago. I was copying a few hundred MP3s to my iTunes music library from my file server, and the server hard drive froze. iTunes just sat there, completely frozen. I force-quit it and when I opened it back up, the library was locked. Not knowing what else to do, I trashed the library file, went to iTunes, said import library, and selected the .xml file. Voila, after a few minutes of parsing the file, I had my library back.

But your way is probably better.



[ Reply to This | # ]
iTunes constantly re-locks my library
Authored by: cocoamix on Jan 25, '03 11:15:32AM

This still occasionally happens to me. It's infuriating! About once every month, when I try to quit iTunes, it freezes. I have to force quit it TWICE. The first one doesn't work, but the second one finally quits iTunes. When I try to run iTunes again, it tells me that the library is locked. When I try to trash the Library, it tells me that it's in use. After logging out and in, I it remains "in use" so I cannot trash it, so I sudo rm -fr it to finally get rid of it.
Process Viewer reveals nothing I could kill that's related to iTunes.

The ONLY sulution that works is restarting and re-importing all 2000 of my MP3's.
Using a new copy of iTunes, trashing all iTunes related prefs and files doesn't seem to help. It happens again in a few weeks. Even using a backup of my iTunes library does not work.

I'm SICK of this happening. Has anyone found a cause for why this is happening?



[ Reply to This | # ]
iTunes constantly re-locks my library
Authored by: JadeNB on Jun 10, '07 12:30:18PM

As a general matter, the command 'lsof' is a good way to find out what processes are using which files. (It can certainly be non-obvious.)



[ Reply to This | # ]
iTunes constantly re-locks my library
Authored by: morespace54 on Jun 11, '07 01:12:20PM

Good point.
As a reminder (and added suggestion to the previous post) you can also type (in Terminal):

[code]
lsof > ~/Documents/MyProcess.txt
[/code]

which will output the result in a text file named "MyProcess.txt" in your "Documents" folder...



[ Reply to This | # ]