Bug 446437 - Applet misleadingly says "no vaults have been set up" instead of a real error message when kded module wasn't loaded is or crashing
Summary: Applet misleadingly says "no vaults have been set up" instead of a real error...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Vaults widget (show other bugs)
Version: 6.0.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-12-03 18:13 UTC by Nate Graham
Modified: 2025-01-15 22:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-12-03 18:13:34 UTC
My vault disappeared seemingly randomly. The applet UI says, "No vaults have been set up" which is of course false; I did set up a vault, but it has gone missing.

~/.config/plasmavalutrc says the following:

[/home/nate/.local/share/plasma-vault/Life Documentation.enc]
activities=
backend=cryfs
lastStatus=1
mountPoint=/home/nate/Vaults/Life Documentation
name=Life Documentation
offlineOnly=false

[EncryptedDevices]
/home/nate/.local/share/plasma-vault/Life Documentation.enc=true

[UI-notice]
SkipNotice-cryfs-message=false
SkipNotice-gocryptfs-message=false



One thing to note is that I compile cryfs from source  because it's not packaged in Fedora. So I'm currently using version 0.11.0. Could this be the issue?

I'm willing to admit that my own actions may be to blame here, but even so, the fact the no error message appears anywhere in the UI is really really bad. We really need to display an error in the UI somewhere if for some reason a vault becomes inaccessible. For a non-developer, this is loss of precious data.
Comment 1 Nate Graham 2021-12-03 19:20:52 UTC
Found the issue: the kded module was crashing due to unrelated other things; the built-from-source cryfs was not involved.

We should probably bubble up a sensible error message when this happens.
Comment 2 Ivan Čukić 2021-12-03 19:48:23 UTC
Is vault kded module crashing or ...?
Comment 3 Nate Graham 2021-12-03 20:11:47 UTC
Either just not loaded or crashing. Presumably if it was crashing it would also not be loaded.
Comment 4 Munzir Taha 2023-05-10 16:29:25 UTC
I am also currently facing this "No vaults have been set up" issue. I even deleted everything and started over with
rm -rf .local/share/plasma-vault/ .local/share/cryfs/ Vaults/* .config/plasmavaultrc
but still I cannot see any vault. How can I verify this is kded crashing or another issue?