I updated to Python 3.8 on Arch Linux today and I had the same problem with 'escape'. I patched the languages.py file and got web2py to start, but then hit another error:
Traceback (most recent call last): File "/home/www/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/www/web2py/applications/x10_security/models/db.py" <https://home.woodring.us/admin/default/edit/x10_security/models/db.py>, line 55, in <module> auth.define_tables(username=False, signature=False) File "/home/www/web2py/gluon/tools.py", line 2092, in define_tables super(Auth, self).define_tables(username, signature, migrate, fake_migrate)._table_signature_list File "/home/www/web2py/gluon/authapi.py", line 322, in define_tables db.define_table( File "/home/www/web2py/gluon/packages/dal/pydal/base.py", line 592, in define_table table = self.lazy_define_table(tablename, *fields, **kwargs) File "/home/www/web2py/gluon/packages/dal/pydal/base.py", line 623, in lazy_define_table self._adapter.create_table( File "/home/www/web2py/gluon/packages/dal/pydal/adapters/base.py", line 798, in create_table return self.migrator.create_table(*args, **kwargs) File "/home/www/web2py/gluon/packages/dal/pydal/migrator.py", line 299, in create_table sql_fields_old = pickle.load(tfile) TypeError: file must have 'read', 'readinto' and 'readline' attributes I looked for a discussion or patch for this, but I didn't find one. Can anybody tell me how to fix this? -- 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/facebca6-9999-4cd4-a643-a84d2a33e613%40googlegroups.com.