Search for "python snippets" reports HTTP Error 401

Bug #569850 reported by Martin Owens on 2010-04-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
High
Unassigned

Bug Description

Performing a search for python snippets gets this error:

ERROR:root:HTTP Error 401: Unauthorized
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/GroundControl/base.py", line 105, in run
    super(Thread, self).run(*args, **kwargs)
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.6/GroundControl/launchpad.py", line 353, in search
    self._search(terms)
  File "/usr/lib/pymodules/python2.6/GroundControl/launchpad.py", line 359, in _search
    for object in self._target.search(text=terms):
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 302, in __getattr__
    return self.lp_get_parameter(attr)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 193, in lp_get_parameter
    self._ensure_representation()
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 332, in _ensure_representation
    representation = self._root._browser.get(self._wadl_resource)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 214, in get
    response, content = self._request(url, extra_headers=headers)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 204, in _request
    raise HTTPError(response, content)
HTTPError: HTTP Error 401: Unauthorize

But search for just snippets does not.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers