couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Vlasov <vlasov...@gmail.com>
Subject Fwd: Geocouch and CouchDB 1.6.1 comatibility
Date Mon, 06 Oct 2014 01:35:12 GMT
Hi Dave,

I followed the following instructions:

CouchDB:
http://jeeonthepi.blogspot.sg/2014/05/installing-couchdb-on-raspberry-pi.html
The CouchDB works ok, I'm playing around with it now.

For Geocouch I tried the following two instructions (one at a time with
recompiling both Couch and Geocouch between them):
1.  https://github.com/couchbase/geocouch
2. http://wiki.openstreetmap.org/wiki/OSMCouch#Installation

The interesting thing is that in both cases I couldn't find the script
named './bootstrap' in the cloned project. So I had to skip this step and
start with './config'.

And no, I haven't tried it on normal Debian Wheezy. Is it non-compatible?

---------- Forwarded message ----------
From: Nikolay Vlasov <vlasovnv1@gmail.com>
Date: Mon, Sep 29, 2014 at 10:05 PM
Subject: Geocouch and CouchDB 1.6.1 comatibility
To: user@couchdb.apache.org


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
<http://www.amazon.com/Getting-Started-GEO-CouchDB-Node-js/dp/1449307523>
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<couch_spatial_util.5.112812810>,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<couch_spatial_util.5.112812810>,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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message