Bug 321081 - Lyrics not fetching for any tracks
Summary: Lyrics not fetching for any tracks
Status: RESOLVED DOWNSTREAM
Alias: None
Product: amarok
Classification: Applications
Component: Context View/Lyrics (show other bugs)
Version: 2.7.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 23:08 UTC by Kevin Gangi
Modified: 2013-06-22 20:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Error from debug startup (287.23 KB, text/x-log)
2013-06-17 13:26 UTC, Kevin Gangi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Gangi 2013-06-12 23:08:39 UTC
The lyrics are not being fetched on my brand new installation of OpenSuse 12.3, I'm exactly sure why.  All of the tracks (mp3, ogg) are playing just fine.  The current track and wikipedia section are all correct.  I have tried to use the default Lyricwiki and Ultimate Lyrics scripts and both are not pulling any scripts.  I don't know how to debug this issue so any help would be greatly appreciated.

Reproducible: Always

Steps to Reproduce:
1. Open Amarok
2. Start playing a track
3. No Lyrics will pull
4. Go to Configure Amarok
5. Download and switch from LyricWiki to Ultimate Lyrics
6. Play a new track and no lyrics again
Actual Results:  
All you see is "Lyrics: Fetching ..."

Expected Results:  
I expect the Lyrics to autoscroll/display
Comment 1 Myriam Schweingruber 2013-06-13 00:39:46 UTC
Could you please use the default lyrics applet and start Amarok with 'amarok -d --nofork'.

We need the part of the output when you start a new track of which you are sure there are lyrics available and that your internet connection is not hindered by a proxy that could prevent lyrics fetching.

FWIW: I can't reproduce this problem here with current git version which is ahead of 2.7.1 by over 370 commits, so maybe this is already fixed.
Comment 2 Kevin Gangi 2013-06-17 13:25:09 UTC
Thanks that helped...here is probably the useful part...

 [ScriptManager] start script engine: "LyricWiki"
amarok:       ^[[00;31mEND__:^[[00;39m void ScriptManager::startScriptEngine(const QString&) ^[[00;31m[Took: 0s]^[[00;39m
amarok:       [ScriptManager] lyrics script started: "LyricWiki"
amarok:       ^[[07;31m[ERROR__]^[[00;39m [ScriptManager] "Script Error: Error: Unable to import qt.core: no such extension (line: 28)"
amarok:       ^[[00;32mBEGIN:^[[00;39m void ScriptManager::slotStopScript(const QString&)
amarok:         ^[[00;34mBEGIN:^[[00;39m void ScriptManager::scriptFinished(const QString&)
amarok:         ^[[00;34mEND__:^[[00;39m void ScriptManager::scriptFinished(const QString&) ^[[00;34m[Took: 0s]^[[00;39m
amarok:       ^[[00;32mEND__:^[[00;39m void ScriptManager::slotStopScript(const QString&) ^[[00;32m[Took: 0s]^[[00;39m
amarok:       [ScriptManager] The Log For the script that is the borked:  ("09:20:10 Script started", "Script Error: Error: Unable to import qt.core: no such extension (line: 28)", "09:20:10 Script ended")

I am also attaching the whole error.log
Comment 3 Kevin Gangi 2013-06-17 13:26:14 UTC
Created attachment 80583 [details]
Error from debug startup

Output from amarok -d --nofork > error.log 2>&1
Comment 4 Kevin Gangi 2013-06-17 13:34:46 UTC
Thanks for your help...

I was able to fix the problem.  Apparently for some reason qt4-qtscript is not a required dep for amarok.  I ran "sudo zypper install qt4-qtscript*" and now it is fetching lyrics correctly from both scripts.
Comment 5 Matěj Laitl 2013-06-22 19:19:58 UTC
(In reply to comment #4)
> Thanks for your help...
> 
> I was able to fix the problem.  Apparently for some reason qt4-qtscript is
> not a required dep for amarok.  I ran "sudo zypper install qt4-qtscript*"
> and now it is fetching lyrics correctly from both scripts.

Please notify your distribution that qt4-qtscript* is a needed dependency for Amarok.