hovercraft
hovercraft copied to clipboard
hovercraft:query_view is broken in couchdb 0.11
I ran hovercraft after a change from attachements to atts, following cases are working 1.open_doc 2. save_doc 3. open_db But query_view is not working, here is the trace info, hovercraft:query_view(<<"test">>, <<"d1">>, <<"v1">>). ** exception error: no function clause matching
couch_httpd_view:'-make_view_fold_fun/6-fun-0-'({{[<<"item1">>,
<<"shirt">>],
<<"1">>},null},
{[],[]},
{10000000000,
0,
undefined,
[]},
3,
{db,
<0.6164.0>,
<0.6165.0>,
nil,<<"1255642240817000">>,
<0.6162.0>,
<0.6166.0>,
{db_header,
1,69,0,
{206252,
{11,1}},
{206366,
12},
nil,0,
nil,nil,
1000},
69,
{btree,
<0.6162.0>,
{206252,
{11,1}},
#Fun<couch_db_updater.8.117532479>,
#Fun<couch_db_updater.9.105507025>,
#Fun<couch_db_updater.7.32442936>,
#Fun<couch_db_updater.10.43662179>},
{btree,
<0.6162.0>,
{206366,
12},
#Fun<couch_db_updater.11.41695917>,
#Fun<couch_db_updater.12.6934644>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.13.28245598>},
{btree,
<0.6162.0>,
nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,
nil},
69,
<<"test">>,
"../var/lib/couchdb/test.couch",
[],[],
nil,
{user_ctx,
null,
[<<"_adm"...>>]},
nil,1000,
[before_header,
after_header|...]},
<<>>,nil,
#Fun<hovercraft.4.19656838>,
#Fun<hovercraft.2.9524041>,
#Fun<couch_httpd_view.15.105273538>,
#Fun<couch_view.reduce_to_count.1>,
false)
in function couch_view:fold_fun/4 in call from couch_btree:stream_kv_node2/7 in call from couch_btree:fold/5 in call from couch_view:fold/5 in call from hovercraft:query_view/5
JChris, I fixed hovercraft which has couple of issues with latest couchdb 0.11 by cloning it. Please merge it back. [email protected]:sendtopms/hovercraft.git Thanks.
URL of my fork is http://github.com/sendtopms/hovercraft
closing