[sru] lp-propose fails with a 404 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Max Bowsher | ||
2.1 |
Fix Released
|
High
|
Max Bowsher | ||
2.2 |
Fix Released
|
High
|
Max Bowsher | ||
2.3 |
Fix Released
|
High
|
Max Bowsher | ||
2.4 |
Fix Released
|
High
|
Max Bowsher | ||
bzr (Ubuntu) |
Fix Released
|
Undecided
|
canonical-bazaar | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
High
|
Unassigned |
Bug Description
All of a sudden lp-propose decided it was not authorized to pose as myself on Launchpad so it asked for my authorization yet again. After I granted full rights to bzr, it failed with the following error:
(extra debug log thanks to httplib2.
Notice the "send: 'GET /beta/1.0/" line; according to Leonard, that's what's causing the problem here.
I'm running Bazaar 2.2.3, fwiw.
send: 'POST /+access-token HTTP/1.1\r\nHost: launchpad.
send: 'oauth_
reply: 'HTTP/1.1 200 Ok\r\n'
header: Date: Mon, 24 Jan 2011 18:36:21 GMT
header: Server: zope.server.http (HTTP)
header: X-Powered-By: Zope (www.zope.org), Python (www.python.org)
header: X-Content-
header: Content-Type: text/plain;
header: Content-Length: 148
header: Vary: Cookie,
header: Via: 1.1 launchpad.net
send: 'GET /beta/1.0/ HTTP/1.1\r\nHost: api.launchpad.
reply: 'HTTP/1.1 404 Not Found\r\n'
header: Date: Mon, 24 Jan 2011 18:36:22 GMT
header: Server: zope.server.http (HTTP)
header: X-Powered-By: Zope (www.zope.org), Python (www.python.org)
header: X-Lazr-Oopsid: OOPS-1850G1508
header: Content-Type: text/plain
header: Content-Length: 2344
header: Via: 1.1 wildcard.
bzr: failed to report crash using apport:
OSError(13, 'Permission denied')
bzr: ERROR: lazr.restfulcli
Response headers:
---
content-length: 2344
content-type: text/plain
date: Mon, 24 Jan 2011 18:36:22 GMT
server: zope.server.http (HTTP)
status: 404
via: 1.1 wildcard.
x-lazr-oopsid: OOPS-1850G1508
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
Object: <canonical.
Traceback (most recent call last):
File "/srv/launchpad
obj = request.
File "/srv/launchpad
result = super(WebServic
File "/srv/launchpad
ob = super(BrowserRe
File "/srv/launchpad
ob = super(HTTPRequest, self).traverse(obj)
File "/srv/launchpad
obj = publication.
File "/srv/launchpad
request, ob, name)
File "/srv/launchpad
ob2 = adapter.
File "/srv/launchpad
return Navigation.
File "/srv/launchpad
nextobj = self._publishTr
File "/srv/launchpad
return self._handle_
File "/srv/launchpad
raise NotFound(
NotFound: Object: <canonical.
Related branches
- Martin Pool: Approve
-
Diff: 29 lines (+17/-2)1 file modifiedbzrlib/plugins/launchpad/lp_api.py (+17/-2)
- Vincent Ladeuil: Approve
-
Diff: 46 lines (+23/-2)2 files modifiedNEWS (+6/-0)
bzrlib/plugins/launchpad/lp_api.py (+17/-2)
- Vincent Ladeuil: Approve
-
Diff: 154 lines (+64/-27)2 files modifiedbzrlib/plugins/launchpad/lp_api.py (+17/-6)
doc/en/release-notes/bzr-2.2.txt (+47/-21)
- Vincent Ladeuil: Approve
-
Diff: 216 lines (+85/-38)4 files modifiedbzrlib/plugins/launchpad/lp_api.py (+20/-14)
bzrlib/status.py (+8/-2)
bzrlib/tests/blackbox/test_status.py (+10/-1)
doc/en/release-notes/bzr-2.2.txt (+47/-21)
description: | updated |
Changed in bzr: | |
status: | New → In Progress |
Changed in bzr: | |
milestone: | none → 2.2.4 |
Changed in bzr: | |
milestone: | 2.2.4 → none |
Changed in bzr: | |
importance: | Undecided → High |
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzr: | |
milestone: | none → 2.4b1 |
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
summary: |
- lp-propose fails with a 404 error + [sru] lp-propose fails with a 404 error |
Changed in bzr (Ubuntu): | |
assignee: | nobody → canonical-bazaar (canonical-bazaar) |
Changed in bzr (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in bzr (Ubuntu Lucid): | |
milestone: | none → lucid-updates |
Changed in bzr (Ubuntu Maverick): | |
milestone: | none → maverick-updates |
Changed in bzr (Ubuntu Maverick): | |
assignee: | nobody → Martin Pool (mbp) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in bzr (Ubuntu Maverick): | |
status: | In Progress → Fix Committed |
Changed in bzr (Ubuntu Lucid): | |
assignee: | nobody → Martin Pool (mbp) |
tags: | removed: verification-done |
Changed in bzr (Ubuntu Lucid): | |
assignee: | Martin Pool (mbp) → nobody |
Changed in bzr (Ubuntu Maverick): | |
assignee: | Martin Pool (mbp) → nobody |
status: | Fix Released → Won't Fix |
Changed in bzr (Ubuntu Lucid): | |
status: | New → Won't Fix |
The "all of a sudden" makes me suspect this was broken by changes to
the handling of 'edge' on Launchpad.