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.
On Wednesday, 13 May 2020 at 06:27:40 UTC-7 roge...@gmail.com wrote: > Does this help? > > https://stackoverflow.com/questions/39146039/pickle-typeerror-a-bytes-like-object-is-required-not-str > > > On Wed, 13 May 2020 at 04:43, patito feo <xgp.l...@gmail.com> wrote: > >> Hi, >> >> Having this error when using python3. >> >> File "/xxxx/web2py/applications/admin/controllers/default.py" >> <https://desarrollo.mdplenus.com/admin/edit/admin/controllers/default.py>, >> line 1627, in errors >> error = pickle.load(fullpath_file) >> File "/xxxx >> <https://desarrollo.mdplenus.com/admin/edit/admin/controllers/default.py>/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, >> >> -- >> 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 >> >> <https://groups.google.com/d/msgid/web2py/da00b94c-bd5b-42cb-a669-12103c434c14%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/2df18a17-f33f-486a-ab71-22bc7d0ccbeen%40googlegroups.com.