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

wikipedia tab no longer retrieves data

Tags: None
(comma "," separated)
x34460
Registered Member
Posts
1
Karma
0
amarok v. 1.4.10 release date 10/13/08
using ubuntu ibex.
googlelyrics2 script fetches lyrics just fine but the wikipedia tab does not work at all. when it does something, it just shows a list of "other languages" to choose from. clicking on any of them just shows another list of other languages, including english.

please advise.
fanfani
Registered Member
Posts
1
Karma
0
i can confirm this issue on three machines i have with different linux distros installed
(slackware 12.1 / slackware 12/2 / debian lenny - amarok 1.4.xx)

clicking on "open with ext browser"works

...strange

Last edited by fanfani on Mon Jan 19, 2009 3:37 pm, edited 1 time in total.
User avatar
zonker
Registered Member
Posts
5
Karma
0
i can confirm this on my box
running Linux 2.6.28-1.slh.1-sidux-amd64 x86_64 [ sidux 2008-04 Πόντος - kde-full - (200812222147) ]
amarok 1.4.10, kde 3.5.10
fedderico10
Registered Member
Posts
1
Karma
0
i have that same problem on amarok 1.4.10! does it concern to amarok 2 users?
chuchurock
Registered Member
Posts
1
Karma
0
I have the same problem with amarok 1.4.3 on eeepc 900 with default xandros installed.
keep up the good work, tnx!
arkroyal
Registered Member
Posts
9
Karma
0
Can also confirm that the Wikipedia Artist tab does not work with 1.4.10 and KDE 3.5.10. Cannot pinpoint at which point it stopped working. Would like to get it working again as I really like the feature.
lewulff
Registered Member
Posts
6
Karma
0
This bug, at least for older versions of Amarok will probably have to be fixed at the distribution level, as the distro will need to recompile their binaries for what ever earlier version of Amarok used.

I filed a bug report with Debian explaining this behavior. You can read it here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512602

Or you can try to compile the source code, which was an interesting challenge in its own right.

Lee
JBstrikesagain
Registered Member
Posts
1
Karma
0
I'm hitting this bug on Debian Lenny/testing as well

amarok 1.4.10-2

Annoying even though I don't use the feature that often. The fix seems relatively easy for a maintainer to implement.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
The explanation:

Unfortunately, Wikipedia doesn't provide an API so we have to read the HTML code directly from the website. Screen scraping is not reliable when they change their design and that's what happened. Would really be nice to have an API, so don't hesitate to ask Wikipedia to provide one to avoid these problems in the future.

The solution:

There is a fix for it in SVN, ask your distribution to build a package for you!


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Helge
Registered Member
Posts
3
Karma
0
OS
Is there a bug number for the fix in SVN? A URL to the bug and/or fix?
There is a bug on this in Ubuntu Launchpad, and I'm sure they are interested in all upstream info. https://bugs.launchpad.net/ubuntu/+sour ... bug/316140
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Here's the patch:


M  +1 -1      contextbrowser.cpp


--- branches/stable/extragear/multimedia/amarok/src/contextbrowser.cpp #917749:917750
@@ -4189,7 +4189,7 @@
    }

    // Ok lets remove the top and bottom parts of the page
-    m_wiki = m_wiki.mid( m_wiki.find( "

" ) );
+    m_wiki = m_wiki.mid( m_wiki.find( "

    m_wiki = m_wiki.mid( 0, m_wiki.find( "
" ) );
    // Adding back license information
    m_wiki += copyright;


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]