Code review comment for lp://staging/~doctormo/python-snippets/lp-merge-request-example

Revision history for this message
Jono Bacon (jonobacon) wrote :

Still getting problems, and still no meta data at the top.

jono@forge:~/source/bzr/python-snippets/launchpadlib$ python merge-request.py
Traceback (most recent call last):
  File "merge-request.py", line 14, in <module>
    lp = Launchpad.login_with("python-snippets", STAGING_SERVICE_ROOT)
  File "/usr/lib/pymodules/python2.6/launchpadlib/launchpad.py", line 243, in login_with
    timeout=timeout, proxy_info=proxy_info)
  File "/usr/lib/pymodules/python2.6/launchpadlib/launchpad.py", line 99, in __init__
    credentials, service_root, cache, timeout, proxy_info)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 394, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 241, in get_wadl_application
    url, media_type=wadl_type, extra_headers={'Accept': accept})
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 217, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 401: Unauthorized
Response headers:
---
content-length: 44
content-type: text/plain
date: Sat, 06 Feb 2010 22:51:56 GMT
server: zope.server.http (HTTP)
status: 401
via: 1.1 wildcard.staging.launchpad.net
x-lazr-oopsid: OOPS-1498S207
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
Unknown access token (tCLqh00lwH8ZRT5rzXd5).
---

jono@forge:~/source/bzr/python-snippets/launchpadlib$

review: Needs Fixing

« Back to merge proposal