Bug 407593 - org.kde.knewstuff.core: Using a deprecated location; Cannot install new KDE themes after update
Summary: org.kde.knewstuff.core: Using a deprecated location; Cannot install new KDE t...
Status: RESOLVED DUPLICATE of bug 418466
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_lookandfeel (show other bugs)
Version: 5.15.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 407867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-16 10:27 UTC by Viraat Chandra
Modified: 2020-07-15 19:25 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viraat Chandra 2019-05-16 10:27:56 UTC
SUMMARY
using `kcmshell5 kcm_lookandfeel` , the following console output is produced: 

`org.kde.knewstuff.core: Using a deprecated location for the knsrc file "lookandfeel.knsrc"  - please contact the author of the software which provides this file to get it updated to use the new location`

I found this while trying to install new look and feel themes. Using the "Get New Look and Feel Themes...". Themes were saying installed, but werent appearing in the choosing menu, and were disappearing from the "installed" tab when reopening the application. It is an installation error.

The following error message is also produced:
`org.kde.knewstuff.core: Command failed "kpackagetool5 -t Plasma/LookAndFeel -r /tmp/ELplas.tar.gz"`
For various other themes like "Crown Teal" and others.

STEPS TO REPRODUCE
1. $ kcmshell5 kcm_lookandfeel
2. Try to install new theme using "get new look and feel themes" from kde settings

OBSERVED RESULT
Theme not installed

EXPECTED RESULT
Theme should be installed

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Kernel Version: 5.1.2-arch1-1-ARCH
OS Type: 64-bit
Comment 1 Clay Weber 2019-05-16 21:50:56 UTC
I see similar results on KDE Neon User Edition, Trying to install a Look and Feel package using knewstuff, I get this output when I open the Look and Feel KCM in the terminal:

kcmshell5 kcm_lookandfeel  
org.kde.kcoreaddons: Error loading plugin "kcm_lookandfeel" "The shared library was not found." 
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
<Unknown File>:3:89: Unable to assign [undefined] to double
org.kde.knewstuff.core: Using a deprecated location for the knsrc file "lookandfeel.knsrc"  - please contact the author of the software which provides this file to get it updated to use the new location
QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("https://autoconfig.kde.org/ocs/providers.xml")
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap

Many more lines of the above happen, then when I select a theme to install, I get this line:

org.kde.knewstuff.core: Command ' "kpackagetool5 -t Plasma/LookAndFeel -i /tmp/Sweet.tar.gz" ' failed with code 4


The installer acts like it is installing the theme, and marks it as installed, but it is not, as there are no files or related directories to be found in ~/.local/share/plasma.
Comment 2 Patrick Silva 2019-05-24 18:41:27 UTC
*** Bug 407867 has been marked as a duplicate of this bug. ***
Comment 3 csanders 2019-12-01 15:36:50 UTC
I'm also experiencing this exact same issue.

[someuser@main:/nix/store]$ kcmshell5 kcm_lookandfeel
org.kde.kcoreaddons: Error loading plugin "kcm_lookandfeel" "The shared library was not found." 

Plugin search paths are ("/run/wrappers/lib/qt-5.12.5/plugins", "/home/someuser/.nix-profile/lib/qt-5.12.5/plugins", "/etc/profiles/per-user/someuser/lib/qt-5.12.5/plugins", "/nix/var/nix/profiles/default/lib/qt-5.12.5/plugins", "/run/current-system/sw/lib/qt-5.12.5/plugins", "/nix/store/gpdiznl28xam06gg1c8p14b3qkyqc5k9-kde-cli-tools-5.16.5/lib/qt-5.12.5/plugins", "/nix/store/faw0449xxjjcw1j2m7iirsri9nbd4mwq-plasma-workspace-5.16.5/lib/qt-5.12.5/plugins", "/nix/store/m12sns9z9ipydnqid343v43ii8vp5bmr-qtlocation-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/gjgxk2rk6m4fvlm5gig4k03kn3l92j8z-libkscreen-5.16.5/lib/qt-5.12.5/plugins", "/nix/store/nxmnp3yi6qjirg3l1i3d99dz7w679zwr-kwin-5.16.5-bin/lib/qt-5.12.5/plugins", "/nix/store/q14xnasq49j4gcfr12dmca0kib8p59qa-breeze-qt5-5.16.5-bin/lib/qt-5.12.5/plugins", "/nix/store/iqgrci5a2zdikxwa1p8bg8jszxj1sf1f-frameworkintegration-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/v9zhg3nxpiilizphcs2x5jz401hp56zz-qtsensors-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/amm5f2r4r9d9z0yfx31942vrb1ffrj6m-ktexteditor-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/pc1i1cg9d383cgplqvj4bh5avwghfa7i-kscreenlocker-5.16.5/lib/qt-5.12.5/plugins", "/nix/store/08p08saxps432j8n4sg1ya4lzshkm5rg-plasma-framework-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/v410qpdq4zx8zmg0h2i665k0695xj7n1-kdelibs4support-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/19hr0pvx8bmz2v5g1g7sqhsjnilhrx7c-kemoticons-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/zf681i7bin9zryakdi25rspyh650pdd0-kplotting-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/i6zdnmmm2979ljn8y2gmmjvpswxlq9h4-baloo-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/149nrgpppjsd2zbmf23sfq98yjyr1scc-kidletime-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/f9kdv32is1bpd2dq9rbi8dnwn7v1bcq2-kfilemetadata-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/2gighvgicgvhc4a345jiyxqq8yagxic8-qtmultimedia-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/ybpiin7l6x7sfr4675pp3l8br9g5vfs4-kio-5.62.1/lib/qt-5.12.5/plugins", "/nix/store/yh15wc64wql0ngxj2b5wbb0abc6nlrpy-phonon-4.11.1/lib/qt-5.12.5/plugins", "/nix/store/pgc600fmdzsnjsprkpc5h2q9hn0vvwmb-kxmlgui-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/fbjz1rpklzss1f2qlidrhh5bij73by3n-ktextwidgets-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/jk0nswybsmnwadfrvbmk22m09gmic1bc-kcompletion-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/wbjqg1sfbfmzma4rl5lhf8gpv57yhf3x-sonnet-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/y4lhh96is5ffx8qlfwlwlb54j81aaz3c-kiconthemes-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/dnhwgfdbhrrmc0hhhfsvbva68r3252w2-kitemviews-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/5n8n9nq4kp6psjlpi7l8yn14fww5mmpw-kglobalaccel-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/fcsrmhz3f2zz14h9xv78m9zs59qg7bm5-kwindowsystem-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/8ch6z2prfyi4vh38027jhiib9gs1lcpd-kguiaddons-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/rfmz5x74ps63icwlf23wfdgp7kahjdgb-kwidgetsaddons-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/v7ykrnkrzv3c63iws642vfz3wfykplhl-kauth-5.62.0/lib/qt-5.12.5/plugins", "/nix/store/qi919fg01nz8ginirlnikgdz14hd841p-kconfigwidgets-5.62.0-dev/lib/qt-5.12.5/plugins", "/nix/store/2vzsa01nbribq5c40ykn6f7pj2w40h5n-ki18n-5.62.0-bin/lib/qt-5.12.5/plugins", "/nix/store/z2fj1l0izzvvz17sq8gj5f6alc660v20-qtwayland-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/wn89bd30fs19jar3ajgq6y1a90dnp0yr-qtdeclarative-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/bxx9nmgbh2fwgbicsf2zff8248pyxgx8-qtsvg-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/793z3xidrkd412ddidmf2n6ssq37q9jc-qtbase-5.12.5-bin/lib/qt-5.12.5/plugins", "/nix/store/1wgnjxj4qqisdc42bqbz1x5474pfqgl9-konsole-19.08.2/lib/qt-5.12.5/plugins", "/nix/store/gpdiznl28xam06gg1c8p14b3qkyqc5k9-kde-cli-tools-5.16.5/bin") 

The environment variable QT_PLUGIN_PATH might be not correctly set
file:///nix/store/39mnyfb4y46689wjiyghbymks786d9sl-kdeclarative-5.62.0-bin/lib/qt-5.12.5/qml/org/kde/kcm/GridView.qml:53: TypeError: Value is null and could not be converted to an object
file:///nix/store/g5vq3q265aby00jlaa13d5mzaqhwivsm-kirigami2-5.62.0/lib/qt-5.12.5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:136: TypeError: Value is undefined and could not be converted to an object

org.kde.knewstuff.core: Command ' "kpackagetool5 -t Plasma/LookAndFeel -i /tmp/Aritim-Dark-KDE-master.zip" ' failed with code 4


[someuser@main:/nix/store]$ kpackagetool5 -t Plasma/LookAndFeel -i /tmp/Aritim-Dark-KDE-master.zip
Error: Installation of /tmp/Aritim-Dark-KDE-master.zip failed: Could not install dependency: 'kns://wallpaper.knsrc/api.kde-look.org/1291306'



Seems like it could be related to https://forum.kde.org/viewtopic.php?t=138995

SOFTWARE/OS VERSIONS
Operating System: NixOS 19.09
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Kernel Version: 4.19.86
OS Type: 64-bit
Comment 4 Alexander Lohnau 2020-07-15 18:43:32 UTC
Is this still an issue? I tried this out and it works for me.
Comment 5 Patrick Silva 2020-07-15 19:21:56 UTC
I can't reproduce with "Crown Teal" and "ELPlas" global themes at least.

Operating System: Arch Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Comment 6 Alexander Lohnau 2020-07-15 19:25:04 UTC
Okay, then this was fixed with https://invent.kde.org/frameworks/knewstuff/-/commit/3f38da8a70d8101d8fda586c28c4c8cd64d68daa.

*** This bug has been marked as a duplicate of bug 418466 ***