build fails with File "/var/lib/python-support/python2.5/debian_bundle/deb822.py", line 95, in __getitem__ return self.__dict[key] .

Bug #961928 reported by Ritesh Khadgaray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Trying to build package uploading to lp, and creating a recipe.

with recipe
# bzr-builder format 0.3 deb-version 2.32.1~lp820331.2
lp:~khadgaray/+junk/lp820331

=========

https://launchpadlibrarian.net/97843482/buildlog.txt.gz

RUN ['bzr', 'dailydeb', '--safe', '--no-build', '/home/buildd/build-3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-autobuild/home/buildd/work/tree', '--manifest', '/home/buildd/build-3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-autobuild/home/buildd/work/tree/manifest', '--allow-fallback-to-native', '--append-version', '~natty1']
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Building tree.
Retrieving 'lp:~khadgaray/+junk/lp820331' to put at '/home/buildd/build-3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-autobuild/home/buildd/work/tree/recipe-2.32.1~lp820331.2'.
bzr: ERROR: exceptions.KeyError: 'Source'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/cmds.py", line 653, in run
    package = debian_source_package_name(control_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/cmds.py", line 499, in debian_source_package_name
    return control["Source"].encode("ascii")
  File "/var/lib/python-support/python2.5/debian_bundle/deb822.py", line 95, in __getitem__
    return self.__dict[key]
KeyError: 'Source'

bzr 2.4.0 on python 2.5.2 (Linux-2.6.24-29-xen-x86_64-with-debian-lenny-sid)
arguments: ['/usr/bin/bzr', 'dailydeb', '--safe', '--no-build', '/home/buildd
    /build-3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-
    autobuild/home/buildd/work/recipe', '/home/buildd/build-
    3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-
    autobuild/home/buildd/work/tree', '--manifest', '/home/buildd/build-
    3428f84e54dc42a128fd9a701cba88ac6151a709/chroot-
    autobuild/home/buildd/work/tree/manifest', '--allow-fallback-to-native',
    '--append-version', '~natty1']
plugins: bash_completion[2.4.0], builder[0.7.2dev], changelog_merge[2.4.0],
    launchpad[2.4.0], netrc_credential_store[2.4.0], news_merge[2.4.0],
    weave_fmt[2.4.0]
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug

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.