Skip to main content

Warning 126 | [Various software] | Program blocking temp file cleanup


Relevant software:

PSS®E
PowerFactory
PSCAD™


Emitted message:

Another program is preventing gridmo from cleaning the working directory for this task (which is likely being retried) - this could cause the task to fail. Manual intervention may be required e.g. closing the program which is blocking the file deletion

Description:

This warning indicates that another program is preventing the gridmo Engine from cleaning up the temporary working directory for a task. This usually happens when a file within the task's temporary folder is open in another application (e.g. a text editor, or the simulation software itself).

danger

This warning indicates that a file lock may prevent a task from being retried successfully, which could lead to simulation failure.

Possible impact:

  • The task may fail on retry if it cannot write to the temporary directory.
  • This can lead to incomplete simulations or unexpected behaviour if old files are not cleaned up.

Potential fixes:

To resolve this warning, you should:

  • Close open files: Ensure that no files from the gridmo Engine's temporary directories are open in other applications. This includes text editors, file explorers, and the power systems software itself.
  • Check for running processes: Use your operating system's task manager to check for any lingering processes from previous simulations that might be holding a lock on files.
  • Manual cleanup: If the issue persists, you may need to manually navigate to the gridmo temporary folder and delete the folder corresponding to the task that is failing.