Comments (14)
I have the same behaviour.
My dirty solution is to install the "huge dependency chain" first and after the tools. But it will asked to check and update the list of tools with the lastest package version.
from ansible-galaxy-tools.
A call to show_repositories (https://bioblend.readthedocs.org/en/latest/api_docs/galaxy/all.html#module-bioblend.galaxy.toolshed) should do it ... in fact we could even fail packages that had problems installing the dependencies. When driven to the extreme we could even use this in conjunction with travis to check if toolshed repositories install on OS X :)
I will do this now.
from ansible-galaxy-tools.
Are you thinking to change this https://github.com/galaxyproject/ansible-galaxy-tools/blob/master/files/install_tool_shed_tools.py#L572 from checking that specific tool to keep checking all the repositories until they reach either Installed
or Error
status?
from ansible-galaxy-tools.
well, initially I was not aware that this check is already in place.
It would be an option to check all repositories, indeed.
Better yet, galaxy should not return "Installed" before it's dependencies have not been installed / error-ed completely (I).
from ansible-galaxy-tools.
Galaxy not returning the Installed
status message was the assumption under which this was written (at least, that's the experience I've seen via the UI) but if at least the two of you have run into this problem, I guess that's not necessarily the case.
You want me to change this or are you already on it?
from ansible-galaxy-tools.
Well, i would never refuse help 😆 .
Though the circumstances in which this happens are not entirely clear to me.
from ansible-galaxy-tools.
Can you share your tools file so I can try to replicate the behavior?
from ansible-galaxy-tools.
Sure, you can even get a docker image with the aborted install.
https://github.com/ARTbio/ansible-artimed/blob/metavisitor/extra-files/metavisitor_tool_list.yml
docker run artbio/galaxy-kickstart-metavisitor-base
.
If you look into /home/galaxy/galaxy/uwsgi.log you see the shutdown of uwsgi while compiling freetype.
from ansible-galaxy-tools.
@afgane I think I got it ...
at https://github.com/galaxyproject/ansible-galaxy-tools/blob/master/files/install_tool_shed_tools.py#L559
you get the first item in the response (often a tool dependency), but the actual tool you requested is in the last item.
Changing response[0] to reponse[-1] should wait until the tool reports Installed
.
from ansible-galaxy-tools.
Nice detective work! I did a check on this end as well and it looks like it's working.
Thank you.
from ansible-galaxy-tools.
Thanks all!
from ansible-galaxy-tools.
Well, extensive testing shows this is still a problem.
I'll see if we perhaps need to check for all items in response :/
from ansible-galaxy-tools.
Okay, so the (next) problem is an nginx timeout. Catching the 504 and re-trying seems to work.
from ansible-galaxy-tools.
@afgane @lecorguille
This is solved with PR #17 .
To make this more smooth I opened an issue on galaxy.
from ansible-galaxy-tools.
Related Issues (20)
- tool_panel_section_label isn't working, nor is tool_panel_section_id HOT 6
- urlopen error [Errno 104] Connection reset by peer>", "err_code": 500001 HOT 2
- Installing but hiding tools HOT 4
- install_tool_shed_tools.py HOT 15
- manage_bootstrap_user.py command line parsing HOT 1
- tool_list file loading
- SQL IntegrityError HOT 1
- dynamic and static include in restart_galaxy.yml handler HOT 1
- Tool labels
- Installation behaviour for updated versions HOT 2
- Restart handler mechanism appears to have problems HOT 14
- SSL: CERTIFICATE_VERIFY_FAILED HOT 9
- Create Galaxy bootstrap user Error
- Installed ansible version (for tests) is not compatible with the ansible synthax of the repo
- putative new task/role HOT 2
- Privilege separation support HOT 1
- Empty error aborts role but installation continues HOT 27
- Incompatability with Galaxy 19.05 HOT 2
- ansible-galaxy-tools does not pass the travis test anymore
- SSLCertVerificationError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-galaxy-tools.