histrio/py-couchdb

dont see the language pull-down menu in Futon

cyrilthank opened this issue · 3 comments

Hi

I don't see the language pull-down menu in Futon
after following the steps in
https://pycouchdb.readthedocs.io/en/latest/views.html

modified the /opt/couchdb/etc/local.ini
to
[query_servers]
python3 = /usr/local/bin/couchpy
systemctl stop couchdb
systemctl start couchdb

Can you please help since I am getting the error
Save failed. Reason: Compilation of the map function in the 'pyview' view failed: Expression does not eval to a function. (def fun(doc): if "name" in doc: yield doc['name'], None)
when I use python in the view code

I am using python 3.7.4 on Ubuntu 18.04.3 LTS