You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Alexander Shorin <kx...@gmail.com> on 2011/10/02 01:15:56 UTC

Re: Inconsistent error creating view

Hi, Ben.

You have mentioned python version  - you're using couchdb-python qs? Could
you share view function(s) code?
On Sep 29, 2011 8:17 PM, "Ben Hunter" <bj...@gmail.com> wrote:
> Hi,
>
> I'm still very new - getting discouraged by what appears to be very
> inconsistent behavior. I have a simple view that I've written that will
> return a user name and doc id as a key - value pair. It will work once,
then
> if I try to tweak it or add a reduce function, it won't work again - even
if
> I return it to it's exact previous state. All I really want for now is to
> know how many different user names I have among my 150K documents.
>
> I'm using python 2.7, couchdb 1.1.0.
>
>
>
> =ERROR REPORT==== 29-Sep-2011::08:49:24 ===
> Error in process <0.174.0> with exit value:
>
{{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2},{couch_query_servers,os_reduce,3},{couch_query_servers,reduce,3},{couch_view_group,'-init_group/4-fun-1-',4},{couch_btree,'-write_node/3-lc$^0/1-0-'...
>
> [info] [<0.137.0>] 127.0.0.1 - - 'GET'
>
/tweets-user-timeline-traders/_design/count_names/_view/Count_of_names?limit=11&descending=true&reduce=false
> 500
> [error] [<0.167.0>] ** Generic server <0.167.0> terminating
> ** Last message in was
{'EXIT',<0.166.0>,{os_process_error,{exit_status,1}}}
> ** When Server state ==
> {file,{file_descriptor,prim_file,{#Port<0.1524>,20}},
> 0,3869}
> ** Reason for termination ==
> ** {os_process_error,{exit_status,1}}
>
>
> =ERROR REPORT==== 29-Sep-2011::08:49:24 ===
> ** Generic server <0.167.0> terminating
> ** Last message in was
{'EXIT',<0.166.0>,{os_process_error,{exit_status,1}}}
> ** When Server state ==
> {file,{file_descriptor,prim_file,{#Port<0.1524>,20}},
> 0,3869}
> ** Reason for termination ==
> ** {os_process_error,{exit_status,1}}
> [error] [<0.167.0>] {error_report,<0.31.0>,
> {<0.167.0>,crash_report,
> [[{initial_call,{couch_file,init,['Argument__1']}},
> {pid,<0.167.0>},
> {registered_name,[]},
> {error_info,
> {exit,
> {os_process_error,{exit_status,1}},
> [{gen_server,terminate,6},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,[<0.166.0>,<0.165.0>]},
> {messages,[{'EXIT',<0.169.0>,shutdown}]},
> {links,[]},
> {dictionary,[]},
> {trap_exit,true},
> {status,running},
> {heap_size,610},
> {stack_size,24},
> {reductions,1646}],
> []]}}
>
> =CRASH REPORT==== 29-Sep-2011::08:49:24 ===
> crasher:
> initial call: couch_file:init/1
> pid: <0.167.0>
> registered_name: []
> exception exit: {os_process_error,{exit_status,1}}
> in function gen_server:terminate/6
> ancestors: [<0.166.0>,<0.165.0>]
> messages: [{'EXIT',<0.169.0>,shutdown}]
> links: []
> dictionary: []
> trap_exit: true
> status: running
> heap_size: 610
> stack_size: 24
> reductions: 1646
> neighbours: