Re: Couchdb 2.3.1 python Views

2019-05-13 Thread Joan Touzet
HI Victor, Are you running CouchDB from your command line? If you're running it as a service, you'll need to get that environment variable into the context for the process. You might do better to # chmod +x /usr/bin/couchpy and ensuring the first line is a "shebang" of the form:

Re: Couchdb 2.3.1 python Views

2019-05-13 Thread Victor CORREIA
Thanks Joan for your anwser. I 've readed release notes ;-), it isn't in production platform, it's in dev. I'm testing couchdb 2.3.1 before upgrade critical environment. until 2.2.1 , we used pycouchdb to generate our views in python2. in local.ini, i had: [query_servers] python =

Re: Couchdb 2.3.1 python Views

2019-05-13 Thread Joan Touzet
Hi Victor, The way external view servers are invoked has changed in 2.3.x and up, due to security reasons. You should always read the release notes before blindly upgrading. The release notes for 2.3.x are here: http://docs.couchdb.org/en/stable/whatsnew/2.3.html#upgrade-notes -Joan On

Couchdb 2.3.1 python Views

2019-05-13 Thread Victor CORREIA
Hi couchdb Users. I used couchdb and i was upgraded couchdb from 2.2.1 to 2.3.1 , but pb my python views don't works. I have try to change like doc , but no success. export COUCHDB_QUERY_SERVER_PYTHON="/path/to/python/query/server.py with args" I tried; I have install python3. export