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

Bug #496955 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-lp-branches
Incomplete
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.

Revision history for this message
Björn Tillenius (bjornt) wrote :
Gordon Tyler (doxxx)
Changed in bzr-lp-branches:
assignee: nobody → Gordon Tyler (doxxx)
importance: Undecided → High
Gordon Tyler (doxxx)
Changed in bzr-lp-branches:
milestone: none → 0.1
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.