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

Wikipedia widget not showing anything

Tags: None
(comma "," separated)
User avatar
google01103
Manager
Posts
6668
Karma
25
searched here and Google and did not find a usable solution

en.wikipedia.org is shown in lyric results

similar artists, lyrics and videos widgets work fine
issue exists for other user

running amarok-2.3.1-3.5.x86_64 and this has been an issue for a while


konqueror sends an id string (forum thread)
there's nothing in ~/.xsessions when amarok started with --debug, suggestion made in thread to look for http errors

running with debug shows (though not all together):
amarok: wiki url: "http://en.wikipedia.org/w/index.php?title=Allen%20Toussaint%20%28band%29&useskin=monobook"
amarok: BEGIN: void WikipediaEngine::update()
amarok: BEGIN: bool EngineController::isStream()
amarok: END__: bool EngineController::isStream() - Took 3.2e-05s
amarok: wiki url: "http://en.wikipedia.org/w/index.php?title=Allen%20Toussaint%20%28band%29&useskin=monobook"
amarok: END__: void WikipediaEngine::update() - Took 0.0033s
amarok: BEGIN: void WikipediaEngine::wikiResult(KJob*)
amarok: END__: void WikipediaEngine::wikiResult(KJob*) - Took 0.00016s


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try running "kdebugdialog" and enabled the "kio_http" area, then testing again. The output should be into ~/.xsession-errors.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
nothing appears in ~/.xsession-errors (tested both with and without debug option in Amarok)

but there is this message from when when in konsole:
QWidget::setMinimumSize: (/QWidget) Negative sizes (224,-15) are not possible


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please try logging out and logging back in? There should be at least some messages from "kio_http" present there since Amarok uses KIO...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
I ran kdedebugdialog and didn't see anything obvious in the log

BUT I did find one album/artist that actually worked for me (Modest Mouse), but still none of the others attempted did

this is what I think might be the relevant xsessions-errors for 2 diff artists:

=== Modest Mouse - wiki widget displays information ====================
"http://en.wikipedia.org/w/index.php?title=Modest%20Mouse%20%28band%29&useskin=monobook"
kio_http(24199)/kio_http_debug HTTPProtocol::maybeSetRequestUrl: "http://www.dailymotion.com/rss/rated/search/Modest%20Mouse%20Horn%20Intro"
kio_http(24212)/kio_http_debug HTTPProtocol::maybeSetRequestUrl: "http://en.wikipedia.org/w/index.php?title=Modest%20Mouse%20%28band%29&useskin=monobook"
kio_http(24199)/kio_http_debug HTTPProtocol::resetSessionSettings: Using proxy: false URL: ""
kio_http(24212)/kio_http_debug HTTPProtocol::resetSessionSettings: Using proxy: false URL: ""
kio_http(24199)/kio_http_debug HTTPProtocol::resetSessionSettings: Window Id = ""
kio_http(24199)/kio_http_debug HTTPProtocol::resetSessionSettings: ssl_was_in_use = ""
kio_http(24212)/kio_http_debug HTTPProtocol::resetSessionSettings: ssl_was_in_use = ""
kio_http(24199)/kio_http_debug HTTPProtocol::proceedUntilResponseContent:
kio_http(24199)/kio_http_debug HTTPProtocol::proceedUntilResponseHeader:
kio_http(24199)/kio_http_debug HTTPProtocol::sendQuery:
kio_http(24199)/kio_http_debug HTTPProtocol::satisfyRequestFromCache:
kio_http(24212)/kio_http_debug HTTPProtocol::satisfyRequestFromCache:
============ Charlie Haden - nothing in wiki widget =========================
"http://en.wikipedia.org/w/index.php?title=Charlie%20Haden%20%28band%29&useskin=monobook"
kio_http(24212)/kio_http_debug HTTPProtocol::maybeSetRequestUrl: "http://en.wikipedia.org/w/index.php?title=Charlie%20Haden%20%28band%29&useskin=monobook"
kio_http(24212)/kio_http_debug HTTPProtocol::resetSessionSettings: Using proxy: false URL: ""
kio_http(24212)/kio_http_debug HTTPProtocol::resetSessionSettings: Window Id = ""
kio_http(24212)/kio_http_debug HTTPProtocol::resetSessionSettings: ssl_was_in_use = ""
kio_http(24212)/kio_http_debug HTTPProtocol::proceedUntilResponseContent:
kio_http(24212)/kio_http_debug HTTPProtocol::proceedUntilResponseHeader:
kio_http(24212)/kio_http_debug HTTPProtocol::sendQuery:
kio_http(24212)/kio_http_debug HTTPProtocol::satisfyRequestFromCache:
kio_http(24212) HTTPProtocol::sendQuery: Sending Header:
kio_http(24212) HTTPProtocol::sendQuery: "GET /w/index.php?title=Charlie%20Haden%20%28band%29&useskin=monobook HTTP/1.1"
kio_http(24212) HTTPProtocol::sendQuery: "Host: en.wikipedia.org"
kio_http(24212) HTTPProtocol::sendQuery: "Connection: Keep-Alive"
kio_http(24212) HTTPProtocol::sendQuery: "User-Agent: Mozilla/5.0 (compatible; Konqueror/4.4) KHTML/4.4.90 (like Gecko) SUSE"
kio_http(24212) HTTPProtocol::sendQuery: "Pragma: no-cache"
kio_http(24212) HTTPProtocol::sendQuery: "Cache-control: no-cache"
kio_http(24212) HTTPProtocol::sendQuery: "Accept: text/html, image/jpeg;q=0.9, image/png;q=0.9, text/*;q=0.9, image/*;q=0.9, */*;q=0.8"
kio_http(24212) HTTPProtocol::sendQuery: "Accept-Encoding: x-gzip, x-deflate, gzip, deflate"
kio_http(24212) HTTPProtocol::sendQuery: "Accept-Charset: utf-8, utf-8;q=0.5, *;q=0


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It appears that it worked when it had the page cached, but not when retrieving it live... interesting.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
The instance displayed showing the retrieval from cache might not have been the first in the ~/xsession-errors file that day as I had been trying different artists and that one multiple times. FYI when playing that artist as a different user for the first time it (Modest Mouse) played properly in the wiki wwidget.

Where's the cache it retrieved if from, so I can test with it cleaned? I deleted all the usual /var/tmp and /tmp and tmp-xxxx and cache-xxx and Amarok still finds the Wiki for that artist


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The cache is stored in /var/tmp/kdecache-$USER/http I believe. You may have to log out and back in for it to have any effect however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
I logged out and cleaned all the caches (~/.kde. /tmp, /var/tmp) and get the same result, only thing showing in wiki is Modest Mouse


OpenSuse Leap 42.1 x64, Plasma 5.x

valoriez
KDE CWG
Posts
625
Karma
3
OS
Oddly enough I'm having the same issue with the Wikipedia applet, although besides Modest Mouse, I also get some other bands to pop right up - quite a variety: Death Cab for Cutie, R.E.M., Frou Frou, Radiohead, Presidents of the United States of America, Fastball, Ash, Espers, No Doubt (listening on random, to test this). The rest just look as they are loading, forever. This behavior is the same using both the vlc and xine-phonon backends. Amarok Version 2.3-GIT, using KDE 4.4.85 (KDE 4.5 Beta2)).

Valorie
User avatar
google01103
Manager
Posts
6668
Karma
25
@valoriez - Weird I have a Death Cab For Cutie and wiki doesn't show for it (note "For" has capital "F" in my collection). Don't have any of the others that work for you.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
update - as of an update I installed today wiki widget now works

amarok-2.3.1.60svn20100625-37.7.x86_64


OpenSuse Leap 42.1 x64, Plasma 5.x

valoriez
KDE CWG
Posts
625
Karma
3
OS
Interesting. I just built today, and nothing has changed. Some artists show, while the majority do not.

Same problem with lyrics, too. Sometimes they work (or reappear?), and sometimes just endlessly "load."
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Even stranger, I don't see any problems with Wikipedia at all other than those were no Wikipedia page is available (nothing we can do about), just lyrics are not always found, but that can well be a lack of popularity of some tracks I listen to. Using current Amarok 2.3.1-git.

So I wonder if this could be an individual network setting that is to blame?


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 ...


Bookmarks



Who is online

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