명령 : pypi 서버 -p 8080 -v ~/패키지실행 pypi-서버에 ValueError를 가져 오는 동안 : 형식으로 제로 길이 필드 이름
2017년 4월 12일 10 : 45 : 11,939 | pypiserver.bottle | 정보 139762541180672 | 병 v0.13-dev 서버 시작 (AutoServer() 사용) ... 2017-04-12 10 : 45 : 11,939 | pypiserver.bottle | INFO | 139762541180672 | 듣기 http://0.0.0.0:8080/ 2017-04-12 10 : 45 : 11,939 | pypiserver.bottle | INFO | 139762541180672 | Ctrl-C를 눌러 종료하십시오.
Traceback (most recent call last):
File "/usr/local/bin/pypi-server", line 9, in <module>
load_entry_point('pypiserver==1.2.0', 'console_scripts', 'pypi-server')()
File "build/bdist.linux-x86_64/egg/pypiserver/__main__.py", line 296, in main
File "build/bdist.linux-x86_64/egg/pypiserver/bottle.py", line 3270, in run
File "build/bdist.linux-x86_64/egg/pypiserver/bottle.py", line 3106, in run
File "build/bdist.linux-x86_64/egg/pypiserver/bottle.py", line 2876, in run
File "/usr/local/lib64/python2.6/site-packages/waitress-1.0.1-py2.6.egg/waitress/__init__.py", line 1, in <module>
from waitress.server import create_server
File "/usr/local/lib64/python2.6/site-packages/waitress-1.0.1-py2.6.egg/waitress/server.py", line 22, in <module>
from waitress.adjustments import Adjustments
File "/usr/local/lib64/python2.6/site-packages/waitress-1.0.1-py2.6.egg/waitress/adjustments.py", line 75, in <module>
class Adjustments(object):
File "/usr/local/lib64/python2.6/site-packages/waitress-1.0.1-py2.6.egg/waitress/adjustments.py", line 116, in Adjustments
listen = ['{}:{}'.format(host, port)]
ValueError: zero length field name in format
@Michael
listen = ['{0}:{1}'.format(host, port)]
을 변경해야 할 2.6: 당신이 듣고'시도해야 = [ '{0} : {1}'. 형식 (호스트, 포트)]' '웨이트리스/adjustments.py'에 ?? – Surajano