Galaxy: Inter-Galactic transfer of histories failing with 'Export history to file' & 'Import from file'

Created on 30 Nov 2016  路  4Comments  路  Source: galaxyproject/galaxy

The 'Export history to file' and 'Import from file' functionalities are not exporting histories as they should be.

When one clicks the 'Export history to file' button from the history menu, a link is generated that can be copied/pasted to the input box of 'Import from file' and after doing so Galaxy says, "This history will be visible when the import is complete." No new histories or data appear, even a day later. This happens on useGalaxy.org and on local instances.

A workaround to this issue is to click the link that is generated by 'Export history to file' and download the history as a compressed (.tar) file that contains the datasets in that history. These datasets can be uploaded in bulk to the destination Galaxy instance. Note that the naming of the datasets is preserved from the initial history, but the order they appear is not.

kinbug triage

All 4 comments

@MoHeydarian You can only use the link when a history is accessible/published b/c another instance attempting to use a link to a history otherwise does not have access to it. This is clearly a problem and should be fixed, most likely by asking the user to make the history accessible/published when exporting it.

I have not seen dataset ordering changed when importing/exporting. If you can provide an example, that would help in debugging.

Yes, thanks for pointing that out, @jgoecks. Even when histories are made accessible and published they never get imported to the destination Galaxy.

Here is a small (accessible and published) history I've been using to test the 'Export history to file'/'Import from file' feature: https://usegalaxy.org/u/mheydarian/h/test-for-meal-generator-workflow-imported-from-uploaded-file-run1

Update on this (since still open), currently under Galaxy version 17.09:

cc @dannon

reported by https://biostar.usegalaxy.org/p/26361/

This has seen a lot of improvements that will land in 19.05 (and some from even before that), I'm gonna close this, but feel free to re-open if something still doesn't work on 19.05.

Was this page helpful?
0 / 5 - 0 ratings