Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hovercraft:query_view is broken in couchdb 0.11 #3

Open
sendtopms opened this issue Oct 24, 2009 · 3 comments
Open

hovercraft:query_view is broken in couchdb 0.11 #3

sendtopms opened this issue Oct 24, 2009 · 3 comments

Comments

@sendtopms
Copy link

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

@sendtopms
Copy link
Author

JChris,
I fixed hovercraft which has couple of issues with latest couchdb 0.11 by cloning it. Please merge it back. git@github.com:sendtopms/hovercraft.git
Thanks.

@sendtopms
Copy link
Author

URL of my fork is http://github.com/sendtopms/hovercraft

@sendtopms
Copy link
Author

closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant