Announcement

Collapse
No announcement yet.

Not Found errors

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Not Found errors

    Using kubuntu 15.04

    Not Found Errors:
    sudo add-apt-repository ppa:user/ppa-name
    Code:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in _get_https_content_py3
        lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
      File "/usr/lib/python3.4/urllib/request.py", line 161, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python3.4/urllib/request.py", line 469, in open
        response = meth(req, response)
      File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python3.4/urllib/request.py", line 507, in error
        return self._call_chain(*args)
      File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
        result = func(*args)
      File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 404: Not Found
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 321, in get_ppa_info
        ret = get_ppa_info_from_lp(user, ppa)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 91, in get_ppa_info_from_lp
        return get_info_from_lp(lp_url)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp
        return _get_https_content_py3(lp_url)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 107, in _get_https_content_py3
        raise PPAException("Error reading %s: %s" % (lp_url, reason), e)
    softwareproperties.ppa.PPAException: 'Error reading https://launchpad.net/api/1.0/~user/+archive/ubuntu/ppa-name: Not Found'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in _get_https_content_py3
        lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
      File "/usr/lib/python3.4/urllib/request.py", line 161, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python3.4/urllib/request.py", line 469, in open
        response = meth(req, response)
      File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python3.4/urllib/request.py", line 507, in error
        return self._call_chain(*args)
      File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
        result = func(*args)
      File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 404: Not Found
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/bin/add-apt-repository", line 119, in <module>
        shortcut = shortcut_handler(line)
      File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 837, in shortcut_handler
        ret = factory(shortcut)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 382, in shortcut_handler
        return PPAShortcutHandler(shortcut)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 346, in __init__
        info = get_ppa_info(self.shortcut)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 333, in get_ppa_info
        _get_suggested_ppa_message(user, ppa))
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 292, in _get_suggested_ppa_message
        lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp
        return _get_https_content_py3(lp_url)
      File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 107, in _get_https_content_py3
        raise PPAException("Error reading %s: %s" % (lp_url, reason), e)
    softwareproperties.ppa.PPAException: 'Error reading https://launchpad.net/api/1.0/~user: Not Found'

    #2
    Which ppa are you attempting to add?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      https://bugs.launchpad.net/ubuntu/+s...s/+bug/1372086
      https://bugs.launchpad.net/ubuntu/+s...s/+bug/1405951

      So, without info about the ppa you are adding, it sounds like it has a typo or otherwise does not exist.

      Comment

      Working...
      X