After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615011 - Lyrics Plugin isn't fetching anything from the web
Lyrics Plugin isn't fetching anything from the web
Status: RESOLVED NOTABUG
Product: rhythmbox
Classification: Other
Component: Plugins (other)
HEAD
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-06 21:34 UTC by Edgar Luna
Modified: 2010-05-29 05:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edgar Luna 2010-04-06 21:34:17 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
Comment 1 Jonathan Matthew 2010-04-06 21:39:56 UTC
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.
Comment 2 Edgar Luna 2010-04-06 21:53:02 UTC
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
Comment 3 Jonathan Matthew 2010-04-06 21:57:57 UTC
Looks like this is actually a proxy problem.  That search works for me.
Comment 4 Edgar Luna 2010-04-06 22:04:30 UTC
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?
Comment 5 Edgar Luna 2010-05-29 05:08:31 UTC
There was something wrong with my computer is a user error.

Sorry for the annoyance.
Comment 6 Jonathan Matthew 2010-05-29 05:18:03 UTC
OK, thanks for following up.