auser / alice

Monitoring and REST interface to rabbitmq
http://alicetheapp.com/
MIT License
239 stars 19 forks source link

Unable to view permissions #17

Open mixedpuppy opened 15 years ago

mixedpuppy commented 15 years ago

I am exploring rabbitmq and alice/wonderland, everything works great except for accessing permissions from alice/wonderland. When I try the permissions link in wonderland or via rest in alice it fails. Here is the report from it. Unfortunately know too little about erlang to have a clue.

=CRASH REPORT==== 6-Oct-2009::14:14:30 === crasher: pid: <0.80.0> registered_name: [] exception error: no function clause matching lists:map(#Fun, {badrpc, {'EXIT', {undef, [{rabbit_access_control,list_vhost_users, [<<"/">>]}, {rpc,'-handle_call/3-fun-0-',5}]}}}) in function permissions:'-get/1-fun-1-'/1 in call from lists:map/2 in call from permissions:get/1 in call from rest_server:handle/2 in call from mochiweb_http:headers/5 initial call: mochiweb_socket_server:acceptor_loop/1 ancestors: [mochiweb_http,rest_server,rest_server_sup,<0.56.0>,<0.55.0>] messages: [] links: [<0.67.0>,#Port<0.863>] dictionary: [{mochiweb_request_path,"/permissions"}] trap_exit: false status: running heap_size: 6765 stack_size: 23 reductions: 2139 neighbours:

auser commented 15 years ago

What version of rabbitmq are you running?

mixedpuppy commented 15 years ago

RabbitMQ 1.6.0 (AMQP 8-0) on CentOS, installed via yum

auser commented 15 years ago

Hm. Okay... I'll look at this today

auser commented 15 years ago

It looks like this is an issue with 1.6 compatibility. The conflict is that it was written to support 1.6 with a fallback of 1.5 and since, RabbitMQ changed the call. I took a cursory look at it today (I know a few days late, work sometimes gets in the way :). To get the permission to work properly, I'll have to restructure the permissions page slightly.

mixedpuppy commented 15 years ago

a few days late? I can't believe it! ;) thanks a lot for looking at this, really appreciate that.