Skip to content

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

@danielmarchan3

Description

@danielmarchan3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions