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

Unable to view permissions #17

Open
mixedpuppy opened this issue Oct 6, 2009 · 5 comments
Open

Unable to view permissions #17

mixedpuppy opened this issue Oct 6, 2009 · 5 comments
Labels

Comments

@mixedpuppy
Copy link

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:

@auser
Copy link
Owner

auser commented Oct 7, 2009

What version of rabbitmq are you running?

@mixedpuppy
Copy link
Author

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

@auser
Copy link
Owner

auser commented Oct 8, 2009

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

@auser
Copy link
Owner

auser commented Oct 12, 2009

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
Copy link
Author

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

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

No branches or pull requests

2 participants