On Wed, Feb 1, 2012 at 10:38 AM, Mark Hahn m...@hahnca.com wrote:
do you have a validate_doc_update function with any mention of an
options label?
No, I don't. I don't have anything named options in my db setup.
I suspect the options part of your node code is a red herring.
When I get
, Mark Hahn m...@hahnca.com wrote:
I'm getting this error on a put request for an attachment.
[error] [0.7533.1] OS Process Error 0.7546.1 ::
{unnamed_error,
(new ReferenceError(\options is not defined\, \\))}
This is my node code ...
headers
.
[error] [0.7533.1] OS Process Error 0.7546.1 ::
{unnamed_error,
(new ReferenceError(\options is not defined\, \\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type'] = contentType
0.7546.1 ::
{unnamed_error,
(new ReferenceError(\options is not defined\,
\\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type'] = contentType
headers['content-length
::
{unnamed_error,
(new ReferenceError(\options is not defined\,
\\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type'] = contentType
headers['content-length'] = contentLength
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.
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
What makes you think the error contains coffeescript?
On Wed, Feb 1, 2012 at 3:16 PM, Keith Gable zi...@ignition-project.comwrote:
Right, but if you're getting an error from CouchDB that contains
CoffeeScript, then clearly CouchDB is attempting to execute CoffeeScript as
JavaScript, which
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
I don't have any validation function.
On Wed, Feb 1, 2012 at 3:37 PM, Keith Gable zi...@ignition-project.comwrote:
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
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,
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?
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 m...@hahnca.com
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 zi...@ignition-project.comwrote:
Yes, JavaScript errors will give you an OS process error because they run
in a separate process
] [0.7533.1] OS Process Error 0.7546.1 ::
{unnamed_error,
(new ReferenceError(\options is not defined\, \\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type'] = contentType
headers['content-length'] = contentLength
dbPath = '/ri
::
{unnamed_error,
(new ReferenceError(\options is not defined\, \\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type'] = contentType
headers['content-length'] = contentLength
dbPath = '/ri/' + compDoc._id + '/' + attachmentName + '?rev
Process Error?
On Mon, Jan 30, 2012 at 2:29 PM, Mark Hahn m...@hahnca.com wrote:
I'm getting this error on a put request for an attachment.
[error] [0.7533.1] OS Process Error 0.7546.1 ::
{unnamed_error,
(new ReferenceError(\options is not defined
::
{unnamed_error,
(new ReferenceError(\options is not defined\, \\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type'] = contentType
headers['content-length'] = contentLength
dbPath = '/ri/' + compDoc._id
I don't know what you did there, but it seems there is an interaction in
between node and couch in which couch catches 'new ReferenceError(options
is not defined)' (it may be that node returns this error to couch via JS,
but really no idea because I don't know what you did there). From the
error
Thank you very much. I will look at it with wireshark.
On Tue, Jan 31, 2012 at 3:39 PM, CGS cgsmcml...@gmail.com wrote:
I don't know what you did there, but it seems there is an interaction in
between node and couch in which couch catches 'new ReferenceError(options
is not defined)' (it may
] [0.7533.1] OS Process Error 0.7546.1 :: {unnamed_error,
suggested the error caught by Erlang from JS engine, while the second part:
(new ReferenceError(\options is not defined\, \\))}
is the JS engine report for that error (which is translated like: the
'options' variable/element
I'm getting this error on a put request for an attachment.
[error] [0.7533.1] OS Process Error 0.7546.1 ::
{unnamed_error,
(new ReferenceError(\options is not defined\, \\))}
This is my node code ...
headers = {}
headers.Authorization = mh.dbAuthHdr
headers['content-type
22 matches
Mail list logo