Hi, Running web2py in virtualenviroment (python 3.9.5, it happens also in
python 3.10.10)

----------------------------

ERROR:Rocket.Errors.Thread-3:Traceback (most recent call last):

  File "/Users/z/dev/web2py/gluon/rocket.py", line 1294, in run
    self.run_app(conn)

  File "/Users/z/dev/web2py/gluon/rocket.py", line 1796, in run_app
    output = self.app(environ, self.start_response)

  File "/Users/z/dev/web2py/gluon/main.py", line 648, in app_with_logging
    ret[0] = wsgiapp(environ, responder2)

  File "/Users/z/dev/web2py/gluon/main.py", line 562, in wsgibase
    return http_response.to(responder, env=env)

  File "/Users/z/dev/web2py/gluon/http.py", line 129, in to
    responder(status, rheaders)

  File "/Users/z/dev/web2py/gluon/main.py", line 643, in responder2
    return responder(s, h)

  File "/Users/z/dev/web2py/gluon/rocket.py", line 1759, in start_response
    self.header_set = Headers(response_headers)

  File "/Users/z/.pyenv/versions/3.9.5/lib/python3.9/wsgiref/headers.py",
line 39, in __init__
    self._convert_string_type(v)

  File "/Users/z/.pyenv/versions/3.9.5/lib/python3.9/wsgiref/headers.py",
line 45, in _convert_string_type
    raise AssertionError("Header names/values must be"

AssertionError: Header names/values must be of type str (got 50)

----------------------------
Any hints?
Thank you

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAKC%3DaX5qpHSYoGerKL_MMtB1ihrhrf%3Dmt8ftduMUVTZkHOHbrw%40mail.gmail.com.

Reply via email to