This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Lyric scripts fail. Stalls at message Fetching lyrics....

Tags: None
(comma "," separated)
t20racerman
Registered Member
Posts
11
Karma
0
Hi there

I used amarok before with Suse 10.2 and it all worked lovely. After a hard drive problem though I installed a new hard drive, now running PCLinuxOS 2007 with every update in place, including the latest version of Amarok. However, now I can't get the lyrics scripts to work. I have tried three different scripts and all stall at the point of "Fetching lyrics..." 

I'm not behind a proxy, both Firefox and Konqueror access the net, and the cover manager and Artist details from Wikipedia all work well too.  I have Ruby and QTRuby installed.

Any ideas as this is getting annoying now!!!
Thanks
User avatar
dangle_wtf
Moderator
Posts
1252
Karma
0
have you checked the website of whichever lyrics server the script uses to see whether it's available?
Also, perhaps try one of the other scripts to see if you get the same result.


"There are two theories to arguing with women. Neither one works."
.
If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss"
t20racerman
Registered Member
Posts
11
Karma
0
Thanks for the reply.

I have used three different lyrics scripts (lyrc, Terra Letras and Wiki-lyric) and always get the same message with all three of them.  The servers ARE up when I get this message.
t20racerman
Registered Member
Posts
11
Karma
0
I just tried again with Wiki-lyrics and got a  ..timed out at www.azlyrics.com  message, but in a browser this site works perfectly.
t20racerman
Registered Member
Posts
11
Karma
0
Still struggling with this - Please suggest anything I can try...


Latest attempts:


I just re-tried lyric and after a while got the message:

The script 'Lyrc' exited with error code: 1

and then the details were given as:

/usr/lib/ruby/1.8/net/http.rb:564:in `initialize': Connection timed out - connect(2) (Errno::ETIMEDOUT)
from /usr/lib/ruby/1.8/net/http.rb:564:in `open'
from /usr/lib/ruby/1.8/net/http.rb:564:in `connect'
from /usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
from /usr/lib/ruby/1.8/net/http.rb:564:in `connect'
from /usr/lib/ruby/1.8/net/http.rb:557:in `do_start'
from /usr/lib/ruby/1.8/net/http.rb:546:in `start'
from /usr/lib/ruby/1.8/net/http.rb:1044:in `request'
from /usr/lib/ruby/1.8/net/http.rb:781:in `get'
from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:124:in `fetchLyrics'
from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:190
from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:176:in `loop'
from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:176


So that was no good.  So i tried again with a different script - LyricWiki

It hung for a minute or two and then up popped an error message telling me that it had failed. It said that the most likely reason was that either the wikilyric.org server was unavailiable, or that my computer wasn't connected to the Internet. As i was on the Internet at the time downloading a file, was also updating the Magnature database on Amarok, AND the artist details were being picked up from Wikipedia immediately whenever a new track started playing on Amarok, I do think i was connected. I also opened a new tab in Firefox and browsed the lyricWiki.org website.

One relevant fact is the small icon for the 'fetch in an external browser' function. When on the 'Artist' tag, this icon is blue and works correctly, when on the Lyric tag it is greyed out and doesn't work!

I have searched the 'net and tried to resolve this problem for months - ANY ideas/suggestions welcomed.



Thanks
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Does your network have exceptionally high latency?

What Ruby version is Amarok using on your new system?


--
Mark Kretschmann - Amarok Developer
t20racerman
Registered Member
Posts
11
Karma
0
Hi there

The latency is fine. I'm only on 0.5M broadband  which isn't the fastest, but it works well and the Wikipedia Artist info downloads usually in seconds.

According to Synaptic (I'm a PCLinuxOS user) the version of Ruby installed is 1.8.6-2 

Thanks for taking an interest.  :biggrin:
t20racerman
Registered Member
Posts
11
Karma
0
More info.

I said earlier that:

One relevant fact is the small icon for the 'fetch in an external browser' function. When on the 'Artist' tag, this icon is blue and works correctly, when on the Lyric tag it is greyed out and doesn't work!


If I turn off my wireless router and then start up Amarok, the 'fetch in an external browser' icon is greyed out on both the 'Lyrics' tag and the 'Artist' tag. If I then turn on the router and connect to the internet, the Lyric tag  icon stays greyed out, but the one on the Artist tag goes blue and works!

How can one part of a program possibly connect to the internet, but not the other part?
t20racerman
Registered Member
Posts
11
Karma
0
Bump....  Anyone?
valoriez
KDE CWG
Posts
625
Karma
3
OS
Hmmm, the last few days I've been having almost the same problem. No matter which script I try, they fail immediately, or after fetching one set of lyrics. Always exiting error code [1]. Error message in my case is:

Qt bindings not found
undefined method `request_uri' for #<:generic:0xb67f41c4>
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/utils.rb:519:in `fetch_page_get'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/utils.rb:531:in `fetch_page_get'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:217:in `fetch_suggestions_page'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:248:in `suggestions'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:310:in `lyrics_full_search'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:108:in `lyrics_from_other_scripts'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:104:in `each'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:104:in `lyrics_from_other_scripts'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:97:in `on_lyrics_not_found'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:315:in `lyrics_full_search'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:91:in `show_lyrics_full_search'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:141:in `on_fetch_lyrics'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:270:in `run_worker'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:255:in `loop'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:255:in `run_worker'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:212:in `main'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:209:in `initialize'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:209:in `new'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:209:in `main'
/home/valorie/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok_lyrc.rb:32

I've run into scripts which stall out because of slow internet connections before. But this has been continuing for almost a week. I'm sure an update of something or other caused the breakage, but what, and how do I fix it?

:confused:


Image
54Sandgroper
Registered Member
Posts
1
Karma
0
Likewise. Amarok 1.4.7; Wiki-Lyrics v0.12.6

When it stalls, it stops the script.  Restart the script, and the lyrics for the current track pop up almost instantly. Then it stalls again a couple of tracks later.

Any suggestions?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]