With the config in place to hard-prefer gnome-keyring-daemon
git ubuntu throws this error:
$ git ubuntu submit --reviewer canonical-server-packageset-reviewers --target-branch ubuntu/hirsute-devel
Traceback (most recent call last):
File "/snap/git-ubuntu/483/usr/bin/git-ubuntu", line 11, in <module>
load_entry_point('gitubuntu==1.0', 'console_scripts', 'git-ubuntu')()
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/gitubuntu/__main__.py", line 269, in main
sys.exit(args.func(args))
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/gitubuntu/submit.py", line 75, in cli_main
return main(
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/gitubuntu/submit.py", line 178, in main
lp = launchpad_login_auth()
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/gitubuntu/source_information.py", line 82, in launchpad_login_auth
_LP_LOGIN_AUTH = LP.login_with('git-ubuntu-importer', _lp_service,
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 564, in login_with
return cls._authorize_token_and_login(
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 370, in _authorize_token_and_login
cached_credentials = credential_store.load(
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 336, in load
return self.do_load(unique_key)
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 411, in do_load
self._ensure_keyring_imported()
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 379, in _ensure_keyring_imported
import keyring
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/__init__.py", line 3, in <module>
from .core import (
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/core.py", line 189, in <module>
init_backend()
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/core.py", line 97, in init_backend
or load_config()
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/core.py", line 176, in load_config
return load_keyring(keyring_name)
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/core.py", line 137, in load_keyring
class_.priority
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/util/properties.py", line 26, in __get__
return self.fget.__get__(None, owner)()
File "/snap/git-ubuntu/483/usr/lib/python3/dist-packages/keyring/backends/SecretService.py", line 30, in priority
raise RuntimeError("SecretStorage required")
RuntimeError: SecretStorage required
That is very interesting!
Could it be that with 20.04 things were split and we just need to make sure that the snap has "python3-secretstorage"?
I don't see it in snap/snapcraft.yaml nor in setup.py
I tried to modify and test, but snapcraft fails my build of git-ubuntu :-/
Could you provide me a version with python3-secretstorage for a try?
With the config in place to hard-prefer gnome-keyring- daemon
git ubuntu throws this error:
$ git ubuntu submit --reviewer canonical- server- packageset- reviewers --target-branch ubuntu/ hirsute- devel git-ubuntu/ 483/usr/ bin/git- ubuntu" , line 11, in <module> entry_point( 'gitubuntu= =1.0', 'console_scripts', 'git-ubuntu')() git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ gitubuntu/ __main_ _.py", line 269, in main exit(args. func(args) ) git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ gitubuntu/ submit. py", line 75, in cli_main git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ gitubuntu/ submit. py", line 178, in main login_auth( ) git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ gitubuntu/ source_ information. py", line 82, in launchpad_ login_auth with('git- ubuntu- importer' , _lp_service, git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ launchpadlib/ launchpad. py", line 564, in login_with token_and_ login( git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ launchpadlib/ launchpad. py", line 370, in _authorize_ token_and_ login credentials = credential_ store.load( git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ launchpadlib/ credentials. py", line 336, in load load(unique_ key) git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ launchpadlib/ credentials. py", line 411, in do_load _ensure_ keyring_ imported( ) git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ launchpadlib/ credentials. py", line 379, in _ensure_ keyring_ imported git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ __init_ _.py", line 3, in <module> git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ core.py" , line 189, in <module> git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ core.py" , line 97, in init_backend git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ core.py" , line 176, in load_config keyring_ name) git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ core.py" , line 137, in load_keyring git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ util/properties .py", line 26, in __get__ __get__ (None, owner)() git-ubuntu/ 483/usr/ lib/python3/ dist-packages/ keyring/ backends/ SecretService. py", line 30, in priority "SecretStorage required")
Traceback (most recent call last):
File "/snap/
load_
File "/snap/
sys.
File "/snap/
return main(
File "/snap/
lp = launchpad_
File "/snap/
_LP_LOGIN_AUTH = LP.login_
File "/snap/
return cls._authorize_
File "/snap/
cached_
File "/snap/
return self.do_
File "/snap/
self.
File "/snap/
import keyring
File "/snap/
from .core import (
File "/snap/
init_backend()
File "/snap/
or load_config()
File "/snap/
return load_keyring(
File "/snap/
class_.priority
File "/snap/
return self.fget.
File "/snap/
raise RuntimeError(
RuntimeError: SecretStorage required
That is very interesting! secretstorage" ?
Could it be that with 20.04 things were split and we just need to make sure that the snap has "python3-
I don't see it in snap/snapcraft.yaml nor in setup.py
I tried to modify and test, but snapcraft fails my build of git-ubuntu :-/ secretstorage for a try?
Could you provide me a version with python3-