Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError occured when using "waitress-serve" command and "--unix-socket-perms" option. #50

tokibito opened this issue Nov 30, 2013 · 2 comments


Copy link

tokibito commented Nov 30, 2013

I want to change the permissions on the socket file using the waitress-serve command but an error occurred.

$ waitress-serve --unix-socket=app.sock --unix-socket-perms=660 hello:app
Traceback (most recent call last):
  File "/home/tokibito/.virtualenvs/waitress-test/bin/waitress-serve", line 9, in <module>
    load_entry_point('waitress==0.8.7', 'console_scripts', 'waitress-serve')()
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/", line 216, in run
    _serve(app, **kw)
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/", line 11, in serve
    server = _server(app, **kw)
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/", line 39, in create_server
    adj = Adjustments(**kw)
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/", line 177, in __init__
    setattr(self, k, self._param_map[k](v))
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/", line 37, in asoctal
    return int(s, 8)
TypeError: int() can't convert non-string with explicit base
@mcdonc mcdonc closed this as completed in 8959cd9 Nov 30, 2013
Copy link

mcdonc commented Nov 30, 2013

Thank you, Waitress 0.8.8 will have the fix in it.

Copy link

mcdonc commented Nov 30, 2013

0.8.8 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants