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

Py3 Support #17

Open
stuertz opened this issue Dec 2, 2019 · 0 comments
Open

Py3 Support #17

stuertz opened this issue Dec 2, 2019 · 0 comments

Comments

@stuertz
Copy link

stuertz commented Dec 2, 2019

I get the following Traceback with py3

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/waitress/channel.py", line 356, in service
    task.service()
  File "/usr/local/lib/python3.8/site-packages/waitress/task.py", line 172, in service
    self.execute()
  File "/usr/local/lib/python3.8/site-packages/waitress/task.py", line 440, in execute
    app_iter = self.channel.server.application(environ, start_response)
  File "/usr/local/lib/python3.8/site-packages/requestlogger/__init__.py", line 55, in __call__
    content_length = content_lengths[0] if content_lengths else len(b''.join(retval))
TypeError: sequence item 0: expected a bytes-like object, str found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant