[Bug 804241] Re: empty leading lines in debian/control break source package name finding

Jelmer Vernooij 804241 at bugs.launchpad.net
Tue Nov 29 19:25:23 UTC 2011


There is a backported version of python-debian suitable for the builders
in ~canonical-bazaar's cat-proposed archive, it just needs to be rolled
out.

** Also affects: launchpad-buildd
   Importance: Undecided
       Status: New

** Changed in: launchpad-buildd
       Status: New => Triaged

** Changed in: launchpad-buildd
   Importance: Undecided => High

** Changed in: launchpad-buildd
     Assignee: (unassigned) => Jelmer Vernooij (jelmer)

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

Title:
  empty leading lines in debian/control break source package name
  finding

Status in bzr-builder:
  Invalid
Status in Launchpad Auto Build System:
  Triaged
Status in Debian file format module for Python:
  Triaged
Status in “python-debian” package in Ubuntu:
  Triaged
Status in “python-debian” package in Debian:
  Fix Released

Bug description:
  e.g. building gedit which has the attached control file, the following
  exception is raised:

  
  bzr: ERROR: exceptions.KeyError: 'Source'

  Traceback (most recent call last):
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 946, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 1150, in run_bzr
      ret = run(*run_argv)
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 699, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 721, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/home/jelmer/src/bzr/foreign/bzrlib/cleanup.py", line 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/home/jelmer/src/bzr/foreign/bzrlib/cleanup.py", line 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/home/jelmer/.bazaar/plugins/builder/cmds.py", line 701, in run
      package = debian_source_package_name(control_path)
    File "/home/jelmer/.bazaar/plugins/builder/cmds.py", line 549, in debian_source_package_name
      return control["Source"]
    File "/usr/lib/pymodules/python2.7/debian/deb822.py", line 175, in __getitem__
      value = self.__dict[key]
  KeyError: 'Source'

  You can report this problem to Bazaar's developers by running
      apport-bug /var/crash/bzr.1000.2011-07-01T10:40.crash
  if a bug-reporting window does not automatically appear.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr-builder/+bug/804241/+subscriptions




More information about the foundations-bugs mailing list