[Python-modules-team] Bug#979491: xmlrpclib.Fault: <Fault -32500: 'HTTPTooManyRequests: The action could not be performed because there were too many requests by the client. Limit may reset in 1 seconds.'>

Picca Frédéric-Emmanuel picca at debian.org
Thu Jan 7 10:44:09 GMT 2021


Package: python3-stdeb
Version: 0.8.5-3
Severity: important
X-Debbugs-Cc: picca at debian.org

Hello,

while trying to install a package with pypi-install, I got this error

# DEB_BUILD_OPTIONS= pypi-install bcdi --allow-unsafe-download --with-python2=False --with-python3=True
Traceback (most recent call last):
  File "/usr/bin/pypi-install", line 67, in <module>
    main()
  File "/usr/bin/pypi-install", line 48, in main
    allow_unsafe_download=options.allow_unsafe_download)
  File "/usr/lib/python2.7/dist-packages/stdeb/downloader.py", line 91, in get_source_tarball
    release=release)
  File "/usr/lib/python2.7/dist-packages/stdeb/downloader.py", line 47, in find_tar_gz
    default_releases = pypi.package_releases(package_name)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/dist-packages/stdeb/transport.py", line 64, in request
    return self.parse_response(resp)
  File "/usr/lib/python2.7/dist-packages/stdeb/transport.py", line 88, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -32500: 'HTTPTooManyRequests: The action could not be performed because there were too many requests by the client. Limit may reset in 1 seconds.'>

Maybe something changed at the server level, and need to be taken into account.

Cheers

Frederic



-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-stdeb depends on:
ii  debhelper [debhelper-compat]  13.3.1
ii  python3                       3.9.1-1
ii  python3-requests              2.25.1+dfsg-2
ii  python3-setuptools            51.1.0-1

Versions of packages python3-stdeb recommends:
ii  apt-file     3.2.2
ii  dpkg-dev     1.20.5
ii  python3-all  3.9.1-1

Versions of packages python3-stdeb suggests:
ii  python3-all-dev  3.9.1-1

-- no debconf information



More information about the Python-modules-team mailing list