cmd to export an existing invocations as an archive for storage or later import.#1534
Merged
mvdbeek merged 6 commits intogalaxyproject:masterfrom Jun 19, 2025
Merged
Conversation
Contributor
Author
|
I need to see if it's possible to turn on 'asynchronous tasks' for the test. It will currently fail with the following error: AssertionError: Planemo command [invocation_export --galaxy_url http://localhost:55043 --galaxy_user_key e4ca85cc22bac6a37c7e885640a3a0bc --output /tmp/tmp_0mov935/temp.rocrate.zip 7f117ef222b8a072] resulted in unexpected exit code [1], expected exit code [0]]. Command output [] Exception [Unexpected HTTP status code: 403: {"err_msg":"This operation requires asynchronous tasks to be enabled on the Galaxy server and they are not, please contact the server admin.","err_code":403004}], Traceback [['Traceback (most recent call last):\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/testing.py", line 412, in invoke\n return_value = cli.main(args=args or (), prog_name=prog_name, **extra)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/core.py", line 1082, in main\n rv = self.invoke(ctx)\n ^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/core.py", line 1697, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke\n return __callback(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/decorators.py", line 92, in new_func\n return ctx.invoke(f, obj, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/.venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke\n return __callback(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/planemo/cli.py", line 103, in handle_blended_options\n return f(*args, **kwds)\n ^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/planemo/planemo/commands/cmd_invocation_export.py", line 25, in cli\n export_invocation_as_archive(\n', ' File "/home/pks5769/workspace/planemo/planemo/galaxy/api.py", line 131, in export_invocation_as_archive\n response = inv_gi.invocations.get_invocation_archive(invocation_id=invocation_id, model_store_format=export_format)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/bioblend/bioblend/galaxy/invocations/__init__.py", line 517, in get_invocation_archive\n psd = self._post(url=url, payload=payload)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/bioblend/bioblend/galaxy/client.py", line 197, in _post\n return self.gi.make_post_request(url, payload=payload, files_attached=files_attached)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/pks5769/workspace/bioblend/bioblend/galaxyclient.py", line 202, in make_post_request\n raise ConnectionError(\n', 'bioblend.ConnectionError: Unexpected HTTP status code: 403: {"err_msg":"This operation requires asynchronous tasks to be enabled on the Galaxy server and they are not, please contact the server admin.","err_code":403004}\n']] |
e96c57b to
809bda9
Compare
Member
|
Is there a specific bioblend branch I need to install ? |
Member
|
Test is passing fine with #1541 and bioblend from the master branch |
570c69f to
6a7879c
Compare
mvdbeek
approved these changes
Jun 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.