<div dir="ltr"><div>Dear KDE Developers,</div><div><br></div><div>I'm Ferencz Kovacs and I'm currently working on LabPlot for GSOC 2019. My project is <a href="https://summerofcode.withgoogle.com/dashboard/project/6436659309051904/overview/" target="_blank">here</a>. 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 <a href="https://techbase.kde.org/Development/Tutorials/Collaboration/HotNewStuff/Upload" target="_blank">here.</a> 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 <span class="m_-3725728526745746046gmail-gt-baf-term-text"><span class="m_-3725728526745746046gmail-gt-baf-cell m_-3725728526745746046gmail-gt-baf-word-clickable">profound. Then I started to analyze the source code of KNS3, in hope of finding an answer.</span></span> The upload category
 names are read from the .knsrc config file <a href="https://api.kde.org/frameworks/knewstuff/html/uploaddialog_8cpp_source.html?fbclid=IwAR0PriT1psbKulIUA6auilgjbp9O_C2_B-nvoF1GoqKQrJy43JqTBY6zYrg#l00112" target="_blank">here.  </a>The categories are gonna be loaded based on this, <a href="https://api.kde.org/frameworks/knewstuff/html/uploaddialog_8cpp_source.html?fbclid=IwAR0GCNbHX5wiDVSmn4vx2SFP_AyVDAJhFCxm5syjz8BeuZExk-hiMtu6OvM#l00341" target="_blank">here</a>.  Then <a href="https://api.kde.org/4.x-api/kdelibs-apidocs/knewstuff/html/atticahelper_8cpp_source.html?fbclid=IwAR1Xwhj8-fyVjk6QFZkv-JarQe7E6AhHW1gY7onzXPtv9_Tqz9JQ3eBL5Jo#l00107" target="_blank">this</a>
 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: <a href="https://api.kde.org/4.x-api/kdelibs-apidocs/knewstuff/html/atticahelper_8cpp_source.html?fbclid=IwAR3a42r-F8ULH91rV2cLVRC_htr_4bkGXbFKli2jBhGluagstuMuufly0RQ#l00126" target="_blank">here.</a>If  it can be found, then it's gonna be added to the valid categories. <a href="https://api.kde.org/frameworks/knewstuff/html/uploaddialog_8cpp_source.html?fbclid=IwAR1Ae7diQAF0DZOrvoY9vxwAzr7Os66lw2HiFzhCh0U1PPxkSxSqRNVpIqU#l00567" target="_blank">Here</a>
 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.</div><div><br></div><div>Yours sincerely,</div><div>Ferencz Kovacs<br></div></div>