Latest toil no longer works with cactus
See original GitHub issueA cactus command that works in version 3.20 now gives this error with master (I’m using a newer toil to test kubernetes for cactus). It’s strange because Job._runner()
has a defer
argument in the source:
INFO:toil.worker:Redirecting logging to /data1/cactus/toil-6141c5d4-202b-4550-a160-4d43177be980-565d6e0ff41b452899bd1cc744672e86/tmpj9fnaA/worker_log.txt
Job ended: 'RunCactusPreprocessorThenProgressiveDown' kind-RunCactusPreprocessorThenProgressiveDown/instanceICGaXj
The job seems to have left a log file, indicating failure: 'RunCactusPreprocessorThenProgressiveDown' kind-RunCactusPreprocessorThenProgressiveDown/instanceICGaXj
INFO:toil:Running Toil version 3.21.0a1-81a543d0e1a8e6c299f22bb8e862d34097e1f0bc.
WARNING:toil.resource:'JTRES_612c0b9862883c5800042ea7ac702778' may exist, but is not yet referenced by the worker (KeyError from os.environ[]).
Traceback (most recent call last):
File "/data1/cactus/toil-venv-master/local/lib/python2.7/site-packages/toil/worker.py", line 366, in workerScript
job._runner(jobGraph=jobGraph, jobStore=jobStore, fileStore=fileStore, defer=defer)
TypeError: _runner() got an unexpected keyword argument 'defer'
ERROR:toil.worker:Exiting the worker because of a failed job on host ip-172-31-26-21
This can be reproduced in a minute with these commands:
deactivate
git clone https://github.com/DataBiosphere/toil.git toil.master
git clone https://github.com/ComparativeGenomicsToolkit/cactus.git --recursive
cd cactus
virtualenv toil-venv-master
. toil-venv-master/bin/activate
pip install ../toil.master[all]
pip install .
toil clean jobStore ; cactus jobStore examples/evolverMammals.txt examples/evolverMammals.hal --binariesMode docker --batchSystem singleMachine --workDir .
Doing the same thing with the last release runs okay
# Works with toil 3.20
deactivate
git clone https://github.com/DataBiosphere/toil.git toil.320
pushd toil.320 ; git checkout cf34ca3416697f2abc816b2538f20ee29ba16932 ; popd
git clone https://github.com/ComparativeGenomicsToolkit/cactus.git --recursive
cd cactus
virtualenv toil-venv-320
. toil-venv-320/bin/activate
pip install ../toil.320[all]
pip install .
toil clean jobStore ; cactus jobStore examples/evolverMammals.txt examples/evolverMammals.hal --binariesMode docker --batchSystem singleMachine --workDir .
┆Issue is synchronized with this Jira Task ┆Issue Number: TOIL-451
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (17 by maintainers)
Top Results From Across the Web
No Dead Corner Cactus Toilet Brush, 2022 New Punch Free ...
This toilet brush has a special curved design, the C-shaped brush head can reach places below the toilet rim, and the curved handle...
Read more >Quickstart Examples — Toil 5.8.0a1 documentation
A Toil workflow can be run with just three steps: Install Toil (see Installation); Copy and paste the following code block into a...
Read more >No Dead Corner Cactus Toilet Brush, 2022 ... - Walmart.com
Arrives by Thu, Dec 8 Buy No Dead Corner Cactus Toilet Brush, 2022 New Punch Free Wall Hanging Silicone Toilet Brush, Premium Long...
Read more >No Dead Corner Cactus Toilet Brush-Long Handle Silicone ...
No Dead Corner Cactus Toilet Brush - Long Handle Silicone Toilet Brush With Holder - No-Slip Toilet Bowl Cleaner Brush - F-Shaped For...
Read more >Cactus - Terraria Wiki - Fandom
Unlike trees, new cacti appear not fully grown but as 1-block plants, and chopping a ... Sand Blocks underneath Cacti can no longer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@glennhickey I made you another Docker:
quay.io/adamnovak/toil:3.22.0a1-72750c175eb84fde0e6d3302283f032edc39038b
Does that one work for you? It stops warning and just gets the size from the job store if it needs it and doesn’t have it. So you don’t need to pack/unpack anything if you don’t want to. This should let the caching file store work properly.
@glennhickey perfect thanks, Toil 3.20.0 works very well.
@adamnovak the data is the example in Cactus software, and the command:
the new toil doesn’t work with cactus in AWS too, I’m not sure is this solved now. I attach the relevant issue here #https://github.com/ComparativeGenomicsToolkit/cactus/issues/100#issuecomment-554526292
Thanks for all of you.