Show history structure : Error 'Undefined' object is not callable
Hi all, I'm on 17.05 galaxy version and display it on firefox. I'm trying to use "show structure" functionnality on my histories (I've never tried before this version) and I obtain this error : URL: http://192.168.100.98:8080/galaxy/history/display_structured File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/weberror/evalexception.py', line 431 in respond app_iter = self.application(environ, detect_start_response) File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/paste/recursive.py', line 85 in __call__ return self.application(environ, start_response) File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/paste/httpexceptions.py', line 640 in __call__ return self.application(environ, start_response) File '/data/galaxy-dist/lib/galaxy/web/framework/base.py', line 135 in __call__ return self.handle_request( environ, start_response ) File '/data/galaxy-dist/lib/galaxy/web/framework/base.py', line 214 in handle_request body = method( trans, **kwargs ) File '/data/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/history.py', line 571 in display_structured return trans.fill_template( "history/display_structured.mako", items=items, history=history ) File '/data/galaxy-dist/lib/galaxy/web/framework/webapp.py', line 891 in fill_template return self.fill_template_mako( filename, **kwargs ) File '/data/galaxy-dist/lib/galaxy/web/framework/webapp.py', line 905 in fill_template_mako return template.render( **data ) File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/mako/template.py', line 445 in render return runtime._render(self, self.callable_, args, data) File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/mako/runtime.py', line 829 in _render **_kwargs_for_callable(callable_, data)) File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/mako/runtime.py', line 864 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/mako/runtime.py', line 890 in _exec_template callable_(context, *args, **kwargs) File '/data/galaxy-dist/database/compiled_templates/base.mako.py', line 63 in render_body __M_writer(unicode(next.body())) File '/data/galaxy-dist/database/compiled_templates/history/display_structured.mako.py', line 50 in render_body __M_writer(unicode(render_item( entity, children ))) File '/data/galaxy-dist/database/compiled_templates/history/display_structured.mako.py', line 35 in render_item return render_render_item(context._locals(__M_locals),entity,children) File '/data/galaxy-dist/database/compiled_templates/history/display_structured.mako.py', line 191 in render_render_item render_item_job( entity, children ) File '/data/galaxy-dist/database/compiled_templates/history/display_structured.mako.py', line 183 in render_item_job return render_render_item_job(context,job,children) File '/data/galaxy-dist/database/compiled_templates/history/display_structured.mako.py', line 239 in render_render_item_job __M_writer(unicode( show_params.inputs_recursive( tool.inputs, params_object, depth=1 ) )) File '/data/galaxy-dist/database/compiled_templates/show_params.mako.py', line 293 in render_inputs_recursive for i, element in enumerate(listify(param_values[input.name])): TypeError: 'Undefined' object is not callable Is it a problem with this history (I've tested with a full green history and with history containing red jobs without difference in error message) or with my galaxy configuration may be ? Thanks. Julie
Hi Julie, thanks for reporting this, this is indeed broken. I hope https://github.com/galaxyproject/galaxy/pull/4794 is going to fix this. Best, Marius On 12 October 2017 at 14:53, julie dubois <dubjulie@gmail.com> wrote:
Hi all, I'm on 17.05 galaxy version and display it on firefox. I'm trying to use "show structure" functionnality on my histories (I've never tried before this version) and I obtain this error :
URL: http://192.168.100.98:8080/galaxy/history/display_structured File '/data/galaxy-dist/.venv/local/lib/python2.7/site-packages/weberror/ evalexception.py', line 431 in respond app_iter = self.application(environ, detect_start_response) File '/data/galaxy-dist/.venv/local/lib/python2.7/site- packages/paste/recursive.py', line 85 in __call__ return self.application(environ, start_response) File '/data/galaxy-dist/.venv/local/lib/python2.7/site- packages/paste/httpexceptions.py', line 640 in __call__ return self.application(environ, start_response) File '/data/galaxy-dist/lib/galaxy/web/framework/base.py', line 135 in __call__ return self.handle_request( environ, start_response ) File '/data/galaxy-dist/lib/galaxy/web/framework/base.py', line 214 in handle_request body = method( trans, **kwargs ) File '/data/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/history.py', line 571 in display_structured return trans.fill_template( "history/display_structured.mako", items=items, history=history ) File '/data/galaxy-dist/lib/galaxy/web/framework/webapp.py', line 891 in fill_template return self.fill_template_mako( filename, **kwargs ) File '/data/galaxy-dist/lib/galaxy/web/framework/webapp.py', line 905 in fill_template_mako return template.render( **data ) File '/data/galaxy-dist/.venv/local/lib/python2.7/site- packages/mako/template.py', line 445 in render return runtime._render(self, self.callable_, args, data) File '/data/galaxy-dist/.venv/local/lib/python2.7/site- packages/mako/runtime.py', line 829 in _render **_kwargs_for_callable(callable_, data)) File '/data/galaxy-dist/.venv/local/lib/python2.7/site- packages/mako/runtime.py', line 864 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/data/galaxy-dist/.venv/local/lib/python2.7/site- packages/mako/runtime.py', line 890 in _exec_template callable_(context, *args, **kwargs) File '/data/galaxy-dist/database/compiled_templates/base.mako.py', line 63 in render_body __M_writer(unicode(next.body())) File '/data/galaxy-dist/database/compiled_templates/history/dis play_structured.mako.py', line 50 in render_body __M_writer(unicode(render_item( entity, children ))) File '/data/galaxy-dist/database/compiled_templates/history/dis play_structured.mako.py', line 35 in render_item return render_render_item(context._locals(__M_locals),entity,children) File '/data/galaxy-dist/database/compiled_templates/history/dis play_structured.mako.py', line 191 in render_render_item render_item_job( entity, children ) File '/data/galaxy-dist/database/compiled_templates/history/dis play_structured.mako.py', line 183 in render_item_job return render_render_item_job(context,job,children) File '/data/galaxy-dist/database/compiled_templates/history/dis play_structured.mako.py', line 239 in render_render_item_job __M_writer(unicode( show_params.inputs_recursive( tool.inputs, params_object, depth=1 ) )) File '/data/galaxy-dist/database/compiled_templates/show_params.mako.py', line 293 in render_inputs_recursive for i, element in enumerate(listify(param_values[input.name])): TypeError: 'Undefined' object is not callable
Is it a problem with this history (I've tested with a full green history and with history containing red jobs without difference in error message) or with my galaxy configuration may be ?
Thanks.
Julie ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/
participants (2)
-
julie dubois
-
Marius van den Beek