I am using either Rocket or Azure, and get the same error.

Yes, there is a ticket, which I didn't realize before:

Traceback (most recent call last):
  File "R:\web2py\gluon\restricted.py", line 219, in restricted
    exec(ccode, environment)
  File "R:\web2py\applications\myapp\models\db.py", line 321, in <module>
    'aaaaaaaaaaaaaaaaaaaaaaaaaaaa')
  File "R:\web2py\gluon\tools.py", line 884, in __init__
    self.request_vars = request and request.vars or current.request.vars
  File "R:\web2py\gluon\globals.py", line 316, in vars
    self.parse_all_vars()
  File "R:\web2py\gluon\globals.py", line 287, in parse_all_vars
    for key, value in iteritems(self.post_vars):
  File "R:\web2py\gluon\globals.py", line 308, in post_vars
    self.parse_post_vars()
  File "R:\web2py\gluon\globals.py", line 244, in parse_post_vars
    dpost = cgi.FieldStorage(fp=body, environ=env, keep_blank_values=1)
  File "c:\python37\lib\cgi.py", line 491, in __init__
    self.read_single()
  File "c:\python37\lib\cgi.py", line 682, in read_single
    self.read_binary()
  File "c:\python37\lib\cgi.py", line 704, in read_binary
    self.file.write(data)
  File "c:\python37\lib\tempfile.py", line 481, in func_wrapper
    return func(*args, **kwargs)
TypeError: write() argument must be str, not bytes


Thanks!

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/29f98bbe-ef10-4fb4-8201-29114d484910%40googlegroups.com.

Reply via email to