Bug 414826 - Failed to open KDE Wallet to read Last.fm credentials
Summary: Failed to open KDE Wallet to read Last.fm credentials
Status: REPORTED
Alias: None
Product: amarok
Classification: Applications
Component: Services/Last.fm (show other bugs)
Version: 2.9.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-12-04 13:46 UTC by NSLW
Modified: 2019-12-04 13:46 UTC (History)
3 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 NSLW 2019-12-04 13:46:07 UTC
SUMMARY
Last.fm plugin in Amarok is not able to store provided username and password in KDE Wallet.

STEPS TO REPRODUCE
1. Go to "Settings->Configure Amarok..."
2. Go to "Plugins" page
3. Select "Last.fm" checkbox to enable this plugin
4. Click on configure button for "Last.fm" plugin
5. Enter username and password
6. Click on "Test login" button
7. Click on "OK" button

OBSERVED RESULT
Question at configuration end : No KDE Wallet is running. Do you want Amarok to save it in clear text?
Error at Amarok startup: "Failed to open KDE Wallet to read Last.fm credentials"

EXPECTED RESULT
Last.fm plugin should be able to connect to KDE Wallet.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61
Qt Version: 5.12.5

ADDITIONAL INFORMATION
1) I suspect commit
https://cgit.kde.org/kwallet.git/commit/?id=dc5c7229bc4ff75506c34197da5450808c969efe
is to blame

2) After running "Amarok --debug" in terminal I get:

amarok:   BEGIN: LastFmServiceConfig::LastFmServiceConfig()
amarok(24318)/kdeui (Wallet): Couldn't start kwalletd:  "Nie można odnaleźć serwisu 'kwalletd.desktop'."
amarok:     [WARNING] [lastfm] void LastFmServiceConfig::slotWalletOpenedToRead(bool) failed to open wallet
amarok:   END__: LastFmServiceConfig::LastFmServiceConfig() [Took: 0.14s]