I have a Apache CouchDB 0.9.1 database that I am trying to copy into a
CouchDB 1.0.1 install. I installed 1.0.1 into a new directory and the
Test Suite ran without problems. I then copied the 0.9.1 database file
into the new 1.0.1 data directory. Using the Futon browser I can see the
database and query the list of records. However, when updating a field
in one of the documents and then attempting to save the document, I get
this error. Any help would be greatly appreciated.



[Tue, 07 Dec 2010 15:18:31 GMT] [info] [<0.697.0>] 10.14.8.11 - - 'PUT'
/mydatabase/7171a97f2acea6f53dbd53060a7eb65e 201

[Tue, 07 Dec 2010 15:18:31 GMT] [error] [<0.371.0>] ** Generic server
<0.371.0> terminating
** Last message in was {pread_iolist,1130241}
** When Server state ==
{file,{file_descriptor,prim_file,{#Port<0.2225>,19}},
                              1127541,1134686}
** Reason for termination ==
** {{badmatch,eof},
    [{couch_file,read_raw_iolist_int,3},
     {couch_file,handle_call,3},
     {gen_server,handle_msg,5},
     {proc_lib,init_p_do_apply,3}]}


[Tue, 07 Dec 2010 15:18:31 GMT] [error] [<0.371.0>] {error_report,<0.31.0>,
    {<0.371.0>,crash_report,
     [[{initial_call,{couch_file,init,['Argument__1']}},
       {pid,<0.371.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {{badmatch,eof},
                [{couch_file,read_raw_iolist_int,3},
                 {couch_file,handle_call,3},
                 {gen_server,handle_msg,5},
                 {proc_lib,init_p_do_apply,3}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,[<0.370.0>]},
       {messages,[]},
       {links,[#Port<0.2225>,<0.375.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,2584},
       {stack_size,24},
       {reductions,20234}],
      [{neighbour,
           [{pid,<0.375.0>},
            {registered_name,[]},
            {initial_call,{couch_ref_counter,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,[<0.374.0>,<0.373.0>,<0.370.0>]},
            {messages,[]},
            {links,[<0.371.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,1597},
            {stack_size,9},
            {reductions,1039}]}]]}}

[Tue, 07 Dec 2010 15:18:31 GMT] [error] [<0.697.0>] Uncaught error in
HTTP request: {exit,
                                 {{{badmatch,eof},
                                   [{couch_file,read_raw_iolist_int,3},
                                    {couch_file,handle_call,3},
                                    {gen_server,handle_msg,5},
                                    {proc_lib,init_p_do_apply,3}]},
                                  {gen_server,call,
                                   [<0.371.0>,
                                    {pread_iolist,1130241},
                                    infinity]}}}

[Tue, 07 Dec 2010 15:18:31 GMT] [info] [<0.697.0>] Stacktrace:
[{gen_server,call,3},
             {couch_file,pread_binary,2},
             {couch_file,pread_term,2},
             {couch_btree,get_node,2},
             {couch_btree,lookup,3},
             {couch_btree,lookup,2},
             {couch_db,get_full_doc_info,2},
             {couch_db,open_doc_int,3}]


Email Disclaimer:  www.stjude.org/emaildisclaimer

Reply via email to