You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2012/03/19 10:35:37 UTC
[Couchdb Wiki] Update of "Error_messages" by DaveCottlehuber
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "Error_messages" page has been changed by DaveCottlehuber:
http://wiki.apache.org/couchdb/Error_messages?action=diff&rev1=28&rev2=29
Comment:
note utf8 error from user@ - test needed
'''Problem'''
- When using any of the query server functionality 9views, shows, lists, update functions, changes filters, validations) you see:
+ When using any of the query server functionality (views, shows, lists, update functions, changes filters, validations) you see:
{{{
… OS Process Error … {os_process_error,{exit_status,127}}
@@ -488, +488 @@
'''Solution'''
- You Spidermonkey installation is not correct, this usually happens on Ubuntu, [[Installing_on_Ubuntu|Installing on Ubuntu]] for all the details.
+ Your Spidermonkey installation is not correct, this usually happens on Ubuntu, [[Installing_on_Ubuntu|Installing on Ubuntu]] for all the details.
+ === erlang stack trace contains '''bad_utf8_character_code''' ===
+
+ CouchDB 1.1.1 and later contains stricter handling of UTF8 encoding. If you are
+ replicating from older versions to newer versions, then this error may occur
+ during replication.
+
+ A number of work-arounds exist; the simplest is to do an in-place upgrade of the
+ relevant CouchDB and then compact prior to replicating.
+
+ Alternatively, if the number of documents impacted is small, use filtered replication
+ to exclude only those documents.
+
+ {{{
+ {<0.13261.0>,crash_report,
+ [[{initial_call,
+ {mochiweb_acceptor,init,
+ ['Argument__1','Argument__2','Argument__3']}},
+ {pid,<0.13261.0>},
+ {registered_name,[]},
+ {error_info,
+ {exit,
+ {ucs,{bad_utf8_character_code}},
+ [{xmerl_ucs,from_utf8,1},
+ {mochijson2,json_encode_string,2},
+ }}}
+
+ TODO: // confirm the above works //
+