Question: Unable to create new role in local galaxy
0
matthias.desmet • 150 wrote:
Hi All,
When I try to create a new role in our local galaxy instance, I get an internal server error.
Galaxy reports the following error:
Error - : string index out of range URL: http://redacted/admin/create_role File 'lib/galaxy/web/framework/middleware/error.py', line 151 in __call__ app_iter = self.application(environ, sr_checker) File '/home/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__ return self.application(environ, start_response) File '/home/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File 'lib/galaxy/web/framework/base.py', line 133 in __call__ return self.handle_request( environ, start_response ) File 'lib/galaxy/web/framework/base.py', line 191 in handle_request body = method( trans, **kwargs ) File 'lib/galaxy/web/framework/decorators.py', line 92 in decorator return func( self, trans, *args, **kwargs ) File 'lib/galaxy/web/base/controllers/admin.py', line 217 in create_role status=status ) File 'lib/galaxy/web/framework/webapp.py', line 811 in fill_template return self.fill_template_mako( filename, **kwargs ) File 'lib/galaxy/web/framework/webapp.py', line 825 in fill_template_mako return template.render( **data ) File '/home/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/template.py', line 296 in render return runtime._render(self, self.callable_, args, data) File '/home/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 660 in _render **_kwargs_for_callable(callable_, data)) File '/home/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 692 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/home/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 718 in _exec_template callable_(context, *args, **kwargs) File '/Shared/galaxy-data/database/template_cache/base.mako.py', line 66 in render_body __M_writer(unicode(next.body())) File '/Shared/galaxy-data/database/template_cache/admin/dataset_security/role/role_create.mako.py', line 86 in render_body __M_writer(unicode(render_select( "in_groups", in_groups ))) File '/Shared/galaxy-data/database/template_cache/admin/dataset_security/role/role_create.mako.py', line 41 in render_select return render_render_select(context.locals_(__M_locals),name,options) File '/Shared/galaxy-data/database/template_cache/admin/dataset_security/role/role_create.mako.py', line 135 in render_render_select __M_writer(filters.html_escape(unicode(option[1]))) IndexError: string index out of range CGI Variables ------------- CONTENT_LENGTH: '-1' CONTENT_TYPE: 'application/x-www-form-urlencoded' DOCUMENT_ROOT: '/usr/share/nginx/html' HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_ENCODING: 'gzip, deflate' HTTP_ACCEPT_LANGUAGE: 'nl-nl' HTTP_CONNECTION: 'close' HTTP_CONTENT_LENGTH: '89' HTTP_CONTENT_TYPE: 'application/x-www-form-urlencoded' HTTP_COOKIE: 'galaxysession=c6ca0ddb55be603ab4730cffebb33cf405481d18d5cb96904a9013082a4f84bb3b444d4ff04504ad; __utma=66645180.616081967.1450186829.1450258032.1450258032.1; __utmz=66645180.1450258032.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.616081967.1450186829' HTTP_HOST: 'redacted' HTTP_ORIGIN: 'redacted' HTTP_REFERER: 'https://redacted/admin/roles?operation=create' HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4' HTTP_X_FORWARDED_FOR: 'redacted' HTTP_X_REAL_IP: 'redacted' ORGINAL_REMOTE_ADDR: 'redacted' PATH_INFO: '/admin/create_role' REMOTE_ADDR: 'redacted' REMOTE_PORT: '47935' REQUEST_METHOD: 'POST' REQUEST_URI: '/admin/create_role' SERVER_NAME: 'localhost' SERVER_PORT: '80' SERVER_PROTOCOL: 'HTTP/1.0' UWSGI_SCHEME: 'http' WSGI Variables -------------- application: is_api_request: False paste.cookies: (, 'galaxysession=c6ca0ddb55be603ab4730cffebb33cf405481d18d5cb96904a9013082a4f84bb3b444d4ff04504ad; __utma=66645180.616081967.1450186829.1450258032.1450258032.1; __utmz=66645180.1450258032.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.616081967.1450186829') paste.expected_exceptions: [] paste.httpexceptions: paste.recursive.forward: paste.recursive.include: paste.recursive.include_app_iter: paste.recursive.script_name: '' paste.throw_errors: True request_id: '584bc642c4f711e5a085fa163e761705' uwsgi.core: 0 uwsgi.node: 'galaxy' uwsgi.version: '2.0.11.2' webob._parsed_post_vars: (MultiDict([('name', 'Research'), ('description', ''), ('in_groups', '2'), ('create_group_for_role', 'true'), ('create_role_button', 'Save')]), ) webob._parsed_query_vars: (MultiDict([]), '') wsgi process: 'Multi process AND threads (?)' wsgi.file_wrapper: ------------------------------------------------------------
We're running Galaxy 15.10 on ubuntu 14.04.3 Any Help? Thanks! Matthias