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.debuglevel=1)
Notice the "send: 'GET /beta/1.0/" line; according to Leonard, that's what's causing the problem here.
Traceback (most recent call last):
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/zope.publisher-3.12.0-py2.6.egg/zope/publisher/publish.py", line 131, in publish
obj = request.traverse(obj)
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/lazr.restful-0.15.0-py2.6.egg/lazr/restful/publisher.py", line 236, in traverse
result = super(WebServiceRequestTraversal, self).traverse(ob)
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/zope.publisher-3.12.0-py2.6.egg/zope/publisher/browser.py", line 542, in traverse
ob = super(BrowserRequest, self).traverse(obj)
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/zope.publisher-3.12.0-py2.6.egg/zope/publisher/http.py", line 455, in traverse
ob = super(HTTPRequest, self).traverse(obj)
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/zope.publisher-3.12.0-py2.6.egg/zope/publisher/base.py", line 261, in traverse
obj = publication.traverseName(self, obj, entry_name)
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/lazr.restful-0.15.0-py2.6.egg/lazr/restful/publisher.py", line 98, in traverseName
request, ob, name)
File "/srv/launchpad.net/production/launchpad-rev-12248/eggs/zope.app.publication-3.9.0-py2.6.egg/zope/app/publication/zopepublication.py", line 197, in traverseName
ob2 = adapter.publishTraverse(request, nm)
File "/srv/launchpad.net/production/launchpad-rev-12248/lib/canonical/launchpad/browser/launchpad.py", line 722, in publishTraverse
return Navigation.publishTraverse(self, request, name)
File "/srv/launchpad.net/production/launchpad-rev-12248/lib/canonical/launchpad/webapp/publisher.py", line 661, in publishTraverse
nextobj = self._publishTraverse(request, name)
File "/srv/launchpad.net/production/launchpad-rev-12248/lib/canonical/launchpad/webapp/publisher.py", line 785, in _publishTraverse
return self._handle_next_object(nextobj, request, name)
File "/srv/launchpad.net/production/launchpad-rev-12248/lib/canonical/launchpad/webapp/publisher.py", line 691, in _handle_next_object
raise NotFound(self.context, name)
NotFound: Object: <canonical.launchpad.systemhomes.WebServiceApplication object at 0x8a4b6d0>, name: u'1.0'
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: debuglevel= 1)
(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.
send: 'POST /+access-token HTTP/1.1\r\nHost: launchpad. net\r\nAccept- Encoding: identity\ r\nContent- Length: 188\r\nreferer: https:/ /launchpad. net/\r\nuser-agent: Python- httplib2/ $Rev$\r\ n\r\n' signature= <redacted> &oauth_ consumer_ key=bzr& oauth_token= <redacted> &oauth_ signature_ method= PLAINTEXT' Type-Warning: guessed from content charset= utf-8 Authorization, Accept- Encoding net\r\nAuthoriz ation: OAuth realm="OAuth", oauth_nonce= "<redacted> ", oauth_timestamp ="1295894181" , oauth_consumer_ key="bzr" , oauth_signature _method= "PLAINTEXT" , oauth_version= "1.0", oauth_token= "<redacted> ", oauth_signature ="<redacted> "\r\naccept- encoding: gzip, deflate\r\naccept: application/ vnd.sun. wadl+xml\ r\nuser- agent: lazr.restfulclient 0.9.20; oauth_consumer= "bzr"\r\ n\r\n' launchpad. net ent.errors. HTTPError: HTTP Error 404: Not Found launchpad. net launchpad. systemhomes. WebServiceAppli cation object at 0x8a4b6d0>, name: u'1.0'
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): .net/production /launchpad- rev-12248/ eggs/zope. publisher- 3.12.0- py2.6.egg/ zope/publisher/ publish. py", line 131, in publish traverse( obj) .net/production /launchpad- rev-12248/ eggs/lazr. restful- 0.15.0- py2.6.egg/ lazr/restful/ publisher. py", line 236, in traverse eRequestTravers al, self).traverse(ob) .net/production /launchpad- rev-12248/ eggs/zope. publisher- 3.12.0- py2.6.egg/ zope/publisher/ browser. py", line 542, in traverse quest, self).traverse(obj) .net/production /launchpad- rev-12248/ eggs/zope. publisher- 3.12.0- py2.6.egg/ zope/publisher/ http.py" , line 455, in traverse .net/production /launchpad- rev-12248/ eggs/zope. publisher- 3.12.0- py2.6.egg/ zope/publisher/ base.py" , line 261, in traverse traverseName( self, obj, entry_name) .net/production /launchpad- rev-12248/ eggs/lazr. restful- 0.15.0- py2.6.egg/ lazr/restful/ publisher. py", line 98, in traverseName .net/production /launchpad- rev-12248/ eggs/zope. app.publication -3.9.0- py2.6.egg/ zope/app/ publication/ zopepublication .py", line 197, in traverseName publishTraverse (request, nm) .net/production /launchpad- rev-12248/ lib/canonical/ launchpad/ browser/ launchpad. py", line 722, in publishTraverse publishTraverse (self, request, name) .net/production /launchpad- rev-12248/ lib/canonical/ launchpad/ webapp/ publisher. py", line 661, in publishTraverse averse( request, name) .net/production /launchpad- rev-12248/ lib/canonical/ launchpad/ webapp/ publisher. py", line 785, in _publishTraverse next_object( nextobj, request, name) .net/production /launchpad- rev-12248/ lib/canonical/ launchpad/ webapp/ publisher. py", line 691, in _handle_next_object self.context, name) launchpad. systemhomes. WebServiceAppli cation object at 0x8a4b6d0>, name: u'1.0'
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.