Alex,

Have you written you're own queue module that is on the code path?

What does `code:which(queue)` show?

My guess is you've defined your own queue module and that is causing the
problem.

-Ryan

On Wed, Dec 14, 2011 at 3:12 PM, Alex Shneyderman
<a.shneyder...@gmail.com>wrote:

> some oddity I see here.
> I installed riak 1.0.2 and started it up. It runs fine as I can save
> docs and retrieve them via http. Then I wanted to try out erlang
> client. I got it from github. make all work fine. I started an erlang
> node and when I try to ping or do a key listing operation I get the
> follwoing:
>
> 8>  {ok, Riak} = riakc_pb_socket:start_link("127.0.0.1", 8087).
> {ok,<0.47.0>}
> 9> riakc_pb_socket:ping(Riak).
>
> =ERROR REPORT==== 14-Dec-2011::21:07:48 ===
> ** Generic server <0.47.0> terminating
> ** Last message in was {tcp,#Port<0.908>,[2|<<>>]}
> ** When Server state == {state,"127.0.0.1",8087,false,false,#Port<0.908>,
>                            {request,#Ref<0.0.0.71>,rpbpingreq,
>                                {<0.44.0>,#Ref<0.0.0.70>},
>                                undefined,60000,#Ref<0.0.0.72>},
>                            {[],[]},
>                            1,[],infinity,100}
> ** Reason for termination ==
> ** {'function not exported',[{queue,out,[{[],[]}]},
>                             {riakc_pb_socket,dequeue_request,1},
>                             {riakc_pb_socket,handle_info,2},
>                             {gen_server,handle_msg,5},
>                             {proc_lib,init_p_do_apply,3}]}
> ** exception exit: undef
>     in function  queue:out/1
>        called as queue:out({[],[]})
>     in call from riakc_pb_socket:dequeue_request/1
>     in call from riakc_pb_socket:handle_info/2
>     in call from gen_server:handle_msg/5
>     in call from proc_lib:init_p_do_apply/3
>
> Mac OS, Elrang 14B04, client lib from
> git://github.com/basho/riak-erlang-client.git
>
> Any ideas about what does the error msg mean and what might be wrong?
>
> Thanks,
> Alex.
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to