You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the issue that you are experiencing. Attempting to add a new release with twine or setuptools results in a unhelpful Received "500: Internal Server Error".
After changing an IF statement in a module and trying to upload new version to TEST or OFFICIAL repo, I get an 500 error with no info about what is the error cause.
$ twine upload --verbose dist/*
Uploading distributions to https://test.pypi.org/legacy/
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 37.0kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 1 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 34.5kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 2 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 117kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 3 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 128kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 4 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 116kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 5 of 5
Content received from server:
<html>
<head>
<title>Internal Server Error</title>
</head>
<body>
<h1><p>Internal Server Error</p></h1>
</body>
</html>
HTTPError: 500 Server Error: Internal Server Error for url: https://test.pypi.org/legacy/
$ twine upload --verbose dist/* 1 ↵
Uploading distributions to https://upload.pypi.org/legacy/
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:05<00:00, 5.46kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 1 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 155kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 2 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 158kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 3 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 160kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 4 of 5
Uploading netops-0.1.33-py2.py3-none-any.whl
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31.3k/31.3k [00:00<00:00, 121kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 5 of 5
Content received from server:
<html>
<head>
<title>Internal Server Error</title>
</head>
<body>
<h1><p>Internal Server Error</p></h1>
</body>
</html>
HTTPError: 500 Server Error: Internal Server Error for url: https://upload.pypi.org/legacy/
Steps to Reproduce
If the issue is predictable and consistently reproducible, please list the steps here. Upload netops-0.1.33.tar.gz using twine.
The text was updated successfully, but these errors were encountered:
I believe @bhrutledge recently released 3.2.0 3.8.0 (edited to correct) with improvements to help with just such an error. Can you upgrade to that and retry?
Environment
Your operating system:
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
Version of python you are running:
Python 3.8.10
How did you install twine? Did you use your operating system's package manager or pip or something else?
OS package managera (apt-get install twine)
Version of twine you have installed (include complete output of):
twine version 3.1.1 (pkginfo: 1.4.2, requests: 2.22.0, setuptools: 45.2.0, requests-toolbelt: 0.8.0, tqdm: 4.30.0)
Both test (https://test.pypi.org/legacy/) and official (https://upload.pypi.org/legacy/) have the same issue.
If you're having issues uploading a specific package, you must include a copy of the following:
PKG-INFO
file.pypirc
file (REMOVE ALL USERNAMES & PASSWORDS BEFORE UPLOADING)File: ~/.pypirc
The Issue
Please describe the issue that you are experiencing.
Attempting to add a new release with twine or setuptools results in a unhelpful Received "500: Internal Server Error".
After changing an IF statement in a module and trying to upload new version to TEST or OFFICIAL repo, I get an 500 error with no info about what is the error cause.
Uploading to https://test.pypi.org/legacy/
Uploading to https://upload.pypi.org/legacy/
Steps to Reproduce
If the issue is predictable and consistently reproducible, please list the steps here.
Upload netops-0.1.33.tar.gz using twine.
The text was updated successfully, but these errors were encountered: