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 0D6B89685 for ; Sat, 21 Jul 2012 14:40:41 +0000 (UTC) Received: (qmail 64561 invoked by uid 500); 21 Jul 2012 14:40:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 64245 invoked by uid 500); 21 Jul 2012 14:40:37 -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 64215 invoked by uid 99); 21 Jul 2012 14:40:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 14:40:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markus4mayr.lists@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bk0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 14:40:28 +0000 Received: by bkcjf3 with SMTP id jf3so3875739bkc.11 for ; Sat, 21 Jul 2012 07:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=QxmHwPf9LPGaBV67nhyWT7BNV1ZRza2E4fR98pkIoyE=; b=TJejd4RToxCDsMIgzjkX/F9UNOhN7bX3qwhKgkJBC3K/tuG3LnshVkj4C9/IYa909P QpKzOs1oRkDYNH2UWisTp4QUzpFNc1lU6gZX2fMm9olqfcDImHPhLJ0pSKuq46ZZJa/U HnL+DuA8nXqaSCmZgbUq3KoaZdEPwx59omdnW1LRI7pGho5L49l1m/kbisXnhQmuvLxF /bIXS+rKxlpxjRsCr5VSkGsCbidn2HYH5dB5GNZY4CD6lUoGXxtopU+hMkzd0/N9YKS7 YojInuMuluRgVb68VlkRJyg22O9ReVdOlw44BzKJOoN5aEl7SAbNB2UNGbhgVn01Ufc0 fpmw== Received: by 10.204.152.6 with SMTP id e6mr4748286bkw.85.1342881607149; Sat, 21 Jul 2012 07:40:07 -0700 (PDT) Received: from [78.104.178.152] ([78.104.178.152]) by mx.google.com with ESMTPS id u8sm4172293bks.0.2012.07.21.07.40.05 (version=SSLv3 cipher=OTHER); Sat, 21 Jul 2012 07:40:06 -0700 (PDT) Message-ID: <500ABF44.40005@gmail.com> Date: Sat, 21 Jul 2012 16:40:04 +0200 From: ScubbX User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Error in Spatial-Index-Creation ? Content-Type: multipart/alternative; boundary="------------020804000205000700040101" X-Virus-Checked: Checked by ClamAV on apache.org --------------020804000205000700040101 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hello! I get an error-return when executing a spatial view for the first time. Everything goes fine when using non-spatial views. The index-generation is aborting and the following error is displayed: |{"error":"{function_clause, [{couch_spatial_updater,process_result, [[<<\"railway\">>||,[<<\"8091320\">>,<<\"node\">>,<<\"halt\">>]]]}, {couch_spatial_updater,'-process_results/1-fun-0-'||,2}, {lists,foldl,3}, {lists,map,2}, {lists,map,2}, {lists,map,2}, {couch_spatial_updater||,spatial_docs,2}, {couch_spatial_updater,spatial_compute,2}]}","reason":"{gen_server,call,[<0.18574||.0>,{request_group,445226},infinity]}"}| This happens with different CouchDB installations (Ubuntu 12.04, a self-compiled 1.2.0 and an older CouchBase in a VirtualMachine) on large databases (in this case 440.000 entries, the error happens after about processing 18.000). The view worked fine when executed on a database with only about 2.300 entries. The spatial view looks like this (it has become a bit bloated because of debugging): function(doc) { if(doc.geometry && doc.properties) { if(doc.properties.tags && doc.geometry.coordinates){ if(doc.properties.tags.amenity) { if(doc.properties.tags.amenity == "bicycle_parking") { emit(doc.geometry, 1); }}}}} I tried other spatial-views but they produce the same error. It seems to me like an internal problem, or could there be something wrong with the data? The document that produced the error is this: {"total_rows":445220,"offset":413135,"rows":[ {"id":"node8091320", "key":"node8091320", "value":{ "_id":"node8091320", "_rev":"1-2eb0febff1242a1aa7514991a03a5e05", "geometry":{ "type":"Point", "coordinates":[16.3148334,48.2232677]}, "type":"Feature", "properties":{ "changeset":9169859, "uid":129531, "tags":{ "railway":"halt", "uic_ref":"8100271", "name":"Hernals" }, "timestamp":"2011-08-30T18:27:09Z", "version":28, "user":"almich" } } } ]} I hope you can see something wrong her and would appreciate your help or comment. Greetings, Markus PS: The installations of the master-branch of CouchDB is going fine, but the master of GeoCouch does not compile for me. --------------020804000205000700040101--