Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915602 - net-im/nheko: fails to launch after install on account of failure to connect to secure storage
Summary: net-im/nheko: fails to launch after install on account of failure to connect ...
Status: RESOLVED INVALID
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tastytea
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 18:32 UTC by Seth
Modified: 2023-10-12 12:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seth 2023-10-11 18:32:16 UTC
Succesfully installed nheko using guru overlay however it will not launch. Here is the pop-up error message that appears after launching the app:

"Nheko could not connect to the secure storage to save encryption secrets to. This can have multiple reasons. Check if your D-Bus service is running and you have configured a service like KWallet, Gnome Keyring, KeePassXC or the equivalent for your platform. If you are having trouble, feel free to open an issue here: https://github.com/Nheko-Reborn/nheko/issues"

Clicking the close button also closes the Nheko app.

Console output

```
nheko 
[2023-10-11 11:24:01.286] [ui] [info] Restoring window size 0x0
[2023-10-11 11:24:01.309] [ui] [info] Loaded jdenticon plugin.
[2023-10-11 11:24:01.446] [ui] [info] starting nheko 0.11.3
[2023-10-11 11:24:01.454] [ui] [info] User already signed in, showing chat page
[2023-10-11 11:24:01.455] [ui] [info] Switching to chat page
[2023-10-11 11:24:01.506] [qml] [warning] qrc:/qml/TopBar.qml:234:13: QML AbstractButton: Binding loop detected for property "implicitWidth" (qrc:/qml/TopBar.qml:234, )
[2023-10-11 11:24:01.506] [qml] [warning] qrc:/qml/TopBar.qml:241:30: QML EncryptionIndicator: Binding loop detected for property "sourceSize.height" (qrc:/qml/TopBar.qml:241, )
[2023-10-11 11:24:01.524] [ui] [info] Unity service available: false
[2023-10-11 11:24:01.531] [qml] [warning] qrc:/qml/ChatPage.qml:105:17: QML RoomList: Binding loop detected for property "implicitWidth" (qrc:/qml/ChatPage.qml:105, )
[2023-10-11 11:24:01.531] [qml] [warning] qrc:/qml/ChatPage.qml:105:17: QML RoomList: Binding loop detected for property "implicitWidth" (qrc:/qml/ChatPage.qml:105, )
[2023-10-11 11:24:01.589] [db] [error] Restoring secret 'nheko.47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=.pickle_secret' failed (7): Unknown error
```
Comment 1 tastytea 2023-10-11 18:45:52 UTC
hi! usually your desktop environment is responsible for starting a secure storage service. if you don't use a desktop environment you are responsible. the ebuild can only make sure one is installed. ๐Ÿ˜Š

as this seems to be a general problem with your setup unrelated to nheko, i would suggest asking for help in the IRC channels, web forums or mailing lists: <https://www.gentoo.org/support/>. there is also the unofficial matrix room #gentoo:matrix.org <https://matrix.to/#/%23gentoo%3Amatrix.org?via=matrix.org&via=tchncs.de&via=envs.net> if you prefer that.

if a secure storage service is running and working for other software, please contact the Nheko devs (for example in the matrix room #nheko:nheko.im <https://matrix.to/#/%23nheko%3Anheko.im?via=neko.dev&via=matrix.org&via=envs.net>) instead.
Comment 2 Seth 2023-10-11 18:50:58 UTC
Related nheko github issue https://github.com/Nheko-Reborn/nheko/issues/1459

On my gentoo system I have recently updated world and after that for some reason nheko can no longer access gnome-keyring. It used to work fine but I am not sure what happened to the underlying package to cause it to no longer work. I know that the gnome-keyring daemon is working as I can access and open the keyring using seahorse. I am running Hyprland currently.

@deepbluev7
Member
deepbluev7 commented on May 18
The keyring useflag got renamed. It is "keyring" now, not "gnome-keyring" (on qtkeychain).

@notmentaloutlaw
Author
notmentaloutlaw commented on May 19
Thanks this solved the issue
Comment 3 tastytea 2023-10-11 19:02:52 UTC
yes, if you use a secret storage service other than kwallet you need to install dev-libs/qtkeychain with the โ€œkeyringโ€ USE-flag. you should have gotten a message about that after installation.
Comment 4 tastytea 2023-10-12 12:26:05 UTC
closing this as it seems to have nothing to do with the nheko ebuild. feel free to reopen if you think otherwise.