bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'bzr_identity'

Bug #496955 reported by Björn Tillenius on 2009-12-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-lp-branches
High
Gordon Tyler

Bug Description

Sometimes when doing 'bzr lp-branches' I get this traceback:

Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 843, in exception_to_return_code
     return the_callable(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1044, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 655, in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/home/bjorn/.bazaar/plugins/lp_branches/__init__.py", line 55, in run
     trace.mutter("found launchpad branch: %s" % lp_branch.bzr_identity)
 AttributeError: 'NoneType' object has no attribute 'bzr_identity'

This doesn't happen for all branches. For example, this happens when I stand in /devel/lazr-js/toolchain, but not when I'm in /devel/lazr-js/error-widget.

Related branches

Björn Tillenius (bjornt) wrote :
Gordon Tyler (doxxx) on 2009-12-15
Changed in bzr-lp-branches:
assignee: nobody → Gordon Tyler (doxxx)
importance: Undecided → High
Gordon Tyler (doxxx) on 2009-12-15
Changed in bzr-lp-branches:
milestone: none → 0.1
Gordon Tyler (doxxx) wrote :

I am unable to reproduce this. I've improved the error handling and made lp-branches use the parent location if the push location is missing. Could you try again with the latest revision from trunk?

Changed in bzr-lp-branches:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers