Installing Entertainer

Asked by Icu

testAddFeedsToWidget002: tests if self.config is updated correctly ... ok
tests if self.feeds is updated correctly ... ok
tests if self.config is updated correctly ... ok
testThumbnailer (ImageThumbnailer_test.ImageThumbnailerTest) ... ok

======================================================================
FAIL: testGetLyricsXML - Ensures the lyrics are fetched correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thomas/progs/entertainer/entertainer-0.1/src/tests/LyricsDownloader_test.py", line 45, in testGetLyricsXML
    self.assertEqual(lyrics._get_lyrics_xml(), test_xml)
AssertionError: '<?xml version="1.0" encoding="utf-8"?><start><sg><cs>34806267c6</cs><id>11219</id><ar>Nirvana</ar><tt>On a Plain</tt><al>Nevermind</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &amp;#169;THE END OF MUSIC[br]\n \n &amp;#169;PRIMARY WAVE TUNES[br] [br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>cf475408d4</cs><id>330649</id><ar>Nirvana</ar><tt>On a Plain</tt><al>All Acoustically</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &amp;#169;THE END OF MUSIC[br]\n \n &amp;#169;PRIMARY WAVE TUNES[br] [br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>bdd277aa7d</cs><id>414748</id><ar>Nirvana</ar><tt>On a Plain</tt><al>MTV Unplugged in New York</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &amp;#169;THE END OF MUSIC[br]\n \n &amp;#169;PRIMARY WAVE TUNES[br] [br] Lyrics delivered by lyricsfly.com [br]</tx></sg></start>\t' != '<?xml version="1.0" encoding="utf-8"?><start><sg><cs>34806267c6</cs><id>11219</id><ar>Nirvana</ar><tt>On a Plain</tt><al>Nevermind</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &amp;#169;THE END OF MUSIC[br]\n \n &amp;#169;PRIMARY WAVE TUNES[br][br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>cf475408d4</cs><id>330649</id><ar>Nirvana</ar><tt>On a Plain</tt><al>All Acoustically</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &amp;#169;THE END OF MUSIC[br]\n \n &amp;#169;PRIMARY WAVE TUNES[br][br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>bdd277aa7d</cs><id>414748</id><ar>Nirvana</ar><tt>On a Plain</tt><al>MTV Unplugged in New York</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &amp;#169;THE END OF MUSIC[br]\n \n &amp;#169;PRIMARY WAVE TUNES[br][br] Lyrics delivered by lyricsfly.com [br]</tx></sg></start>\t'

----------------------------------------------------------------------
Ran 163 tests in 9.692s

FAILED (failures=1)
make: *** [test] Error 1

what causes this error? I can not quite see what the problem is? can you guys help.

rgds
thomas

Question information

Language:
English Edit question
Status:
Solved
For:
Entertainer Media Center Edit question
Assignee:
No assignee Edit question
Solved by:
Icu
Solved:
Last query:
Last reply:
Revision history for this message
Matt Layman (mblayman) said :
#1

Thomas, this was a known bug (Bug 247448). It has been fixed on the trunk so I'm guessing you're running the code from 0.1.

Being unable to pass all the tests should not prevent you from running Entertainer. I put up a fairly decent how to install Entertainer in LP Question 39028 (https://answers.launchpad.net/entertainer/+question/39028). Please let me know if you're having problems and I can try to give you some help.

Revision history for this message
Icu (hansentho) said :
#2

Ok ... thanks ... how do I check out the trunk? is it via subversion?

thanks in advance.

rgds
Thomas

Revision history for this message
Matt Layman (mblayman) said :
#3

You can get the trunk from lp using bazaar (bzr). The information is all in the question that I linked to up above. You can ignore two things in those instructions. You can ignore step 5 in the instructions since the backend is now automatically started by default, and you can ignore the sentence after step 6 because it was fixed and merged into the trunk.

Revision history for this message
Icu (hansentho) said :
#4

thanks for the quick reply ... .. i have it upp and running... looks nice ... I already have a own modified elisa media center running at my Home Teater.. I was curiouse to see how you guys approach the media center philosofy... this is an early stage to compare to other media centers, bu this has good potential .... keep up the good work ... :)

Revision history for this message
Matt Layman (mblayman) said :
#5

Thanks, feel free to report any bugs that you might find. We could always use more testers. :) Enjoy.