2015-11-29 54 views
2

尝试注册或上传到PYPI时出现500内部服务器错误。尝试注册PYPI时出现模糊500错误

$ python setup.py register --show-response 

-- snip -- 

running check 
We need to know who you are, so please choose either: 
1. use your existing login, 
2. register as a new user, 
3. have the server generate a new password for you (and email it to you), or 
4. quit 
Your selection [default 1]: 

Username: sambev 
Password: 
Registering reportermd to https://pypi.python.org/pypi 
Server response (500): Internal Server Error 

的包有:https://pypi.python.org/pypi/reportermd 但我不能使用PIP或使用easy_install来安装它。 (都不能找到它)

此外,我可以通过网站登录并使用包提交表单并上传我的PKG-INFO文件,但我得到相同的通用500错误。

任何想法可能是错误的或如何调试?

源代码在这里:https://github.com/sambev/reportermd

UPDATE:它看起来像它一定有什么事情在PyPI的时间。它现在似乎在工作。虽然我不得不承认这是一个相当令人沮丧和困惑的经历。

+2

从我过去的经验通过我自己的网站,当服务器发生错误时,我收到500个错误,所以这个在我看来,这是PyPi的问题。不完全确定,但这是我最好的猜测。如果是这种情况,那也意味着你将无法修复它。 –

+0

是的。我想到了500这是服务器上的错误,但https://status.python.org使得它看起来像一切都很好。我想我担心这是我的包裹的一个奇怪的问题?我会继续努力... – sambev

+0

你的软件包的源代码是否可用? – John

回答

0

.pypirc文件在你$ HOME和更新作为

[distutils] 
index-servers = 
    pypi 

[pypi] 
repository= https://www.python.org/pypi 
username=your_username 
password=you_password 

注册:python setup.py register -r pypi

上传sdist:python setup.py sdist upload -r pypi

上传bdist:python setup.py bdist upload -r pypi

相关问题