[pull-lp-source] Crash with non-existing package

Bug #700167 reported by Artur Rona
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
In Progress
Low
Stefano Rivera

Bug Description

Binary package hint: ubuntu-dev-tools

$ pull-lp-source rhythbox maverick-updates
Traceback (most recent call last):
  File "/usr/bin/pull-lp-source", line 109, in <module>
    main()
  File "/usr/bin/pull-lp-source", line 83, in main
    Logger.error(error)
  File "/usr/lib/python2.7/dist-packages/ubuntutools/logger.py", line 45, in error
    print >> cls.stderr, "%s: Error: %s" % (cls.script_name, message % args)
TypeError: unsupported operand type(s) for %: 'PackageNotFoundException' and 'tuple'

$ apt-cache policy ubuntu-dev-tools
ubuntu-dev-tools:
  Zainstalowana: 0.109~daily+bzr945~natty1
  Kandydująca: 0.109~daily+bzr945~natty1
  Tabela wersji:
 *** 0.109~daily+bzr945~natty1 0
        100 /var/lib/dpkg/status
     0.108 0
        500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages

Revision history for this message
Stefano Rivera (stefanor) wrote :

Already fixed in a branch I'm waiting for review on.

Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
importance: Undecided → Low
status: New → In Progress
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.