Package: lptools
Version: 0.3.0-1
Severity: important
X-Debbugs-Cc: sudipm.mukher...@gmail.com

Dear Maintainer,

lptools fails to run and gives the following error on a fresh install of Debian 
Trixie.

Traceback (most recent call last):
  File "/usr/bin/lp-list-bugs", line 60, in <module>
    main()
  File "/usr/bin/lp-list-bugs", line 40, in main
    launchpad = config.get_launchpad("list-bugs")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lptools/config.py", line 53, in 
get_launchpad
    return Launchpad.login_with("lptools-%s" % appname, instance)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 700, in 
login_with
    return cls._authorize_token_and_login(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 445, in 
_authorize_token_and_login
    cached_credentials = credential_store.load(
                         ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 345, 
in load
    return self.do_load(unique_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 423, 
in do_load
    self._ensure_keyring_imported()
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 388, 
in _ensure_keyring_imported
    import keyring
ModuleNotFoundError: No module named 'keyring'


Steps to reproduce the error:

1. Create a fresh install of Debian.
2. While installing, select xfce.
3, Install lptools
4. Try use lptools, I used "lp-list-bugs 2052663".


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lptools depends on:
ii  python3               3.11.6-1
ii  python3-breezy        3.3.4-1.1
ii  python3-launchpadlib  1.11.0-2
ii  python3-xdg           0.28-2
ii  sensible-utils        0.0.22

Versions of packages lptools recommends:
ii  python3-chameleon  3.8.1-1
pn  python3-indicate   <none>

Versions of packages lptools suggests:
pn  python3-tdb  <none>

-- no debconf information


This is easily reproducible and I will be happy to test or provide any extra 
log if needed.

-- 
Regards
Sudip

Reply via email to