Question: Server error while using embedded workflow in page editor
gravatar for fiebig
2.0 years ago by
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."


 Internal Server Error Galaxy was unable to successfully complete your request URL: 
File '/galaxy/lib/galaxy/web/framework/middleware/', line 151 in __call__   app_iter = self.application(environ, sr_checker) File '/galaxy/.venv/lib/python2.7/site-packages/paste/', line 85 in __call__   return self.application(environ, start_response) 
File '/galaxy/lib/galaxy/web/framework/middleware/', line 175 in __call__   return environ, start_response ) 
File '/galaxy/.venv/lib/python2.7/site-packages/paste/', line 640 in __call__   return self.application(environ, start_response) 
File '/galaxy/lib/galaxy/web/framework/', line 131 in __call__   return self.handle_request( environ, start_response ) File '/galaxy/lib/galaxy/web/framework/', line 190 in handle_request   body = method( trans, **kwargs ) 
File '/galaxy/lib/galaxy/webapps/galaxy/controllers/', line 255 in display_by_username_and_slug   return self._display( trans, stored_workflow ) 
File '/galaxy/lib/galaxy/webapps/galaxy/controllers/', 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/', line 872 in fill_template_mako   return template.render( **data ) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/', line 445 in render   return runtime._render(self, self.callable_, args, data) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/', line 829 in _render   **_kwargs_for_callable(callable_, data)) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/', line 864 in _render_context   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) 
File '/galaxy/.venv/lib/python2.7/site-packages/mako/', line 890 in _exec_template   callable_(context, *args, **kwargs) File '/galaxy/database/compiled_templates/base/', line 126 in render_body   __M_writer(unicode(self.center_panel())) 
File '/galaxy/database/compiled_templates/', line 180 in render_center_panel   __M_writer(unicode(self.render_content())) 
File '/galaxy/database/compiled_templates/', line 144 in render_render_content   __M_writer(unicode(self.render_item( item, item_data ))) 
File '/galaxy/database/compiled_templates/workflow/', line 105 in render_render_item   __M_writer(unicode(do_inputs( tool.inputs, step.state.inputs, "", step ))) 
File '/galaxy/database/compiled_templates/workflow/', line 78 in do_inputs   return render_do_inputs(context,inputs,values,prefix,step,other_values) 
File '/galaxy/database/compiled_templates/workflow/', 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/', line 145 in do_inputs   return render_do_inputs(context,inputs,values,prefix,step,other_values) 
File '/galaxy/database/compiled_templates/workflow/', line 201 in render_do_inputs   __M_writer(unicode(row_for_param( input, values[ ], other_values, prefix, step ))) 
File '/galaxy/database/compiled_templates/workflow/', line 143 in row_for_param   return render_row_for_param(context,param,value,other_values,prefix,step) 
File '/galaxy/database/compiled_templates/workflow/', line 265 in render_row_for_param   __M_writer(unicode(cgi.escape( param.value_to_display_text( value, app ) ))) 
File '/usr/lib64/python2.7/', 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


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


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