pull-debian-source fails with AttributeError: 'filter' object has no attribute 'append'

Bug #1913330 reported by Hans Joachim Desserud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

pull-debian-source on Ubuntu Hirsute fails when attempting to download a package, for instance:

$ pull-debian-source ubuntu-dev-tools
Traceback (most recent call last):
  File "/usr/bin/pull-debian-source", line 11, in <module>
    PullPkg.main(distro='debian', pull='source')
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 103, in main
    cls(*args, **kwargs).pull()
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 405, in pull
    srcpkg = DISTRO_PKG_CLASS[distro](**params)
  File "/usr/lib/python3/dist-packages/ubuntutools/archive.py", line 578, in __init__
    self.masters.append(UDTConfig.defaults['DEBSEC_MIRROR'])
AttributeError: 'filter' object has no attribute 'append'

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubuntu-dev-tools 0.178
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu55
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Jan 26 19:13:18 2021
InstallationDate: Installed on 2020-11-05 (82 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20201105)
PackageArchitecture: all
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Hans Joachim Desserud (hjd) wrote :
Revision history for this message
Stefano Rivera (stefanor) wrote :

Already fixed in 90cb51becb0129cb17584c136f9e015d64086c34

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.178ubuntu1

---------------
ubuntu-dev-tools (0.178ubuntu1) hirsute; urgency=medium

  [ Stefano Rivera ]
  * archive.py: Evaluate the filter() fixing Debian source history queries
    (LP: #1913330)

  [ Dan Streetman ]
  * allow running tests using tox
  * add autopkgtests to run tests
  * simplify/combine archive download functions
  * add support for private ppa by logging into lp
  * improve support for pull-uca-*
  * fix logging/printing output to stdout/stderr

 -- Dan Streetman <email address hidden> Mon, 01 Feb 2021 11:59:03 -0500

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.