because i'm a nerd, that's why

Apr 12, 2008 07:53

I've been dutifully putting song ratings into iTunes for years now, rating each song individually according to its merit. iTunes actually died a while ago and forced me to start the entire rating process over again, but I still hope that one day I will have a fully rated music library ( Read more... )

meme, geekspeak

Leave a comment

Comments 2

frankg April 13 2008, 18:13:30 UTC
This is my first time with Python, but I got the following error:

Parsing XML... Traceback (most recent call last):
File "iTunesStats.py", line 316, in
sys.exit(main())
File "iTunesStats.py", line 253, in main
lib = Library(iTunesLib)
File "iTunesStats.py", line 154, in __init__
self.initFromIML(iml)
File "iTunesStats.py", line 161, in initFromIML
lib = load(iml)
File "iTunesStats.py", line 35, in load
XMLFilter.parseFilePath(iml, reader, features = reader.getRecommendedFeatures())
AttributeError: class XMLFilter has no attribute 'parseFilePath'

I see the parseFilePath function in the library, so I'm not sure what's up.

Reply

coriolinus April 14 2008, 01:44:10 UTC
It seems I have an obsolete version of the XMLFilter library, and he's gone and changed the interface on me. Change line 15 from
from XMLFilter import XMLFilter to
import XMLFilter and it should work.

Sorry about that!

Reply


Leave a comment

Up