alice icon indicating copy to clipboard operation
alice copied to clipboard

Unable to view permissions

Open mixedpuppy opened this issue 15 years ago • 5 comments

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<permissions.1.43242716>, {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:

mixedpuppy avatar Oct 06 '09 21:10 mixedpuppy

What version of rabbitmq are you running?

auser avatar Oct 07 '09 00:10 auser

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

mixedpuppy avatar Oct 07 '09 01:10 mixedpuppy

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

auser avatar Oct 08 '09 17:10 auser

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.

auser avatar Oct 12 '09 20:10 auser

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

mixedpuppy avatar Oct 13 '09 03:10 mixedpuppy