mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
572eeac5291e6d888a926e997170e50ef186dbba
Fixes: ``` Error - <class 'binascii.Error'>: decoding with 'hex' codec failed (Error: Odd-length string) URL: http://127.0.0.1:8080/visualization/circster?id=undefined File '/Users/mvandenb/src/galaxy/lib/galaxy/web/framework/middleware/error.py', line 154 in __call__ app_iter = self.application(environ, sr_checker) File '/Users/mvandenb/src/galaxy/.venv/lib/python3.6/site-packages/paste/recursive.py', line 85 in __call__ return self.application(environ, start_response) File '/Users/mvandenb/src/galaxy/.venv/lib/python3.6/site-packages/paste/httpexceptions.py', line 640 in __call__ return self.application(environ, start_response) File '/Users/mvandenb/src/galaxy/lib/galaxy/web/framework/base.py', line 143 in __call__ return self.handle_request(environ, start_response) File '/Users/mvandenb/src/galaxy/lib/galaxy/web/framework/base.py', line 222 in handle_request body = method(trans, **kwargs) File '/Users/mvandenb/src/galaxy/lib/galaxy/webapps/galaxy/controllers/visualization.py', line 764 in circster vis = self.get_visualization(trans, id, check_ownership=False, check_accessible=True) File '/Users/mvandenb/src/galaxy/lib/galaxy/webapps/base/controller.py', line 651 in get_visualization visualization = trans.sa_session.query(trans.model.Visualization).get(trans.security.decode_id(id)) File '/Users/mvandenb/src/galaxy/lib/galaxy/security/idencoding.py', line 84 in decode_id return int(unicodify(id_cipher.decrypt(codecs.decode(obj_id, 'hex'))).lstrip("!")) Error: decoding with 'hex' codec failed (Error: Odd-length string) ``` among other things. This happens when a new circster instance is created and it doens't have an id yet. `id` then is `undefined`, which is not a valid id.
…
…
…
…
…
.. figure:: https://galaxyproject.org/images/galaxy-logos/galaxy_project_logo.jpg
:alt: Galaxy Logo
The latest information about Galaxy can be found on the `Galaxy Community Hub <https://galaxyproject.org/>`__.
Community support is available at `Galaxy Help <https://help.galaxyproject.org/>`__.
.. image:: https://img.shields.io/badge/chat-irc.freenode.net%23galaxyproject-blue.svg
:target: https://webchat.freenode.net/?channels=galaxyproject
:alt: Chat on irc
.. image:: https://img.shields.io/badge/chat-gitter-blue.svg
:target: https://gitter.im/galaxyproject/Lobby
:alt: Chat on gitter
.. image:: https://img.shields.io/badge/release-documentation-blue.svg
:target: https://docs.galaxyproject.org/en/master/
:alt: Release Documentation
.. image:: https://travis-ci.org/galaxyproject/galaxy.svg?branch=dev
:target: https://travis-ci.org/galaxyproject/galaxy
:alt: Inspect the test results
Galaxy Quickstart
=================
Galaxy requires Python 2.7 To check your python version, run:
.. code:: console
$ python -V
Python 2.7.3
Start Galaxy:
.. code:: console
$ sh run.sh
Once Galaxy completes startup, you should be able to view Galaxy in your
browser at:
http://localhost:8080
Configuration & Tools
=====================
You may wish to make changes from the default configuration. This can be
done in the ``config/galaxy.ini`` file.
Tools can be either installed from the Tool Shed or added manually.
For details please see the `tutorial <https://galaxyproject.org/admin/tools/add-tool-from-toolshed-tutorial/>`__.
Note that not all dependencies for the tools provided in the
``tool_conf.xml.sample`` are included. To install them please visit
"Manage dependencies" in the admin interface.
Issues and Galaxy Development
=============================
Please see `CONTRIBUTING.md <CONTRIBUTING.md>`_ .
Roadmap
=============================
Interested in the next steps for Galaxy? Take a look at the `roadmap <https://github.com/galaxyproject/galaxy/projects/8>`__.
Languages
Python
64.2%
TypeScript
14.5%
Vue
12.5%
JavaScript
3.7%
Jupyter Notebook
2.4%
Other
2.5%