Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BCA29318 for ; Thu, 29 Sep 2011 16:17:56 +0000 (UTC) Received: (qmail 12001 invoked by uid 500); 29 Sep 2011 16:17:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 11924 invoked by uid 500); 29 Sep 2011 16:17:53 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 11914 invoked by uid 99); 29 Sep 2011 16:17:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 16:17:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bjameshunter@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 16:17:47 +0000 Received: by ywp31 with SMTP id 31so1039568ywp.11 for ; Thu, 29 Sep 2011 09:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=HtyTcpcspjocS5zRXdLYDQIiIIzZGxwWdjIaqncfvl8=; b=TfPlVh8vogTc2a9t0sYxMRMU+i5pKKBo7ngF9cbwLJQ2y+mQJ+QoYWkqaV3B4j6Ly1 5OADHcUaHqx8zaDlKGU7/NRM9S7BYsfiPlHXdcQgjms/xgEh+2dbTBi27zBjlMkbui/C IEIkeEGeaTdIovFG3ZcxSg1j0kHCy5aStJEV4= MIME-Version: 1.0 Received: by 10.236.165.102 with SMTP id d66mr66226682yhl.33.1317313046428; Thu, 29 Sep 2011 09:17:26 -0700 (PDT) Received: by 10.147.167.9 with HTTP; Thu, 29 Sep 2011 09:17:26 -0700 (PDT) Date: Thu, 29 Sep 2011 09:17:26 -0700 Message-ID: Subject: Inconsistent error creating view From: Ben Hunter To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf30563c3730ba1404ae16d83f --20cf30563c3730ba1404ae16d83f Content-Type: text/plain; charset=ISO-8859-1 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: --20cf30563c3730ba1404ae16d83f--