The version of waitress is not in-line with a version that supports the listen attribute.
Please see http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html <http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html> for installing Pyramid and it’s dependencies correctly, you most likely want a virtual environment so that you don’t run into issues with the distributions installed versions of packages. Bert > On Mar 14, 2017, at 10:42, [email protected] wrote: > > I am very new to Pyramid new as in I only heard of it a couple of days ago. > I installed it using pip and was creating my first app. but I received the > following error when I used the following command. > pserve development.ini > I am not sure what to do. Any help and thanks in advanced. I used the > following guide. > http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html#project-narr > I did not create an virtual environment. > > 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' > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/7409e178-5204-42ee-a47d-1aaca990107a%40googlegroups.com > > <https://groups.google.com/d/msgid/pylons-discuss/7409e178-5204-42ee-a47d-1aaca990107a%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/C05525F9-23A1-4932-80A8-74E8479AB7D4%400x58.com. For more options, visit https://groups.google.com/d/optout.
