Bug 493356

Summary: org.freedesktop.dbus.errors.UnknownMethod: No such method 'readPasswordList' in interface 'org.kde.KWallet' at object path '/modules/kwalletd5' (signature 'isss')
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: Florian RICHER <florian.richer>
Component: generalAssignee: Valentin Rusu <valir>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: 6.6.0   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Florian RICHER 2024-09-19 12:41:47 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Install continue on Jetbrains
2. Check errors

OBSERVED RESULT

When i use continue on Jetbrains, i get this error :

```bash
org.freedesktop.dbus.errors.UnknownMethod: No such method 'readPasswordList' in interface 'org.kde.KWallet' at object path '/modules/kwalletd5' (signature 'isss')
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at org.freedesktop.dbus.errors.Error.getException(Error.java:111)
	at org.freedesktop.dbus.errors.Error.throwException(Error.java:138)
	at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:146)
	at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:206)
	at com.intellij.credentialStore.$Proxy180.readPasswordList(Unknown Source)
	at com.intellij.credentialStore.KWalletCredentialStore.get(linuxKWalletLibrary.kt:89)
	at com.intellij.credentialStore.NativeCredentialStoreWrapper.get(NativeCredentialStoreWrapper.kt:46)
	at com.intellij.ide.passwordSafe.impl.BasePasswordSafe.get(PasswordSafeImpl.kt:96)
	at com.github.continuedev.continueintellijextension.auth.ContinueAuthService.retrieveSecret(ContinueAuthService.kt:142)
	at com.github.continuedev.continueintellijextension.auth.ContinueAuthService.getAccessToken(ContinueAuthService.kt:155)
	at com.github.continuedev.continueintellijextension.auth.ContinueAuthService.loadControlPlaneSessionInfo(ContinueAuthService.kt:188)
	at com.github.continuedev.continueintellijextension.activities.ContinuePluginStartupActivity$initializePlugin$1.invokeSuspend(ContinuePluginStartupActivity.kt:136)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
```

EXPECTED RESULT

Works.

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-zen1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 31.1 Gio of RAM
Graphics Processor: Quadro T2000/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 20ST000BFR
System Version: ThinkPad P15 Gen 1

ADDITIONAL INFORMATION
Comment 1 Florian RICHER 2024-09-19 12:42:15 UTC
https://invent.kde.org/frameworks/kwallet/-/issues/6
Comment 2 Florian RICHER 2024-09-19 12:43:01 UTC
https://github.com/continuedev/continue/issues/2144
Comment 3 Bug Janitor Service 2024-10-18 21:15:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwallet/-/merge_requests/92
Comment 4 Nicolas Fella 2024-10-19 15:31:01 UTC
Git commit 38f293ce0b025ad30d7bc1fd5c0f8dd1d3b07c6c by Nicolas Fella.
Committed on 18/10/2024 at 21:15.
Pushed by cullmann into branch 'master'.

Don't exclude deprecated functions from build

Some of the deprecated API is part of the runtime DBus interface and might be used by older applications

M  +3    -4    CMakeLists.txt

https://invent.kde.org/frameworks/kwallet/-/commit/38f293ce0b025ad30d7bc1fd5c0f8dd1d3b07c6c