Open eeickmeyer opened 2 hours ago
Thanks for the report! I'm not facing this on Kubuntu 24.10 with the same revision of snapcraft you have. I don't have gnome-keyring
installed either. Could you list the packages you have?
I do think that python-dbus
would probably fix this for you, but I'd like to find the underlying difference between our machines that's causing this.
Could you list the packages you have?
Alex, my friend, that was an excellent way to literally crash a Github page because, well, I tried to paste that in a code box. :rofl:
Instead, here's a text doc attachment that is sure not to crash it. We're talking Ubuntu Studio here. We ship... packages. :laughing:
That was my secret plan all along! 😜
My first guess in the difference is the plasma-secrets
package - not sure whether I installed it manually or not, but I have it installed. If that's what it is maybe we should ask the Kubuntu team to include it in the next release in addition to adding python-dbus to the snap. @mr-cal any reason you can think of not to include python-dbus
?
My first guess in the difference is the
plasma-secrets
package - not sure whether I installed it manually or not, but I have it installed.
Not sure how you have that installed because apt search plasma-secrets
returns null and apt install plasma-secrets
gives me
$ sudo apt install plasma-secrets
Error: Unable to locate package plasma-secrets
There's some strange magic you have going on there Mr. Lowe. :suspect: :grin:
Bug Description
When Kwallet is default keyring, snapcraft throws an error that
python-dbus
is not installed. I assume, therefore, thatpython-dbus
is not included in the snap and therefore it is unable to communicate with dbus in the system.To Reproduce
Install snapcraft
snap install snapcraft
on Kubuntu or Ubuntu Studio Attemptsnapcraft login
or any other item where snapcraft requires access to the system keyring Most of the time* it will fail with:*I say most of the time because this is inconsistent between installations, but this happened on a clean install I did to alleviate any error on my part. I have a separate upgraded install where it worked, but this is reproducible 100% of the time on the clean install.
Environment
Running on Ubuntu Studio 24.10, but this has happened under 24.04 LTS as well.
snapcraft.yaml
Relevant log output
Additional context
I believe this can be alleviated by simply including
python-dbus
in the snapcraft snap, but this is theory.