bzr crashed with AttributeError in run()

Bug #627507 reported by Krzysztof Klimonda
46
This bug affects 5 people
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
High
James Westby
bzr-builddeb (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bzr

Crashed when I tried import upstream tarball into packaging branch.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1111, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 859, in run
    upstream.repository.fetch(branch.repository, parents[0])
AttributeError: 'NoneType' object has no attribute 'repository'

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :
visibility: private → public
Vincent Ladeuil (vila)
affects: bzr (Ubuntu) → bzr-builddeb (Ubuntu)
tags: removed: need-duplicate-check
Martin Pool (mbp)
description: updated
Revision history for this message
Micah Gersten (micahg) wrote :

Confirmed by duplicate bug. is there anything else needed to mark this Triaged? This makes upstream imports unusable at least in Maverick.

Changed in bzr-builddeb (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is most likely a regression caused by one of my recent changes.

Changed in bzr-builddeb:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Fixed by James in r485

Changed in bzr-builddeb:
status: Triaged → Fix Committed
assignee: Jelmer Vernooij (jelmer) → James Westby (james-w)
Max Bowsher (maxb)
Changed in bzr-builddeb:
milestone: none → 2.7
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
Revision history for this message
Jonathan Marsden (jmarsden) wrote :

Fix released? Where?

Is this fixed in a Ubuntu package somewhere, and if so, in which version? Maybe it is only fixed in the upstream bzr source repository?

I just recently managed to file a duplicate of this bug from an Lubuntu 11.04 machine, so if a fix was released 2011-03-11, I'd have thought it might have made it into the Ubuntu Natty 11.04 release? I'm running

I'm happy to do my own backport of an oneiric package if that is what it takes... I'm less happy with using unpackaged sources... what are my options?

Jelmer Vernooij (jelmer)
Changed in bzr-builddeb (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

It should be fixed in the natty package; if you can still reproduce it, please paste the backtrace and the command you're running.

Revision history for this message
Jonathan Marsden (jmarsden) wrote :

I already did that. Bug #796423

Someone or something apparently decided it was a duplicate of this bug #627507

So, was it really a duplicate, or not? Now I'm confused.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 627507] Re: bzr crashed with AttributeError in run()

Hi Jonathan,

Sorry for the late reply. There should be a fix available in the current
development branch of Ubuntu, Oneiric.

On Wed, 2011-06-22 at 03:06 +0000, Jonathan Marsden wrote:
> I already did that. Bug #796423
>
> Someone or something apparently decided it was a duplicate of this bug
> #627507
>
> So, was it really a duplicate, or not? Now I'm confused.
>

Jelmer Vernooij (jelmer)
Changed in bzr-builddeb (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.