Thanks. I guess everyone thought I new what OS Process error meant. I will investigate based on this new understanding.
On Wed, Feb 1, 2012 at 4:32 PM, Keith Gable <[email protected]>wrote: > Yes, JavaScript errors will give you an OS process error because they run > in a separate process (couchjs). > > Maps and reduces will execute any time you update a document, so maybe this > is a map or reduce function. But then how did it work initially? > On Feb 1, 2012 6:27 PM, "Mark Hahn" <[email protected]> wrote: > > > I know I have no validation function because I've never written one in my > > life. > > > > Someone else said that it was from javascript. It starts with "OS > Process > > error". Is that normally what you get if you have a javascript error? > > Does it say that because the javascript is running in another process? > > > > Do view maps run in on an attachment put? Is there any other javascript > > code that runs on a put? > > > > On Wed, Feb 1, 2012 at 3:53 PM, Keith Gable <[email protected] > > >wrote: > > > > > So you're PUTting an attachment and getting a JavaScript error? Unless > > I'm > > > forgetting something, wouldn't that have to come about from a > validation > > > function? > > > > > > --- > > > Keith Gable > > > A+ Certified Professional > > > Network+ Certified Professional > > > Storage+ Certified Professional > > > Web Developer > > > > > > > > > > > > On Wed, Feb 1, 2012 at 5:46 PM, Mark Hahn <[email protected]> wrote: > > > > > > > I don't have any validation function. > > > > > > > > On Wed, Feb 1, 2012 at 3:37 PM, Keith Gable < > > [email protected] > > > > >wrote: > > > > > > > > > You pasted respStr = " ... - that part looks like CoffeeScript, > and I > > > > > assumed it was being spat at you by CouchDB. Rereading clarified > that > > > for > > > > > me. > > > > > > > > > > I agree with others that the ReferenceError is being thrown at you > > from > > > > > JavaScript, but I don't know why that is. Does your compiled > > > CoffeeScript > > > > > make sense if you read it? Maybe your validation function isn't > valid > > > > > JavaScript for one reason or another, or maybe it's valid but it's > > > > > attempting to initialize options in a way that CouchDB isn't > liking. > > > > > > > > > > --- > > > > > Keith Gable > > > > > A+ Certified Professional > > > > > Network+ Certified Professional > > > > > Storage+ Certified Professional > > > > > Web Developer > > > > > > > > > > > > > > > > > > > > On Wed, Feb 1, 2012 at 5:24 PM, Mark Hahn <[email protected]> wrote: > > > > > > > > > > > What makes you think the error contains coffeescript? > > > > > > > > > > > > On Wed, Feb 1, 2012 at 3:16 PM, Keith Gable < > > > > [email protected] > > > > > > >wrote: > > > > > > > > > > > > > Right, but if you're getting an error from CouchDB that > contains > > > > > > > CoffeeScript, then clearly CouchDB is attempting to execute > > > > > CoffeeScript > > > > > > as > > > > > > > JavaScript, which isn't valid. > > > > > > > > > > > > > > --- > > > > > > > Keith Gable > > > > > > > A+ Certified Professional > > > > > > > Network+ Certified Professional > > > > > > > Storage+ Certified Professional > > > > > > > Web Developer > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Feb 1, 2012 at 11:58 AM, Mark Hahn <[email protected]> > > > wrote: > > > > > > > > > > > > > > > And technically, coffeescript isn't part of node. It is just > > > > > > javascript > > > > > > > > which runs anywhere, like the browser. I even write my > couchdb > > > > views > > > > > > in > > > > > > > > coffeescript. Works great. > > > > > > > > > > > > > > > > Think of it as complex editor macros. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
