Falcon: [documentation] waitress-serve command syntax

Created on 9 May 2018  路  5Comments  路  Source: falconry/falcon

In the tutorial docs, the given waitress command is:

$ waitress-serve --port=8000 look:app

whereas it should be:

$ waitress-serve --port=8000 look.app:api

On my system (Win10x64) the first command errors out with:

app_iter = self.channel.server.application(env, start_response)
TypeError: 'module' object is not callable
bug documentation

Most helpful comment

@kgriffs Hello, this is still not deployed ? Just encountered this issue in the tutorial...

All 5 comments

Hi @carlodri, thanks for the bug report! If you have a few minutes to submit a PR, it should be a quick merge. Otherwise, I'll see if another volunteer from the community would like to take it.

@kgriffs PR is there!

@kgriffs Hello, this is still not deployed ? Just encountered this issue in the tutorial...

for some reason this fix appears only in the latest branch of the docs: https://falcon.readthedocs.io/en/latest/user/tutorial.html

CC @kgriffs I guess also stable should be fixed

Hi,

It might be this command:

waitress-serve --port=8000 look:app.api

Was this page helpful?
0 / 5 - 0 ratings