GNOME Bugzilla – Bug 615011
Lyrics Plugin isn't fetching anything from the web
Last modified: 2010-05-29 05:18:03 UTC
I tried several times to search for the lyrics of several songs and the plugins only returns 'No lyrics found'. In console I used: rhythmbox -D Lyrics only to get: (16:27:07) [0x948b028] [Parser.searcher] lyrics/lyrics/LyricsParse.py:101: lyrc.com.ar search is disabled (16:27:07) [0x948b028] [Parser.searcher] lyrics/lyrics/LyricsParse.py:106: searching astraweb.com for lyrics (16:27:07) [0x948b028] [Parser.searcher] lyrics/lyrics/LyricsParse.py:106: searching leoslyrics.com for lyrics (16:27:07) [0x948b028] [Parser.searcher] lyrics/lyrics/LyricsParse.py:106: searching winampcn.com for lyrics (16:27:07) [0x948b028] [Parser.searcher] lyrics/lyrics/LyricsParse.py:101: terra.com.br search is disabled
leoslyrics.com seems to be down at the moment (http://leoslyrics.com/posts/list/19918.page suggests it's been down for a while), but astraweb works for me.
I added some prints in AstrawebParser.py In diff --git a/plugins/lyrics/lyrics/AstrawebParser.py b/plugins/lyrics/lyrics/AstrawebParser.py index d14f56e..a7155e4 100644 --- a/plugins/lyrics/lyrics/AstrawebParser.py +++ b/plugins/lyrics/lyrics/AstrawebParser.py @@ -47,15 +47,16 @@ class AstrawebParser (object): wurl = 'http://search.lyrics.astraweb.com/?word=%s+%s' % (wartist, wtitle) loader = rb.Loader() + print wurl loader.get_url (wurl, self.got_results, callback, *data) def got_results (self, result, callback, *data): + print result if result is None: callback (None, *data) return - results = re.sub('\n', '', re.sub('\r', '', result)) - + print "got something" ----------- Then ran: rhythmbox -D AstrawebParser And got: (16:50:24) [0x84bb028] [AstrawebParser.search] lyrics/lyrics/AstrawebParser.py:93: http://search.lyrics.astraweb.com/?word=jimi+hendrix+voodoo+child (16:50:24) [0x84bb028] [AstrawebParser.got_results] lyrics/lyrics/AstrawebParser.py:107: None (16:50:28) [0x84bb028] [AstrawebParser.search] lyrics/lyrics/AstrawebParser.py:93: http://search.lyrics.astraweb.com/?word=jimi+hendrix+voodoo+child (16:50:28) [0x84bb028] [AstrawebParser.got_results] lyrics/lyrics/AstrawebParser.py:107: None
Looks like this is actually a proxy problem. That search works for me.
And works in my browser too, both epiphany and firefox. The Gnome setting for Network Proxy Preferences is set to Direct internet connection. Now I don't think is related bug I get: (rhythmbox:19693): Rhythmbox-WARNING **: Unable to initialize mDNS: Daemon not running (rhythmbox:19693): Rhythmbox-WARNING **: Unable to start mDNS browsing: mDNS service is not running when I start Rhythmbox. Any other place where the "proxy" could be changed?
There was something wrong with my computer is a user error. Sorry for the annoyance.
OK, thanks for following up.