1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. | Traceback (most recent call last): File "/home/franciscocosta/www/web2py/gluon/restricted.py", line 217, in restricted exec ccode in environment File "/home/franciscocosta/www/web2py/applications/test/controllers/default.py", line 51, in <module> File "/home/franciscocosta/www/web2py/gluon/globals.py", line 372, in <lambda> self._caller = lambda f: f() File "/home/franciscocosta/www/web2py/applications/test/controllers/default.py", line 27, in upload_data request.vars.multi_file.file, request.vars.multi_file.filename)) File "/home/franciscocosta/www/web2py/gluon/dal.py", line 8781, in insert ret = self._db._adapter.insert(self, self._listify(fields)) File "/home/franciscocosta/www/web2py/gluon/dal.py", line 5614, in insert values = self._insert(table, fields) File "/home/franciscocosta/www/web2py/gluon/dal.py", line 5604, in _insert values[fieldname] = self.represent(v, fieldtype) File "/home/franciscocosta/www/web2py/gluon/dal.py", line 5408, in represent return Binary(value) File "/usr/local/lib/python2.7/dist-packages/bson/binary.py", line 133, in __new__ "instance of %s" % (binary_type.__name__,)) TypeError: data must be an instance of str |