0

i started using couchdb with python-couchdb recently. The problem is when i use futon run my views written in python i get the following error message:

Error: os_process_error

{exit_status,4}

even for the default view it crashes.

def fun(doc): yield None, doc i set query_server in local.ini to

[query_server] python=C:\Python27\Lib\site-packages\couchpy-0.2dev-py2.7.egg\couchpy enter image description here

Rakon_188
  • 573
  • 2
  • 7
  • 15

1 Answers1

1

Exit status 4 for Windows means that CouchDB is unable to open or locate file. I suppose you'd mess up couchpy project with couchpy view server. First one is just (afaik) client library, while second one is a part of another client library that ships with view server.

UPD: For Windows Python view server install with next line according your Python path:

[query_servers]
python=C:\Python27\Scripts\couchpy.exe
Kxepal
  • 4,659
  • 1
  • 19
  • 16