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

Closed
tokibito opened this issue Nov 30, 2013 · 2 comments

Comments

@tokibito
Copy link

@tokibito 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/runner.py", line 216, in run
    _serve(app, **kw)
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/__init__.py", line 11, in serve
    server = _server(app, **kw)
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/server.py", line 39, in create_server
    adj = Adjustments(**kw)
  File "/home/tokibito/.virtualenvs/waitress-test/local/lib/python2.7/site-packages/waitress/adjustments.py", 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/adjustments.py", line 37, in asoctal
    return int(s, 8)
TypeError: int() can't convert non-string with explicit base
@mcdonc mcdonc closed this in 8959cd9 Nov 30, 2013
@mcdonc
Copy link
Member

@mcdonc mcdonc commented Nov 30, 2013

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

@mcdonc
Copy link
Member

@mcdonc 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.