question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CWLGather - still RuntimeError: This job was passed a promise that wasn't yet resolved when it ran.

See original GitHub issue

Despite #2221, I am still getting the errors (below). My workflow contains ExpressionTool upstream of that gather. Are ExpressionTools supported by Toil?

8/V/jobLgOhDM    WARNING:toil.jobGraph:Due to failure we are reducing the remaining retry count of job 'ResolveIndirect' 8/V/jobLgOhDM with ID 8/V/jobLgOhDM to 5
The job seems to have left a log file, indicating failure: 'ResolveIndirect' 8/V/jobLgOhDM
8/V/jobLgOhDM    INFO:toil.worker:---TOIL WORKER OUTPUT LOG---
8/V/jobLgOhDM    INFO:toil:Running Toil version 3.17.0a1-7eff049a77c125e29de58b70a1cb388c7f1cbc5b.
8/V/jobLgOhDM    Traceback (most recent call last):
8/V/jobLgOhDM      File ".../toil/src/toil/worker.py", line 298, in workerScript
8/V/jobLgOhDM        job = Job._loadJob(jobGraph.command, jobStore)
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 917, in _loadJob
8/V/jobLgOhDM        return cls._unpickle(userModule, fileHandle, jobStore.config)
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 945, in _unpickle
8/V/jobLgOhDM        runnable = unpickler.load()
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 1749, in __new__
8/V/jobLgOhDM        return cls._resolve(*args)
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 1761, in _resolve
8/V/jobLgOhDM        value = safeUnpickleFromStream(fileHandle)
8/V/jobLgOhDM      File ".../toil/src/toil/common.py", line 1347, in safeUnpickleFromStream
8/V/jobLgOhDM        return pickle.loads(string)
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 1749, in __new__
8/V/jobLgOhDM        return cls._resolve(*args)
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 1761, in _resolve
8/V/jobLgOhDM        value = safeUnpickleFromStream(fileHandle)
8/V/jobLgOhDM      File ".../toil/src/toil/common.py", line 1347, in safeUnpickleFromStream
8/V/jobLgOhDM        return pickle.loads(string)
8/V/jobLgOhDM      File ".../toil/src/toil/job.py", line 1841, in __setstate__
8/V/jobLgOhDM        "this job as a child/follow-on of {jobName}.".format(jobName=jobName))
8/V/jobLgOhDM    RuntimeError: This job was passed a promise that wasn't yet resolved when it ran. The job 'CWLGather' that fulfills this promise hasn't yet finished. This means that there aren't enough constraints to ensure the current job always runs after 'CWLGather'. Consider adding a follow-on indirection between this job and its parent, or adding this job as a child/follow-on of 'CWLGather'.

┆Issue is synchronized with this Jira Story ┆Issue Number: TOIL-263

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexiswlcommented, Oct 12, 2020

Hello @mr-c, I have been able to resolve my issue. I have one step that launched some complicated outputs, I have then run an expression to take one of those files into the next step and I had a logical error in that expression that was outputting null of that expression file. I wonder if that was causing the problem?

0reactions
mr-ccommented, Nov 29, 2020

Could be! I’ll close this issue for now. I would be happy to investigate if someone can give me an example to run.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Uncaught (in promise): removeView was not found`.
But if i use two api call in same page. I'm getting below error at Runtime. Error Uncaught (in promise): removeView was not...
Read more >
Toil Documentation
Running WDL workflows using Toil is still in alpha, and currently ... function turns the 'job function' down into an actual job and...
Read more >
Runtime Errors CONVT_NO_NUMBER - SAP Community
The program "/SAPAPO/SAPLMSDP_CAP" was started as a background job. Processing was terminated because the exception "CX_SY_CONVERSION_NO_NUMBER".
Read more >
Run time error while accessing job application page on Internet
Original Title: Runtime Error Trying to access job application page and get Runtime Error/Server Error and takes me to the following page:
Read more >
Instructions for Running SAP Reports in the Background
A message will generate indicating that a background job was scheduled to run, i.e.. “Background job was scheduled for program RPTBAL00”.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found