Public bug reported:

When using pull-debian-source on Ubuntu Lunar I saw the error below.
This output is not helpful for the user. Please, provide a message
indicating the URL that failed instead of the stacktrace.

$ pull-debian-source opensbi sid
Found opensbi 1.1-2 in sid
Traceback (most recent call last):
  File "/usr/bin/pull-debian-source", line 11, in <module>
    PullPkg.main(distro='debian', pull='source')
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 107, in 
    cls(*args, **kwargs).pull()
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 429, in 
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 438, in 
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 294, in dsc
    self._download_file_from_urls(urls, tmpdsc)
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 410, in 
    for url in urls:
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 598, in 
    for url in super(DebianSourcePackage, self)._source_urls(name):
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 335, in 
    yield self._mirror_url(server, self.component, name)
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 593, in 
    self._component = Snapshot.getComponent(self.source, self.version)
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 941, in 
    response = self.load("{}?fileinfo=1".format(url))
  File "/usr/lib/python3/dist-packages/ubuntutools/", line 887, in 
    with closing(urlopen(url)) as data:
  File "/usr/lib/python3.10/urllib/", line 216, in urlopen
    return, data, timeout)
  File "/usr/lib/python3.10/urllib/", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: NOT FOUND

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.

  pull-debian-source: error message not helpful

To manage notifications about this bug go to:

universe-bugs mailing list

Reply via email to