mbr / mmctl

A script to manage mumble servers from the commandline.
10 stars 0 forks source link

exception on python 2.7 centos 6.4 #2

Open AbbyRH opened 11 years ago

AbbyRH commented 11 years ago

not sure what other information would be useful so let me know if you require anything else

Traceback (most recent call last): File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1701, in call return self.wsgi_app(environ, start_response) File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1689, in wsgi_app response = self.make_response(self.handle_exception(e)) File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1687, in wsgi_app response = self.full_dispatch_request() File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1360, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1358, in full_dispatch_request rv = self.dispatch_request() File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1344, in dispatch_request return self.view_functionsrule.endpoint File "/home/greg/mmctl/mmctl/mmctl/utils.py", line 27, in _f return f(_args, *_kwargs) File "/home/greg/mmctl/mmctl/mmctl/mmctlui/init.py", line 112, in get_server_config server_port = get_server_port(current_app.meta, server, config['port']) KeyError: 'port'

mbr commented 11 years ago

Hey, thanks for the bug report.

I haven't touched the code in a while, unfortunately, and I suspect that something has quietly changed in the mumble-interface. I've made a careful attempt to fix the issue, let me know if it works for you know using master.

AbbyRH commented 11 years ago

Hi, thanks for taking the time to fix this. it looks like you fix worked but has uncovered another exception.

127.0.0.1 - - [27/May/2013 13:31:52] "GET /api/list-servers/ HTTP/1.1" 500 - Traceback (most recent call last): File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1701, in call return self.wsgi_app(environ, start_response) File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1689, in wsgi_app response = self.make_response(self.handle_exception(e)) File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1687, in wsgi_app response = self.full_dispatch_request() File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1360, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1358, in full_dispatch_request rv = self.dispatch_request() File "/home/greg/mmctl/lib/python2.7/site-packages/flask/app.py", line 1344, in dispatch_request return self.view_functionsrule.endpoint File "/home/greg/mmctl/mmctl/mmctl/utils.py", line 27, in _f return f(_args, *_kwargs) File "/home/greg/mmctl/mmctl/mmctl/mmctlui/init.py", line 49, in list_servers 'users': (s.isRunning() and len(s.getUsers())) or 0, File "/home/greg/mmctl/mmctl/mmctl/Murmur-1.2.2.ice", line 2466, in getUsers

UnmarshalOutOfBoundsException: exception ::Ice::UnmarshalOutOfBoundsException { reason = }

mbr commented 11 years ago

At this point, I have to say, no can do. At first glance it seems that the API has changed from the time when I wrote mmctl, this means major work to update the code. In the near future, I won't have time to fix this (though I'll put it on the agenda).

Sorry about that.