• Bug#1064543: python3-launchpadlib: Failed to start launchpadlib-cache-c

    From Kevin Locke@21:1/5 to All on Fri Feb 23 23:40:01 2024
    Package: python3-launchpadlib
    Version: 1.11.0-4
    Severity: normal

    Dear Maintainer,

    After upgrading to 1.11.0-4, I have observed the following errors in
    my system log:

    2024-02-23T15:03:42-07:00 systemd[1538]: launchpadlib-cache-clean.service: Failed with result 'exit-code'.
    2024-02-23T15:03:42-07:00 systemd[1538]: Failed to start launchpadlib-cache-clean.service - Clean up old files in the Launchpadlib cache.

    After examining /usr/lib/systemd/user/launchpadlib-cache-clean.service
    I suspect that this is because ~/.launchpadlib does not exist for my
    user. It would be nice if the unit only ran when required. Perhaps

    ConditionPathExists=%h/.launchpadlib/api.launchpad.net/cache

    could be added to the [Unit] section of launchpadlib-cache-clean.service?

    Thanks for considering,
    Kevin


    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'stable'), (101, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.8.0-rc5 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 python3-launchpadlib depends on:
    ii init-system-helpers 1.66
    ii python3 3.11.6-1
    ii python3-httplib2 0.20.4-3
    ii python3-lazr.restfulclient 0.14.6-1
    ii python3-lazr.uri 1.0.6-3

    python3-launchpadlib recommends no packages.

    Versions of packages python3-launchpadlib suggests:
    ii python3-keyring 24.3.0-1
    ii python3-pkg-resources 68.1.2-2
    pn python3-testresources <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)