Skip to content

Instantly share code, notes, and snippets.

@pcm32
Last active October 31, 2019 20:18
Show Gist options
  • Save pcm32/4a804f136aefacf7b3d7a414931d5beb to your computer and use it in GitHub Desktop.
Save pcm32/4a804f136aefacf7b3d7a414931d5beb to your computer and use it in GitHub Desktop.
job_cores error Galaxy
galaxy.tools ERROR 2019-10-31 17:12:51,776 [p:3704,w:0,m:3] [WorkflowRequestMonitor.monitor_thread] Exception caught while attempting tool execution:
Traceback (most recent call last):
File "lib/galaxy/tools/__init__.py", line 1491, in handle_single_execution
collection_info=collection_info,
File "lib/galaxy/tools/__init__.py", line 1573, in execute
return self.tool_action.execute(self, trans, incoming=incoming, set_output_hid=set_output_hid, history=history, **kwargs)
File "lib/galaxy/tools/actions/__init__.py", line 289, in execute
history, inp_data, inp_dataset_collections, preserved_tags, all_permissions = self._collect_inputs(tool, trans, incoming, history, current_user_roles, collection_info)
File "lib/galaxy/tools/actions/__init__.py", line 256, in _collect_inputs
inp_data, all_permissions = self._collect_input_datasets(tool, incoming, trans, history=history, current_user_roles=current_user_roles, collection_info=collection_info)
File "lib/galaxy/tools/actions/__init__.py", line 199, in _collect_input_datasets
tool.visit_inputs(param_values, visitor)
File "lib/galaxy/tools/__init__.py", line 1380, in visit_inputs
visit_input_values(self.inputs, values, callback)
File "lib/galaxy/tools/parameters/__init__.py", line 154, in visit_input_values
visit_input_values(input.inputs, d, callback, new_name_prefix, new_label_prefix, parent_prefix=new_name_prefix, **payload)
File "lib/galaxy/tools/parameters/__init__.py", line 168, in visit_input_values
callback_helper(input, input_values, name_prefix, label_prefix, parent_prefix=parent_prefix, context=context)
File "lib/galaxy/tools/parameters/__init__.py", line 131, in callback_helper
new_value = callback(**args)
File "lib/galaxy/tools/actions/__init__.py", line 117, in visitor
processed_dataset = process_dataset(v)
File "lib/galaxy/tools/actions/__init__.py", line 93, in process_dataset
data = data.get_converted_dataset(trans, target_ext, target_context=parent, history=history)
File "lib/galaxy/model/__init__.py", line 2629, in get_converted_dataset
new_dataset = next(iter(self.datatype.convert_dataset(trans, self, target_ext, return_output=True, visible=False, deps=deps, target_context=target_context, history=history).values()))
File "lib/galaxy/datatypes/data.py", line 622, in convert_dataset
converted_dataset = converter.execute(trans, incoming=params, set_output_hid=visible, history=history)[1]
File "lib/galaxy/tools/__init__.py", line 1573, in execute
return self.tool_action.execute(self, trans, incoming=incoming, set_output_hid=set_output_hid, history=history, **kwargs)
File "lib/galaxy/tools/actions/__init__.py", line 289, in execute
history, inp_data, inp_dataset_collections, preserved_tags, all_permissions = self._collect_inputs(tool, trans, incoming, history, current_user_roles, collection_info)
File "lib/galaxy/tools/actions/__init__.py", line 256, in _collect_inputs
inp_data, all_permissions = self._collect_input_datasets(tool, incoming, trans, history=history, current_user_roles=current_user_roles, collection_info=collection_info)
File "lib/galaxy/tools/actions/__init__.py", line 199, in _collect_input_datasets
tool.visit_inputs(param_values, visitor)
File "lib/galaxy/tools/__init__.py", line 1380, in visit_inputs
visit_input_values(self.inputs, values, callback)
File "lib/galaxy/tools/parameters/__init__.py", line 168, in visit_input_values
callback_helper(input, input_values, name_prefix, label_prefix, parent_prefix=parent_prefix, context=context)
File "lib/galaxy/tools/parameters/__init__.py", line 131, in callback_helper
new_value = callback(**args)
File "lib/galaxy/tools/actions/__init__.py", line 141, in visitor
input_datasets[prefix + input.name] = process_dataset(value)
File "lib/galaxy/tools/actions/__init__.py", line 93, in process_dataset
data = data.get_converted_dataset(trans, target_ext, target_context=parent, history=history)
File "lib/galaxy/model/__init__.py", line 2629, in get_converted_dataset
new_dataset = next(iter(self.datatype.convert_dataset(trans, self, target_ext, return_output=True, visible=False, deps=deps, target_context=target_context, history=history).values()))
File "lib/galaxy/datatypes/data.py", line 622, in convert_dataset
converted_dataset = converter.execute(trans, incoming=params, set_output_hid=visible, history=history)[1]
File "lib/galaxy/tools/__init__.py", line 1573, in execute
return self.tool_action.execute(self, trans, incoming=incoming, set_output_hid=set_output_hid, history=history, **kwargs)
File "lib/galaxy/tools/actions/__init__.py", line 350, in execute
params=wrapped_params.params,
File "lib/galaxy/tools/parameters/wrapped.py", line 44, in params
self.wrap_values(self.tool.inputs, params, skip_missing_values=not self.tool.check_values)
File "lib/galaxy/tools/parameters/wrapped.py", line 68, in wrap_values
self.wrap_values(input.cases[current].inputs, values, skip_missing_values=skip_missing_values)
File "lib/galaxy/tools/parameters/wrapped.py", line 59, in wrap_values
value = input_values[input.name]
KeyError: 'job_cores'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment