Re: Please Urgent !!! CouchDB crashed on Windows

2010-09-10 Thread Dave Cottlehuber
On 11 September 2010 01:23, Panop Suvaphrom wrote: > Hi, > >         Did anyone try to use couchdb production on window. >         I have try it but never success ... always crash about >         3 hours later. I think the view is corrupted because >          when i delete on _view_desing  file, t

Re: access a field of a document

2010-09-10 Thread Dave Cottlehuber
On 11 September 2010 02:32, Robert Wierschke wrote: > Hi, > > can I update/add a specific field of a document without GET the old version > of the complete document and PUT the new version. E.g. something like > > curl -X GET http://localhost:5984/mydb/mydocument/newfield -d {"newfild": > "new val

Couch Camp 2010 - Thanks! (plus pics)

2010-09-10 Thread Eli Stevens (Gmail)
Just wanted to say "Thanks!" to everyone who made Couch Camp a success - I had a great time. I took a couple photos (at the time it was more wanting to take pics of the ranch rather than the goings-on), but I got a few of most of the audience at Ted's talk -- sorry to those sitting behind me. :-/

access a field of a document

2010-09-10 Thread Robert Wierschke
Hi, can I update/add a specific field of a document without GET the old version of the complete document and PUT the new version. E.g. something like curl -X GET http://localhost:5984/mydb/mydocument/newfield -d {"newfild": "new value"} Is it possible to GET a specific field without creating a v

android couchdb: how are you using it ?

2010-09-10 Thread sgoto
hey everyone, i'm excited to give the android couchdb app a try and i was wondering if anyone has done any work on it yet. i have a few random questions: how are you connecting to it (it runs on 127.0.0.1 which means i cant access it from an external computer) ? are you sshing into the an

Re: SproutCore as CouchApp

2010-09-10 Thread Ido Ran
Thank you all. One thing that might be a problem is that SproutCore generate files in directories with long numbers and then they advice to use hard link from the root of the virtual context in the web server to the actual directory name. Do you think it will be possible to use virtual host of Cou

Re: SproutCore as CouchApp

2010-09-10 Thread James Hayton
I have done it and can say it works really well. Security was a huge concern I ran into and ultimately the reason I had to add a middle tier, but otherwise it was all good. James Sent Via iPhone On Sep 10, 2010, at 10:47 AM, Noah Slater wrote: > I hate "me too" posts, but this sounds REALLY

Re: SproutCore as CouchApp

2010-09-10 Thread Noah Slater
I hate "me too" posts, but this sounds REALLY interesting. I hope you keep us updated with your progress! On 10 Sep 2010, at 16:58, Ido Ran wrote: > Hi, > I would like to know if it is possible (even just in theory at this point in > time) to deploy SproutCore application as CouchApp. > From wha

Re: SproutCore as CouchApp

2010-09-10 Thread Thomas Rampelberg
Should actually be really easy, couchapp makes working with stuff like that ridiculously simple. Just setup a couchapp and put the SproutCore files in and you should be good to go. On Fri, Sep 10, 2010 at 8:58 AM, Ido Ran wrote: > Hi, > I would like to know if it is possible (even just in theory

SproutCore as CouchApp

2010-09-10 Thread Ido Ran
Hi, I would like to know if it is possible (even just in theory at this point in time) to deploy SproutCore application as CouchApp. >From what I've understand SproutCore are static content once they are build and to deploy them on web-server like apache you just copy the files to the server. Couch

Re: Couch not releasing deleted files

2010-09-10 Thread Juan Jose Comellas
It also happened to me with Ubuntu 8.04 and CouchDB 0.10.x. The only way I found to solve the problem was by restarting CouchDB. On Thu, Sep 9, 2010 at 10:25 AM, [mRg] wrote: > [CouchDB Version : 0.11] > [OS: RHEL 5.5] > > Hi all, > > We are seeing some odd behaviour with CouchDb not releasing

RE: Please Urgent !!! CouchDB crashed on Windows

2010-09-10 Thread Panop Suvaphrom
I try both on http://people.apache.org/~mhammond/dist/1.0.1/ http://www.couch.io/get (1.0.0) turn log lever to off. disk space is enough. cpu & memory is enough. do compaction schedule. Thanks, _

Re: Please Urgent !!! CouchDB crashed on Windows

2010-09-10 Thread David Coallier
> >         Did anyone try to use couchdb production on window. >         I have try it but never success ... always crash about >         3 hours later. I think the view is corrupted because >          when i delete on _view_desing  file, the couchdb >         seems to be operable again. > > >    

Please Urgent !!! CouchDB crashed on Windows

2010-09-10 Thread Panop Suvaphrom
Hi, Did anyone try to use couchdb production on window. I have try it but never success ... always crash about 3 hours later. I think the view is corrupted because when i delete on _view_desing file, the couchdb seems to be operable again.

Re: Couch not releasing deleted files

2010-09-10 Thread [mRg]
I also tested by replicating to a CouchDB 1.0.1 instance and the same thing occurs (although now the unreleased files are in the .deleted directory). I can reproduce this by the following steps: 1> Load a couchdb instance with dummy data 2> Execute a view 3> Run a compact / cleanup on the view 4>

Re: Testing map/reduce functions

2010-09-10 Thread Julian Doherty
I've used Rhino (Java based Javascript interpreter) to test map/reduce functions before. You need to expose an "emit" function and probably make assertions on what gets passed to it. Apart from that the map/reduce functions as called by Couch are pretty idempotent, so are easy to test in isolation

Re: file operation errors in log

2010-09-10 Thread Zsolt Czinkos
Hi Dave, I've done "make install" as root since I installed couchdb to /usr/local. [r...@host]# ls -l /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_changes.beam /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_httpd_view.beam -rw-r--r-- 1 root root 7548 Sep 9 11:16 /usr/local

RE: Couch not releasing deleted files

2010-09-10 Thread Panop Suvaphrom
Yeah, me too. On couch 1.0.1 with ubuntu 10.04 Do you have any idea to operate on this ? -Original Message- From: [mRg] [mailto:emar...@gmail.com] Sent: Thursday, September 09, 2010 8:25 PM To: user@couchdb.apache.org Subject: Couch not releasing deleted files [CouchDB Version : 0.11]