web2py python3

112 views
Skip to first unread message

patito feo

unread,
May 12, 2020, 2:43:33 PM5/12/20
to web2py-users
Hi,

Having this error when using python3.

 File "/xxxx/web2py/applications/admin/controllers/default.py", line 1627, in errors
error = pickle.load(fullpath_file)
File "/xxxx/web2py/gluon/html.py", line 692, in XML_unpickle
return XML(marshal.loads(data))
TypeError: a bytes-like object is required, not 'str'

Any ideas?

Cheers,

AGRogers

unread,
May 13, 2020, 9:27:40 AM5/13/20
to web...@googlegroups.com

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/da00b94c-bd5b-42cb-a669-12103c434c14%40googlegroups.com.

Neil

unread,
Nov 1, 2020, 2:23:37 PM11/1/20
to web2py-users
For anyone else who runs into this. I had this problem when migrating from py2 to py3. Clearing out the errors folder worked for me. 
Reply all
Reply to author
Forward
0 new messages