Package: python3-launchpadlib Version: 1.10.5-1 Severity: normal This may just happen with python3-keyrings.alt, I haven't tried with other backends.
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 308, in get_token_and_login credential_store, credential_save_failed, version) File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 356, in _authorize_token_and_login credentials = authorization_engine(credentials, credential_store) File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 551, in __call__ credential_store.save(credentials, self.unique_consumer_id) File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 306, in save raise e File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 301, in save self.do_save(credentials, unique_consumer_id) File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 383, in do_save 'launchpadlib', unique_key, serialized) File "/usr/lib/python3/dist-packages/keyring/core.py", line 47, in set_password _keyring_backend.set_password(service_name, username, password) File "/usr/lib/python3/dist-packages/keyrings/alt/file_base.py", line 128, in set_password password_encrypted = self.encrypt(password.encode('utf-8'), assoc) AttributeError: 'bytes' object has no attribute 'encode' -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.11.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-launchpadlib depends on: ii python3 3.6.3-2 ii python3-httplib2 0.9.2+dfsg-1 ii python3-keyring 10.4.0-1 ii python3-lazr.restfulclient 0.13.5-1 ii python3-lazr.uri 1.0.3-2 ii python3-oauth 1.0.1-5 ii python3-simplejson 3.12.0-1 ii python3-wadllib 1.3.2-3 python3-launchpadlib recommends no packages. Versions of packages python3-launchpadlib suggests: ii python3-pkg-resources 36.7.1-1 pn python3-testresources <none> -- no debconf information