Comment 3 for bug 445129

Revision history for this message
Jonathan Reeve (jon-reeve) wrote :

I tried running apport-collect 445129 but I think I gave it the wrong permissions, and now I'm getting this error:

:~$ apport-collect 445129
Logging into Launchpad... You have to allow "Change anything" privileges.
Downloading bug information...
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 106, in <module>
    bug = crashdb.launchpad.bugs[int(bug_number)]
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 101, in launchpad
    self.__lpcache)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 95, in __init__
    credentials, service_root, cache, timeout, proxy_info)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 379, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 222, in get_wadl_application
    url, media_type='application/vd.sun.wadl+xml')
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 204, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 401: Unauthorized
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 100, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Permission denied: '/var/crash/_usr_bin_apport-collect.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 106, in <module>
    bug = crashdb.launchpad.bugs[int(bug_number)]
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 101, in launchpad
    self.__lpcache)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 95, in __init__
    credentials, service_root, cache, timeout, proxy_info)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 379, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 222, in get_wadl_application
    url, media_type='application/vd.sun.wadl+xml')
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 204, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 401: Unauthorized