couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Vlasov <vlasov...@gmail.com>
Subject Geocouch and CouchDB 1.6.1 comatibility
Date Mon, 29 Sep 2014 14:05:36 GMT
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