couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Error messages" by enda
Date Fri, 11 Sep 2009 14:48:18 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by enda:
http://wiki.apache.org/couchdb/Error_messages

------------------------------------------------------------------------------
    * [#CrashOnStartup Crash On Startup]
   * [#RuntimeErrors Runtime Errors]
    * [#functionraisedexceptionCannotencodeundefinedvalueasJSON function raised exception
(Cannot encode 'undefined' value as JSON)]
+   * [#replicationreceivedexceptionerrorbadmatchreasonerroralreadypresent replication received
exception ({"error":"badmatch","reason":"{error,already_present}"})]
  
  [[Anchor(InstallationErrors)]]
  = Installation errors =
@@ -301, +302 @@

  
  While the above guard will work in most cases, it's worth bearing !JavaScript's falsy set
of values in mind. Testing against a property with a value of `0` (zero), `''` (empty String),
`false` or `null` will return false. If this is undesired a guard of the form `if (doc.foo
!== undefined)` should do the trick.
  
+ [[Anchor(replicationreceivedexceptionerrorbadmatchreasonerroralreadypresent)]]
+ == replication received exception ({"error":"badmatch","reason":"{error,already_present}"})
==
+ 
+ === Problem ===
+ 
+ A replication request receives the following HTTP response
+ 
+ {{{
+ HTTP/1.1 500 Internal Server Error - {"error":"badmatch","reason":"{error,already_present}"}
+ }}}
+ 
+ === Solution ===
+ 
+ Alas, there is no information about this at present - it is being looked into. Observed
on a 0.9 release running on x86_64 Linux
+ 

Mime
View raw message