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

[17.09] Toolshed install stability improvements #5099

Merged

Commits on Nov 30, 2017

  1. Do not write shed_tool_data_table_config in place

    This should prevent errors such as:
    ```
    galaxy.util ERROR 2017-11-17 09:20:12,842 Error parsing file /data/users/mvandenb/gx/config/shed_tool_data_table_conf.xml
    Traceback (most recent call last):
      File "lib/galaxy/util/__init__.py", line 217, in parse_xml
        root = tree.parse(fname, parser=ElementTree.XMLParser(target=DoctypeSafeCallbackTarget()))
      File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
        self._root = parser.close()
      File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
        self._raiseerror(v)
      File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
        raise err
    ParseError: no element found: line 1, column 0
    ```
    reported in galaxyproject#5031.
    mvdbeek committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    562ea1d View commit details
    Browse the repository at this point in the history
  2. Fix installation of data manager revision updates

    Without this updates of data managers fails with
    ```
    AttributeError: 'NoneType' object has no attribute 'get'
      File "galaxy/web/framework/middleware/sentry.py", line 40, in __call__
        iterable = self.application(environ, start_response)
      File "/bioinfo/guests/mvandenb/galaxy/.venv/local/lib/python2.7/site-packages/paste/recursive.py", line 85, in __call__
        return self.application(environ, start_response)
      File "/bioinfo/guests/mvandenb/galaxy/.venv/local/lib/python2.7/site-packages/paste/httpexceptions.py", line 640, in __call__
        return self.application(environ, start_response)
      File "galaxy/web/framework/base.py", line 136, in __call__
        return self.handle_request(environ, start_response)
      File "galaxy/web/framework/base.py", line 215, in handle_request
        body = method(trans, **kwargs)
      File "galaxy/web/framework/decorators.py", line 98, in decorator
        return func(self, trans, *args, **kwargs)
      File "galaxy/webapps/galaxy/controllers/admin_toolshed.py", line 1849, in update_to_changeset_revision
        persist=True)
      File "tool_shed/galaxy_install/metadata/installed_repository_metadata_manager.py", line 30, in __init__
        metadata_dict=metadata_dict, user=None)
      File "tool_shed/metadata/metadata_generator.py", line 63, in __init__
        self.metadata_dict = {'shed_config_filename': self.shed_config_dict.get('config_filename', None)}
    ```
    mvdbeek committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    eb3d2ea View commit details
    Browse the repository at this point in the history