Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isacreate_metabo tool does not load on publidev #252

Closed
djcomlab opened this issue Jul 6, 2018 · 6 comments
Closed

isacreate_metabo tool does not load on publidev #252

djcomlab opened this issue Jul 6, 2018 · 6 comments

Comments

@djcomlab
Copy link
Member

djcomlab commented Jul 6, 2018

isacreate_metabo tool does not load on publidev giving Uncaught exception in exposed API method:

@djcomlab
Copy link
Member Author

djcomlab commented Jul 6, 2018

I tested it just now and can confirm I can get the tool to load and run correctly without any errors in minikube using the release/v18.01-dalcotidine branch.

@ilveroluca
Copy link
Member

Can you try again @djcomlab?

@djcomlab
Copy link
Member Author

djcomlab commented Jul 11, 2018 via email

@ilveroluca
Copy link
Member

Just started looking into this. The galaxy logs show the following backtrace when I try to open the tool:

galaxy.web.framework.decorators ERROR 2018-07-13 09:04:05,968 [p:157,w:1,m:0] [uWSGIWorker1Core1] Uncaught exception in exposed API method:
Traceback (most recent call last):
  File "lib/galaxy/web/framework/decorators.py", line 281, in decorator
    rval = func(self, trans, *args, **kwargs)
  File "lib/galaxy/webapps/galaxy/api/tools.py", line 99, in build
    return tool.to_json(trans, kwd.get('inputs', kwd))
  File "lib/galaxy/tools/__init__.py", line 1829, in to_json
    populate_state(request_context, self.inputs, params.__dict__, state_inputs, state_errors)
  File "lib/galaxy/tools/parameters/__init__.py", line 316, in populate_state
    state[input.name] = input.get_initial_value(request_context, context)
  File "lib/galaxy/tools/parameters/grouping.py", line 181, in get_initial_value
    rval[child_input.name] = child_input.get_initial_value(trans, child_context)
  File "lib/galaxy/tools/parameters/basic.py", line 907, in get_initial_value
    value = [optval for _, optval, selected in options if selected]
ValueError: need more than 1 value to unpack

The tool xml doesn't generate any errors when it's loaded.

@djcomlab
Copy link
Member Author

As discussed on Slack, looks like the error is with the Galaxy runtime image missing tool-data/isa_cvterms.loc that the ISA Create tool relies on for controlled vocabulary.

@pkrog pkrog added this to the Dalcotidine PhenoMeNal release milestone Jul 17, 2018
@djcomlab djcomlab self-assigned this Jul 17, 2018
ilveroluca pushed a commit that referenced this issue Jul 18, 2018
* Remove tool-data/isa_cvterms.lo and substitute with tool data closely coupled to the isacreate_metabo wrapper

Fixes issue  #252
@djcomlab
Copy link
Member Author

Fixed in release branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants