I want to use couchdb with web2py. It's a little bit hard, because the documenation is missing in the book, but I found something in https://pydal.readthedocs.io/en/latest/
Now I have tried cdb = DAL('couchdb://admin:password@localhost:5984/w2p') and I got: Error ticket for "admin"Ticket ID 213.147.184.70.2019-05-08.07-15-24.81e60920-22e8-44bb-a41d-2be4f454a73c <class 'TypeError'> a bytes-like object is required, not 'str'Version web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03 Python Python 3.5.3: /usr/bin/uwsgi-core (prefix: /usr)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Traceback (most recent call last): File "/home/www-data/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/www-data/web2py/applications/admin/controllers/default.py" <https://noezb.infosms.org:8443/admin/default/edit/admin/controllers/default.py>, line 2021, in <module> File "/home/www-data/web2py/gluon/globals.py", line 421, in <lambda> self._caller = lambda f: f() File "/home/www-data/web2py/applications/admin/controllers/default.py" <https://noezb.infosms.org:8443/admin/default/edit/admin/controllers/default.py>, line 1627, in errors error = pickle.load(fullpath_file) File "/home/www-data/web2py/gluon/html.py", line 692, in XML_unpickle return XML(marshal.loads(data)) TypeError: a bytes-like object is required, not 'str' Error snapshot [image: help] <https://noezb.infosms.org:8443/admin/default/ticket/admin/213.147.184.70.2019-05-08.07-15-24.81e60920-22e8-44bb-a41d-2be4f454a73c#> TypeError(a bytes-like object is required, 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/CAMcwXCdaVcGZPHVtsPhNMbi466moB2DNZ%2B8HfZ6L_ZBgmKnLQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.