KNewStuff problem - GSOC 2019

Dear KDE Developers,

I'm Ferencz Kovacs and I'm currently working on LabPlot for GSOC 2019. My
project is here
I'm trying to use KNewStuff to upload and download some metadata files. For
starters I wanted to try the UploadDialog, however I was faced with a
problem. After a successful login I get this error message: "The server
does not recognize the category Labplot_Datasets to which you are trying to
upload." I followed the tutorial available here.
I tried to find out find out why was this problem happening, but the
documentation isn't really helpful in this matter, it's not very profound.
Then I started to analyze the source code of KNS3, in hope of finding an
answer. The upload category names are read from the .knsrc config file here.
categories are gonna be loaded based on this, here
Then this
function will be called. It's gonna check whether the category
included/mentioned in the config file can be found among the ones loaded
form the server: here.
it can be found, then it's gonna be added to the valid categories. Here
the uplaodDialog checks whether there are any valid categories. Which
apperantly there are not in my case, since I'm getting the Error message
box from the previous function. Do you have any ideas why does this happen?
Do I have to register the categories first somewhere? Thank you in advance.
Every tip is more than welcome.

Yours sincerely,
Ferencz Kovacs


Re: KNewStuff problem - GSOC 2019

By Nate Graham at 06/05/2019 - 16:28

On 6/5/19 7:51 AM, Ferencz Kovács wrote:
Yes, you first need to register a new category. See for example
<a href="" title=""></a>


Re: KNewStuff problem - GSOC 2019

By Alexander Semke at 06/05/2019 - 15:57

Hi Ferencz,

Let's discuss this in more details in another email thread we have on this
already and sorry for being not able to reply earlier to you there.