couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Unkovsky <oil.cray...@gmail.com>
Subject Re: View Performance (was Re: The 1.0 Thread)
Date Thu, 09 Jul 2009 23:59:28 GMT
> ...some ==ERROR REPORT=='s here,like
>=ERROR REPORT==== 10-Jul-2009::02:56:11 ===
>    current_function: {erlview,'-handle_call/3-fun-0-',2}
>    error: fun_didnt_eval_try_another_fun
>[error] [<0.6642.0>] {error_report,<0.23.0>,
>              {<0.6642.0>,std_error,
>               [{current_function,{erlview,'-handle_call/3-fun-0-',2}},
>                {error,fun_didnt_eval_try_another_fun}]}}
>
>  All 9 tests successful.
>ok
and README says it's ok to have these (==REPORTS==)

Thank you for help! I'll try to look around harder anytime soon.

for now I'm entering simplest example in futon with "erlang" selected
as language

 fun(Doc) ->
    erlview:entire_doc( Doc,
                        { <<"who">>, all } )
 end.

and it gives me further error alert in futon, and  errors in log as in
attached file.
In any case I have some setup to start from, but please any comments
wellcome if it's something obvious.

Error: badmatch

{runtime_error_map_fun,
    {gen_server,call,
        [<0.6612.0>,
         {prompt,
             [<<"map_doc">>,
              {doc,<<"bd74425d17a55e6f39901614421232ba">>,
                  {2,[<<"147195611">>]},
                  {[{<<"who">>,<<"asdfasdf">>},
                    {<<"what">>,<<"asdfasdfasdf">>},
                    {<<"when">>,<<"asdflajsldkfjsladkf">>}]},
                  [],false,[]}]},
         infinity]}}

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