You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Dave Cottlehuber <dc...@skunkwerks.at> on 2014/10/02 14:39:22 UTC

Re: Geocouch and CouchDB 1.6.1 comatibility

Hi Nikolai

What instructions are you using to build both couch & geocouch, & did you try this on a normal debian wheezy instance too successfully?

A+
Dave

-----Original Message-----
From: Nikolay Vlasov <vl...@gmail.com>
Reply: user@couchdb.apache.org <us...@couchdb.apache.org>>
Date: 29. September 2014 at 18:15:59
To: user@couchdb.apache.org <us...@couchdb.apache.org>>
Subject:  Geocouch and CouchDB 1.6.1 comatibility

> Hi everyone,
>  
> I'm trying to compile Geocouch with CouchDB 1.6.1 on Raspberry Pi with
> Raspbian Wheezy. The code compiled correctly, without errors but system
> doesn't pass tests. I'm also trying to implement example from this
> book: Getting
> Started with GEO, CouchDB, and Node.js
>  
> and on the request like the following:
>  
> http://192.168.0.234:5984/geoexample/_design/geocats/_spatial/points?bbox=-0,0,180,90  
>  
>  
> I'm getting this in the log (server freshly restarted):
>  
> [Mon, 29 Sep 2014 14:01:28 GMT] [info] [<0.32.0>] Apache CouchDB has
> started on http://0.0.0.0:5984/
> [Mon, 29 Sep 2014 14:01:53 GMT] [info] [<0.185.0>] Opening index for db:
> geoexample idx: _design/geocats sig: "76cb79e5a7640ee806c556ed29b882d5"
> [Mon, 29 Sep 2014 14:01:53 GMT] [info] [<0.189.0>] Starting index update
> for db: geoexample idx: _design/geocats
> [Mon, 29 Sep 2014 14:01:54 GMT] [error] [emulator] Error in process
> <0.195.0> with exit value:
> {undef,[{vtree_delete,delete,[{vtree,<0.186.0>,nil,#Fun,nil,2000,2000,4.000000e-01},[]],[]},{couch_spatial_updater,'-write_kvs/4-fun-0-',4,[{file,"src/couch_spatial_updater.erl"},{line,240}]},{lists,zipwith,3,[{file,"lists.erl"},{line,385}]},{couch_spatial_updater...  
>  
>  
>  
> [Mon, 29 Sep 2014 14:01:54 GMT] [error] [<0.117.0>] {error_report,<0.31.0>,
> {<0.117.0>,crash_report,
> [[{initial_call,
> {mochiweb_acceptor,init,
> ['Argument__1','Argument__2','Argument__3']}},
> {pid,<0.117.0>},
> {registered_name,[]},
> {error_info,
> {error,badarg,
> [{erlang,list_to_binary,
> [[{vtree_delete,delete,
> [{vtree,<0.186.0>,nil,
> #Fun,nil,
> 2000,2000,0.4},
> []],
> []},
>  
> {couch_spatial_updater,'-write_kvs/4-fun-0-',4,
> [{file,"src/couch_spatial_updater.erl"},
> {line,240}]},
> {lists,zipwith,3,
> [{file,"lists.erl"},{line,385}]},
> {couch_spatial_updater,write_kvs,4,
> [{file,"src/couch_spatial_updater.erl"},
> {line,251}]},
> {couch_spatial_updater,write_results,2,
> [{file,"src/couch_spatial_updater.erl"},
> {line,157}]}]],
> []},
> {couch_httpd,error_info,1,
> [{file,"couch_httpd.erl"},{line,818}]},
> {couch_httpd,send_error,2,
> [{file,"couch_httpd.erl"},{line,925}]},
> {couch_httpd,handle_request_int,5,
> [{file,"couch_httpd.erl"},{line,353}]},
> {mochiweb_http,headers,5,
> [{file,"mochiweb_http.erl"},{line,94}]},
> {proc_lib,init_p_do_apply,3,
> [{file,"proc_lib.erl"},{line,227}]}]}},
> {ancestors,
> [couch_httpd,couch_secondary_services,
> couch_server_sup,<0.32.0>]},
> {messages,[]},
> {links,[<0.108.0>,#Port<0.3159>]},
> {dictionary,
> [{mochiweb_request_qs,[{"bbox","-0,0,180,90"}]},
> {couch_rewrite_count,0},
> {mochiweb_request_cookie,[]}]},
> {trap_exit,false},
> {status,running},
> {heap_size,4181},
> {stack_size,24},
> {reductions,4077}],
> []]}}
>  
> Any ideas on what's wrong?
>  

—
Dave Cottlehuber
dch@skunkwerks.at
+43 699 11 08 96 13
Managing Director
Skunkwerks, GmbH
Firmenbuch 410811i