Public bug reported:

Attempting to fetch a source package hits the below Traceback:

$ pull-lp-source systemd bionic
Traceback (most recent call last):
  File "/usr/bin/pull-lp-source", line 11, in <module>
    PullPkg.main(distro='ubuntu', pull='source')
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 107, in 
main
    cls(*args, **kwargs).pull()
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 400, in 
pull
    params = self._get_params(options)
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 318, in 
_get_params
    (r, v, p) = self.parse_release_and_version(distro, options['release'],
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 267, in 
parse_release_and_version
    (release, pocket) = self.parse_release(distro, release)
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 254, in 
parse_release
    d = Distribution(distro)
  File "/usr/lib/python3/dist-packages/ubuntutools/lp/lpapicache.py", line 174, 
in __new__
    if isinstance(fetch, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'

ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: ubuntu-dev-tools 0.187
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 31 15:27:59 2022
ExecutablePath: /usr/bin/pull-lp-source
InstallationDate: Installed on 2022-01-02 (29 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220101)
InterpreterPath: /usr/bin/python3.10
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/pull-lp-source systemd bionic
Python3Details: /usr/bin/python3.10, Python 3.10.2, python3-minimal, 
3.10.1-0ubuntu1
PythonArgs: ['/usr/bin/pull-lp-source', 'systemd', 'bionic']
PythonDetails: N/A
SourcePackage: ubuntu-dev-tools
Title: pull-lp-source crashed with AttributeError in __new__(): module 
'collections' has no attribute 'Callable'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-dev-tools (Ubuntu Jammy)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-crash jammy need-duplicate-check third-party-packages 
wayland-session

** Also affects: ubuntu-dev-tools (Ubuntu Jammy)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959541

Title:
  pull-lp-source crashed with AttributeError in __new__(): module
  'collections' has no attribute 'Callable'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1959541/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to