Question: Server error while using embedded workflow in page editor
0
gravatar for fiebig
2.3 years ago by
fiebig30
fiebig30 wrote:

Hi, I want to create a page to illustrate a workflow. I placed some galaxy objects, a history and one workflow. Both paragraphs were placed in the editor. While viewing the page, the history object acted as expected, but for the workflow object I could not use the buttons "Show or hide workflow content", "Show workflow content" and "Go to workflow" After clicking one of them, I got the following Popup Message: "Getting item content failed."

or

 Internal Server Error Galaxy was unable to successfully complete your request URL: http://afi.ipk-gatersleben.de/workflow/display_by_username_and_slug?username=afi&slug=copy-of-gbs-pipeline 
File '/galaxy/lib/galaxy/web/framework/middleware/error.py', line 151 in __call__   app_iter = self.application(environ, sr_checker) File '/galaxy/.venv/lib/python2.7/site-packages/paste/recursive.py', line 85 in __call__   return self.application(environ, start_response) 
File '/galaxy/lib/galaxy/web/framework/middleware/remoteuser.py', line 175 in __call__   return self.app( environ, start_response ) 
File '/galaxy/.venv/lib/python2.7/site-packages/paste/httpexceptions.py', line 640 in __call__   return self.application(environ, start_response) 
File '/galaxy/lib/galaxy/web/framework/base.py', line 131 in __call__   return self.handle_request( environ, start_response ) File '/galaxy/lib/galaxy/web/framework/base.py', line 190 in handle_request   body = method( trans, **kwargs ) 
File '/galaxy/lib/galaxy/webapps/galaxy/controllers/workflow.py', line 255 in display_by_username_and_slug   return self._display( trans, stored_workflow ) 
File '/galaxy/lib/galaxy/webapps/galaxy/controllers/workflow.py', line 291 in _display   user_item_rating=user_item_rating, ave_item_rating=ave_item_rating, num_ratings=num_ratings ) 
File '/galaxy/lib/galaxy/web/framework/webapp.py', line 872 in fill_template_mako   return template.render( **data ) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/template.py', line 445 in render   return runtime._render(self, self.callable_, args, data) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/runtime.py', line 829 in _render   **_kwargs_for_callable(callable_, data)) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/runtime.py', line 864 in _render_context   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/runtime.py', line 890 in _exec_template   callable_(context, *args, **kwargs) File '/galaxy/database/compiled_templates/base/base_panels.mako.py', line 126 in render_body   __M_writer(unicode(self.center_panel())) 
File '/galaxy/database/compiled_templates/display_base.mako.py', line 180 in render_center_panel   __M_writer(unicode(self.render_content())) 
File '/galaxy/database/compiled_templates/display_base.mako.py', line 144 in render_render_content   __M_writer(unicode(self.render_item( item, item_data ))) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 105 in render_render_item   __M_writer(unicode(do_inputs( tool.inputs, step.state.inputs, "", step ))) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 78 in do_inputs   return render_do_inputs(context,inputs,values,prefix,step,other_values) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 185 in render_do_inputs   __M_writer(unicode(do_inputs( input.cases[ current_case ].inputs, group_values, new_prefix, step, other_values ))) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 145 in do_inputs   return render_do_inputs(context,inputs,values,prefix,step,other_values) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 201 in render_do_inputs   __M_writer(unicode(row_for_param( input, values[ input.name ], other_values, prefix, step ))) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 143 in row_for_param   return render_row_for_param(context,param,value,other_values,prefix,step) 
File '/galaxy/database/compiled_templates/workflow/display.mako.py', line 265 in render_row_for_param   __M_writer(unicode(cgi.escape( param.value_to_display_text( value, app ) ))) 
File '/usr/lib64/python2.7/cgi.py', line 1034 in escape   s = s.replace("&", "&") # Must be done first! AttributeError: 'NoneType' object has no attribute 'replace'

Also setting a links to the workflow was not successful.

The workflow is running without any problems and it's available to all users by link and permission. I have tried it with different workflows. Some of the workflows links are working - some not. I can't see a pattern. None of them can be embedded in a galaxy page. Is there any permission or option I forget to change?

I'm working on a local instance, version 16.04

Anne

workflow published page • 749 views
ADD COMMENTlink written 2.3 years ago by fiebig30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 180 users visited in the last hour