galaxyproject / galaxyproject/planemo

All tests fail with dbkey error

Open
#746 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
110
Forks
102
Avg merge
4d 21h
Merged PRs (30d)
13

Description

Running

`planemo test /path/to/repos/iuc/macs2/f5d67c722d67/macs2/ --galaxy_root /galaxy/production/ `

we get all tests failing with errors like

```
Exception: {u'err_data': {u'dbkey': u"An invalid option was selected for dbkey, u'hg17', please verify."},
u'traceback': u'Traceback (most recent call last):\n File "/galaxy/production/lib/galaxy/web/framework/decorators.py", line 281, in decorator\n rval = func(self, trans, *args, **kwargs)\n File "/galaxy/production/lib/galaxy/webapps/galaxy/api/tools.py", line 348, in create\n vars = tool.handle_input(trans, incoming, history=target_history)\n File "/galaxy/production/lib/galaxy/tools/__init__.py", line 1292, in handle_input\n raise exceptions.MessageException(\', \'.join(msg for msg in err_data.values()), err_data=err_data)\nMessageException: An invalid option was selected for dbkey, u\'hg17\', please verify.\n',
u'err_msg': u"An invalid option was selected for dbkey, u'hg17', please verify.",
u'err_code': 0}

...

raise KeyError("No key [%s] in [%s]" % (key, data))
KeyError: 'No key [status] in [None]'
```

I have seen this [email post from 2015](https://lists.galaxyproject.org/pipermail/galaxy-dev/2015-June/022133.html) and we found that adding dbkey='?' to a test worked. But there are a lot of tools installed and a lot of tests in each tool.

Is there somewhere I can set the key? No one really uses hg17 any more anyway?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.