Hello, anybody tries web2py + mercurial versioning with python 3? Mercurial 5.2+ support python 3 but in web2py i have a bunch of errors:
<class 'TypeError'> %b requires a bytes-like object, or an object that implements __bytes__, not 'str' Версия web2py™ Version 2.19.1-stable+timestamp.2020.03.21.21.49.28 Python Python 3.7.4: /usr/local/bin/uwsgi (prefix: /var/www/web) Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File "/var/www/web/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/var/www/web/web2py/applications/admin/controllers/mercurial.py" <https://shanty.pp.ru/admin/default/edit/admin/controllers/mercurial.py>, line 87, in <module> File "/var/www/web/web2py/gluon/globals.py", line 422, in <lambda> self._caller = lambda f: f() File "/var/www/web/web2py/applications/admin/controllers/mercurial.py" <https://shanty.pp.ru/admin/default/edit/admin/controllers/mercurial.py>, line 45, in commit repo = hg_repo(path) File "/var/www/web/web2py/applications/admin/controllers/mercurial.py" <https://shanty.pp.ru/admin/default/edit/admin/controllers/mercurial.py>, line 30, in hg_repo if not os.environ.get('HGUSER') and not uio.config("ui", "username"): File "/var/www/web/lib/python3.7/site-packages/mercurial/ui.py", line 607, in config section, name, default=default, untrusted=untrusted File "/var/www/web/lib/python3.7/site-packages/mercurial/ui.py", line 626, in _config msg %= (section, name) TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' -- 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/25fb4f4d-3204-4792-b7c6-fd55348c4f21%40googlegroups.com.