[Bug 855665] Re: add-apt-repository crashed with HTTPError in http_error_default(): HTTP Error 401: Unauthorized

Robert Roth evfool at gmail.com
Thu Jan 26 20:38:53 UTC 2012


*** This bug is a duplicate of bug 887249 ***
    https://bugs.launchpad.net/bugs/887249

** This bug is no longer a duplicate of bug 828038
   add-apt-repository crashed with HTTPError in http_error_default(): HTTP Error 404: Not Found
** This bug has been marked a duplicate of bug 887249
   Providing wrong ppa format in add-apt-repository throws a 404 error which is not handled appropriately

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/855665

Title:
  add-apt-repository crashed with HTTPError in http_error_default():
  HTTP Error 401: Unauthorized

Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 77, in <module>
      ppa_info = get_ppa_info_from_lp(user, ppa_name)
    File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 65, in get_ppa_info_from_lp
      lp_page = urlopen(req).read()
    File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
      return _opener.open(url, data, timeout)
    File "/usr/lib/python2.7/urllib2.py", line 400, in open
      response = meth(req, response)
    File "/usr/lib/python2.7/urllib2.py", line 513, in http_response
      'http', request, response, code, msg, hdrs)
    File "/usr/lib/python2.7/urllib2.py", line 438, in error
      return self._call_chain(*args)
    File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
      result = func(*args)
    File "/usr/lib/python2.7/urllib2.py", line 521, in http_error_default
      raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  urllib2.HTTPError: HTTP Error 401: Unauthorized

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: python-software-properties 0.81.9
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu1
  Architecture: i386
  Date: Wed Sep 21 18:41:05 2011
  ExecutablePath: /usr/bin/add-apt-repository
  InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa::lubuntu-desktop
  ProcEnviron:
   SHELL=/bin/bash
   LANG=ru_UA.UTF-8
   LANGUAGE=ru_UA:ru
  PythonArgs: ['/usr/bin/add-apt-repository', 'ppa::lubuntu-desktop']
  SourcePackage: software-properties
  Title: add-apt-repository crashed with HTTPError in http_error_default(): HTTP Error 401: Unauthorized
  UpgradeStatus: Upgraded to oneiric on 2011-09-19 (1 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/855665/+subscriptions




More information about the foundations-bugs mailing list