运行后
pserve development.ini
我收到以下错误消息。我没有更改任何安装文件。在错误之后,我确实将端口从8080更改为6543.一个文件有6543,另一个文件有8080.重新设置并收到相同的错误。任何帮助,我对金字塔都是新手。我使用了以下指南:http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html#project-narr
Starting server in PID 30147.
Traceback (most recent call last):
File "/usr/local/bin/pserve", line 9, in <module>
load_entry_point('pyramid==1.8.3', 'console_scripts', 'pserve')()
File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 40, in main
return command.run()
File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 235, in run
server(app)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 189, in server_wrapper
**context.local_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
val = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/waitress/__init__.py", line 21, in serve_paste
serve(app, **kw)
File "/usr/lib/python2.7/dist-packages/waitress/__init__.py", line 11, in serve
server = _server(app, **kw)
File "/usr/lib/python2.7/dist-packages/waitress/server.py", line 39, in create_server
adj = Adjustments(**kw)
File "/usr/lib/python2.7/dist-packages/waitress/adjustments.py", line 180, in __init__
raise ValueError('Unknown adjustment %r' % k)
ValueError: Unknown adjustment 'listen'