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: How to notify when an update happened in the document

2019-05-13 Thread Adam Kocoloski
Hi, The /db/_changes endpoint will inform you of updates to documents in CouchDB. If you want the content of the current “winning” revision of the document to be included with the notification, add include_docs=true to the query string when you make the request. Cheers, Adam > On May 13,

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

How to notify when an update happened in the document

2019-05-13 Thread Soheil Pourbafrani
Hi, Using a stream processing engine I need CouchDB data to find out how to perform processing on the incomming data. The CouchDB data can be updated. I don't want to read data from CouchDB on each incomming message processing. So does CouchDB provide any feature for this?