Confusing error message when accessing a branch I don't have a access on Launchpad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
If you call open_branch on a private branch that you don't have access to, the exception message is confusing.
For example, lp:~~launchpad-pqm/launchpad/production-devel is a private branch. Here is the stack trace of the error:
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
raise errors.
As you see, the last component is missing from the branch URL. lp:~launchpad-pqm/launchpad/production-devel was the input.
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: launchpad lpurl |
tags: | added: check-for-breezy |
Looking at the failure for gnome-control- center and looking at the changelog I see, this appears to just be a simple failure to handle any non-ascii author names.
Specifically," -- Sebastian Dr\xc3\xb6ge ..." is listed many times as the author for part of the changelog. My guess is that the code simply is mixing decoded author names with encoded author names.
Arguably a 'correct' fix is to change python-debian to use Unicode names, but I'm assuming we don't really get to touch that code, so we should be doing so in bzr-builddeb.