Showing posts with label error. Show all posts
Showing posts with label error. Show all posts

Tuesday, December 20, 2011

iTunes Problem: Won't add new items to library

I ran across a problem this morning and after scouring the internet found NO ONE who had an answer. So, I am posting it here in case anyone else has a similar problem in the future.

Running: iTunes 10.5.2 under MacOS X 10.7.2

Triggering Event: Due to my own lack of attention, I allowed my hard drive to run out of space. When iTunes tried to update its library file, it was unable to do anything due to lack of space and posted an error something like "Unable to complete operation because the file can not be found." (At the time, I did not know this would cause a larger issue, so I did not capture the exact text.)

Symptoms: After this point, new media (movies, TV shows, music) could not be added to my iTunes library. I could drag it onto the window, download it via Home Share, etc. - and it would go to the right folder - but it would never show as part of my library. Attempts to manually run the media via drag-and-drop from the file system were successful, but they were not visible in iTunes nor by AppleTV.

Resolution: It appears that the problem was a corrupted "iTunes Library.itl" file. To correct:

1. I identified the time of the last successful add to my iTunes library (select the movie, and select File/Get Info, check the Info tab)
2. I closed iTunes
3. I went to the folder %hard drive%/Users/%username%/Music/iTunes
4. I located the current "iTunes Library.itl" file
5. I renamed the file to "iTunes Libary Bad.itl"
6. I used Time Machine to navigate back to my backups to a time just AFTER that successful add.
7. I selected the "iTunes Library.itl" file from the backup, seleted it, clicked [RESTORE] (lower right of your screen)
8. When asked where to place it, I selected the same folder from step #3
9. There was a pause while the file was retrieved from backup
10. I opened iTunes and noticed all of my settings were back to before the hard drive issue
11. I went to %hard drive%/Users/%username%/Music/iTunes/iTunes Music
12. I located the media I wanted back in my library (movies are in the "Movies" folder INSIDE the "iTunes Music folder")
13. I dragged and dropped the media onto the iTunes window
14. The media appeared correctly in the window

That's it. Hope this is useful to someone, someday.

Friday, May 15, 2009

Dead men cash no checks?

Why is it most of the Obama administrations errors seem to be in the "well-meaning but clueless" category? Giving DVDs to the English Prime Minister that won't play in British DVD players. Sending VP Biden to talk about Swine Flu. And now issuing stimulus checks to the dead. Or did I miss a "Zombie Americans Act" somewhere?

Antoniette Santopadre of Valley Stream was expecting a $250 stimulus check. But when her son finally opened it, they saw that the check was made out to her father, Romolo Romonini, who died in Italy 34 years ago. He'd been a U.S. citizen when he left for Italy in 1933, but only returned to the United Stated for a seven-month visit in 1969.

The Santopadres are not alone. The Social Security Administration, which sent out 52 million checks, says that some of those checks mistakenly went to dead people because the agency had no record of their death. That amounts to between 8,000 and 10,000 checks for millions of dollars.

Thursday, January 08, 2009

An Excellent Analysis of the Zune 30 GB Leap Year Bug

It is unlikely that any of our regular readers is a Zune owner, but I have found the revelation and analysis of the bug in Zune 30 GB players that locked it up for all of New Years Eve to be fascinating. If you missed the original analysis, basically there was a bug in the year calculation function that runs just before the end of the boot cycle which ended up in an infinite loop on the last day of a leap year.

This article is a great read on the bug, and illustrates why QA is so important and how even now Software Engineering is an art. There are many solutions, but few which are both bug-free and elegant.