Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkIsAlive method is not managing pid and jobid properly which is giving an error #549

Open
danielmarchan3 opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@danielmarchan3
Copy link
Contributor

This happens in the context of a normal execution without a queue. And I am having this error quite regularly when launching any protocol. It is fixed when you relaunch the protocol but on streaming workflows this is a problem.

https://github.com/scipion-em/scipion-pyworkflow/blob/426feae2e9d23fc18657e81716f90caafa1b44d5/pyworkflow/project/project.py#L757C5-L762C36

Traceback (most recent call last):
File "/home/dmarchan/scipion3/scipion-pyworkflow/pyworkflow/project/project.py", line 687, in _updateProtocol
self.checkIsAlive(protocol)
File "/home/dmarchan/scipion3/scipion-pyworkflow/pyworkflow/project/project.py", line 760, in checkIsAlive
self.checkJobId(protocol)
File "/home/dmarchan/scipion3/scipion-pyworkflow/pyworkflow/project/project.py", line 1619, in checkJobId
jobid = protocol.getJobIds()[0]
IndexError: list index out of range

@danielmarchan3 danielmarchan3 added the bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant