I can confirm this problem. At the line Luca identified it doesn't work as 
expected.

Line 396 in /usr/lib/pymodules/python2.6/sonata/info.py:
"lyrics = content.split("<lyrics>")[1].split("</lyrics>")[0]"

I used wget to fetch some lyrics pages and instead of the expected
"<lyrics>" and "</lyrics>"
they contain
"<lyrics>" and "</lyrics>"
For example try
wget 
'http://lyrics.wikia.com/index.php?title=Blake%20Shelton:Ol%27%20Red&action=edit'
 -O lyrics.html
and look at lyrics.html with a text editor.

So for some reason the greater-than sign is not in html-code and therefore
line 396 doesn't work. When I change it to
"lyrics = content.split("<lyrics>")[1].split("</lyrics>")[0]"
lyrics fetching works again.

Now the question is how to handle this. Should Sonata be able to handle these 
pages
anyway like with a string replace before line 396? Or is that already 
implemented but
doesn't work (I didn't have the time to look into this)?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to