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

All categories are missing when trying to download themes

Tags: None
(comma "," separated)
Zafos
Registered Member
Posts
8
Karma
0
By saying theme, I mean cursors, colors, decorations, everything.
I use kubuntu 17.04.
The problem randomly appeared one day, everything was fine the previous day.
I connect to different networks, wired or wireless, all with the same result.
Browsing works fine.

I found an old thread about the same problem, but with network error code 3 and debian: https://forum.kde.org/viewtopic.php?f=18&t=97685
I don't know if I missed something in that thread that could solve my problem.

I need detailed instructions on further info needed or suggested solutions.
Thank you for your time.

EDIT: Now I'm getting all categories are missing error in gui and org.kde.knewstuff.core: Could not find category "X" in plasmashell, where X depends on what kind of theme I'm searching for, SDDM Theme for example.
I think this is a server side issue, but idk if sth can be done on our side..

Last edited by Zafos on Wed May 03, 2017 11:33 am, edited 1 time in total.
martynjy
Registered Member
Posts
6
Karma
0
Getting the same thing with both Arch Linux and openSUSE Tumbleweed.
Zafos
Registered Member
Posts
8
Karma
0
martynjy wrote:Getting the same thing with both Arch Linux and openSUSE Tumbleweed.


Damn..I feel like there must be a simple solution to this.

Have you tried the thread I linked?
martynjy
Registered Member
Posts
6
Karma
0
Yes. I also found viewtopic.php?f=67&t=137685&p=368446&hilit=add+on+installer#p368446 but not the answer.

Also tried downgrading recent upgrades:

plasma-workspace
kuiserver
kirigami2

Last edited by martynjy on Thu May 04, 2017 6:31 am, edited 1 time in total.
aholmes
Registered Member
Posts
2
Karma
0
I ran plasmashell in konsole and got
Code: Select all
org.kde.knewstuff.core: Redirected to  "https://autoconfig.kde.org/ocs/providers.xml

https://autoconfig.kde.org/ocs/providers.xml leads to https://api.kde-look.org the connection either refuses for me or times out.
Zafos
Registered Member
Posts
8
Karma
0
aholmes wrote:I ran plasmashell in konsole and got
Code: Select all
org.kde.knewstuff.core: Redirected to  "https://autoconfig.kde.org/ocs/providers.xml

https://autoconfig.kde.org/ocs/providers.xml leads to https://api.kde-look.org the connection either refuses for me or times out.


What does this mean? Do you have the same problem? What's your distro? I don't even know how to run plasmashell :p I assume it's being used constantly and through a command you can see the log during the error...When I type plasmashell in terminal nothing happens and man has no entry for it.

Sorry for the noobish questions..

Should https://api.kde-look.org work? I try to browse to it, but it doesn't work.
Am I correct to understand https://autoconfig.kde.org/ocs/providers.xml is a file on the net?
How could we circumvent api.kde-look.org or https://autoconfig.kde.org/ocs/providers.xml and go str8 to store.kde.org? Maybe this would solve the issue.
aholmes
Registered Member
Posts
2
Karma
0
Zafos wrote:
aholmes wrote:I ran plasmashell in konsole and got
Code: Select all
org.kde.knewstuff.core: Redirected to  "https://autoconfig.kde.org/ocs/providers.xml

https://autoconfig.kde.org/ocs/providers.xml leads to https://api.kde-look.org the connection either refuses for me or times out.


What does this mean? Do you have the same problem? What's your distro? I don't even know how to run plasmashell :p I assume it's being used constantly and through a command you can see the log during the error...When I type plasmashell in terminal nothing happens and man has no entry for it.

Sorry for the noobish questions..

Should https://api.kde-look.org work? I try to browse to it, but it doesn't work.
Am I correct to understand https://autoconfig.kde.org/ocs/providers.xml is a file on the net?
How could we circumvent api.kde-look.org or https://autoconfig.kde.org/ocs/providers.xml and go str8 to store.kde.org? Maybe this would solve the issue.


Kubuntu 17.04 and yes, I do have the same issue when I wanted to download redshift.
To see the error message for you self, kill plasmashell and then run plasmashell in konsole.
https://autoconfig.kde.org/ocs/providers.xml tells plasma-addon to go to api.kde-look.org, but the link is not working.
Zafos
Registered Member
Posts
8
Karma
0
aholmes wrote:To see the error message for you self, kill plasmashell and then run plasmashell in konsole.


Well, that's strange...it gives me no error message. I see messages just fine when I open windows and stuff though.

Here are some relevant links:
https://www.mail-archive.com/kde-bugs-d ... 11727.html
https://www.mail-archive.com/kde-bugs-d ... 04767.html
https://askubuntu.com/questions/758600/ ... -16-04-lts
https://bugs.launchpad.net/ubuntu/+sour ... ug/1610665

The last one is especially promising. I think if we do this or sth similar we're golden:
I grabbed a copy of providers.xml and installed it in an apache2 /var/www/html folder,
modified the ProvidersUrl to point to it on http://localhost... and then it worked just fine.


EDIT: I don't know how to do this. Or how to switch to store.kde.org.
EDIT: When I try offline, the error shown says the https://autoconfig.kde.org/ocs/providers.xml can't be accessed. So it's not like the system can't reach it. So I assume I have the same problem, although plasmashell doesn't show it to me. They must have switched that file serverside, cause it used to work just recently :/
EDIT: Some try to go to http://downloads.kde.org/ocs/providers.xml, but succesfully redirect to https://autoconfig.kde.org/ocs/providers.xml, as confirmed by plasmashell.
Zafos
Registered Member
Posts
8
Karma
0
I used
Code: Select all
sudo grep -nir 'ProvidersUrl='
to find files with that string in them. Currently it's stuck and I've found some files .knsrc files in /usr/share/kde4/config

In them I change the line
ProvidersUrl=http://download.kde.org/ocs/providers.xml
to
ProvidersUrl=https://store.kde.org/ocs/providers.xml

When I try to get new icons having changed the isons.knsrc file for example, I still get redirected from http://download.kde.org/ocs/providers.xml to https://autoconfig.kde.org/ocs/providers.xml

This means the change in these files does nothing, it may have sth to do with them starting with the line
[KNewStuff3]

In one of the links I mentioned, knewstuff4 is mentioned, so maybe these are older files not being used...but then where are the new ones and why is my grep stuck..
Zafos
Registered Member
Posts
8
Karma
0
Ok, so I found the proper files, they are in the /etc/xdg folder

This is what I've tried to change the ProvidersUrl= http://download.kde.org/ocs/providers.xml line to:

ProvidersUrl= https://autoconfig.kde.org/ocs/providers.xml
Same error, as expected. After all some files have that line instead of the above. So it's not a problem of redirecting, as expected from plasmashell feedback.

ProvidersUrl= https://store.kde.org/ocs/providers.xml
I expected this to work, but it in the gui it says All categories are missing and in plasmashell org.kde.knewstuff.core: Could not find category "KDE Icon Theme"
It may or may not work for other files, but I expect a solution that works for all..

ProvidersUrl= file:///apache2/var/www/html/providers.xml
I created a custom providers xml file and copied the contents of https://autoconfig.kde.org/ocs/providers.xml in it. Same error as in using https://autoconfig.kde.org/ocs/providers.xml

ProvidersUrl= file:///apache2/var/www/html/providers.xml
I created a custom providers xml file and copied the contents of https://store.kde.org/ocs/providers.xml in it. Same error as in using https://store.kde.org/ocs/providers.xml

So it seems the solution does not lie within usinghttps://store.kde.org/ocs/providers.xml or a local url...

At least I found the files that respond to change and now it is just a matter of why the url isn't working...
Where can I find more info on that network error code (4) I wonder...
bburroughs
Registered Member
Posts
1
Karma
0
Getting the same error myself on Linux Mint 18.1 KDE, was getting the network error (.4) but the last 2 days it says all categories are missing
Annoying have ghost theme on my desktop, want to install it on my laptop


Image
martynjy
Registered Member
Posts
6
Karma
0
bburroughs wrote:Getting the same error myself on Linux Mint 18.1 KDE, was getting the network error (.4) but the last 2 days it says all categories are missing
Annoying have ghost theme on my desktop, want to install it on my laptop


Image

Yes, I've just had an upgrade of appstream amongst others in both Arch Linux and openSUSE Tumbleweed and Network error.(4) has been replaced with All categories are missing error!

As far as your ghost theme. You should be able to install it directly from the KDE Store website.
User avatar
Rog131
Registered Member
Posts
828
Karma
10
KDE Forums / Neon: viewtopic.php?f=309&t=140135&p=375684#p375684
acheronuk:

A problem with the server, not user's installations or distos.

See: https://phabricator.kde.org/T6036
martynjy
Registered Member
Posts
6
Karma
0
Thank you acheronuk.
Zafos
Registered Member
Posts
8
Karma
0
Finally...some proper error messages would have been nice, like the service is currently under maintenance or sth..

I hope I've marked the topic solved correctly.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell