electrum icon indicating copy to clipboard operation
electrum copied to clipboard

Getting error when running `./contrib/freeze_packages.sh`

Open mxaddict opened this issue 3 years ago • 1 comments

When running ./contrib/freeze_packages.sh

I get this error:

Traceback (most recent call last):
  File "./contrib/deterministic-build/find_restricted_dependencies.py", line 28, in <module>
    data = requests.get(url).json()['info']
KeyError: 'info'

With some more digging around, I see that this URL is called for a package:

https://pypi.org/pypi/pkg_resources/0.0.0/json

Not sure if this should be called, but it's basically a 404 on this URL, so ["info"] key fails

mxaddict avatar Jun 16 '22 08:06 mxaddict

PyPI (or at least its webserver part) seems to be unreliable recently. I've just tried running ./contrib/freeze_packages.sh three times in a row, and the first two attempts got different HTTP errors coming from pypi.org, and then the third attempt succeeded.

SomberNight avatar Jun 27 '22 16:06 SomberNight