Couldn´t save workflow due to Workflow temp directory entry was deleted

I have a workflow that runs for quite a while with many loop iterations. It run ok but I couldn´t save it after completed. Follows final portion of console to see if it can shed some light on issue. Why entry “C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034” is being deleted?

ERROR Partitioning 3:5:6 Workflow can’t be saved in this state.
ERROR Partitioning 3:5:6 Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR Partitioning 3:5:6 Table will be held in memory until node is cleared.
ERROR Partitioning 3:5:6 Workflow can’t be saved in this state.
ERROR Partitioning 3:5:6 Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR Partitioning 3:5:6 Table will be held in memory until node is cleared.
ERROR Partitioning 3:5:6 Workflow can’t be saved in this state.
WARN Scatter Plot (local) 3:35 Some columns are ignored: too many/missing nominal values.
WARN Scatter Plot (local) 3:35 Some columns are ignored: too many/missing nominal values.
ERROR InplaceSaveRunnable Could not save workflow - this exception will be re-thrown as an InterruptedException.
ERROR WorkflowEditor Could not save + workflow: Could not save workflow: Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR InplaceSaveRunnable Could not save workflow - this exception will be re-thrown as an InterruptedException.
ERROR WorkflowEditor Could not save + workflow: Could not save workflow: Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
WARN Excel Writer 3:40 Please specify a file
WARN Excel Writer 3:40 Please specify a file
ERROR PCA 3:41 Writing of table to file at node PCA 3:41 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR PCA 3:41 Table will be held in memory until node is cleared.
ERROR PCA 3:41 Workflow can’t be saved in this state.
WARN Normalizer 3:42 Auto-configure: [0, 1] normalization on all numeric columns: “46-33-DRY-TPH-ORE-MILLED”, “46-34-FI-9409-PNT”, “46-34-FI-9410-PNT”, … <172 more>
ERROR Normalizer 3:42 Writing of table to file at node Normalizer 3:42 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR Normalizer 3:42 Table will be held in memory until node is cleared.
ERROR Normalizer 3:42 Workflow can’t be saved in this state.
ERROR PCA 3:41 Writing of table to file at node PCA 3:41 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR PCA 3:41 Table will be held in memory until node is cleared.
ERROR PCA 3:41 Workflow can’t be saved in this state.
ERROR PCA Compute 3:43 Writing of table to file at node PCA Compute 3:43 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR PCA Compute 3:43 Table will be held in memory until node is cleared.
ERROR PCA Compute 3:43 Workflow can’t be saved in this state.
ERROR PCA Compute 3:43 Writing of table to file at node PCA Compute 3:43 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR PCA Compute 3:43 Table will be held in memory until node is cleared.
ERROR PCA Compute 3:43 Workflow can’t be saved in this state.
ERROR PCA Compute 3:43 Writing of table to file at node PCA Compute 3:43 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR PCA Compute 3:43 Table will be held in memory until node is cleared.
ERROR PCA Compute 3:43 Workflow can’t be saved in this state.
ERROR PCA Compute 3:43 Writing of table to file at node PCA Compute 3:43 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR PCA Compute 3:43 Table will be held in memory until node is cleared.
ERROR PCA Compute 3:43 Workflow can’t be saved in this state.
ERROR InplaceSaveRunnable Could not save workflow - this exception will be re-thrown as an InterruptedException.
ERROR WorkflowEditor Could not save + workflow: Could not save workflow: Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR InplaceSaveRunnable Could not save workflow - this exception will be re-thrown as an InterruptedException.
ERROR WorkflowEditor Could not save + workflow: Could not save workflow: Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.
ERROR SaveAsRunnable Could not save workflow - this exception will be re-thrown as an InterruptedException.
ERROR WorkflowEditor Could not save + workflow: Could not save workflow: Writing of table to file at node Partitioning 3:5:6 at workflow Correlação Múltipla com Stepwise Feature Selection 3 encountered error: IOException: Workflow temp directory C:\Users\pauloscheidegger\AppData\Local\Temp\knime_Correla__o M_lt31034 has been deleted.

Unfortunately, to my experience if temp directories deleted you need to recreate WF or at least substantial part of it.

Hi @pauloscheidegger , not sure why the Temp folders are being deleted - may be your system is cleaning up for some reason (not enough space may be?).

Your workflow itself is in the Knime’s workflow folder. The Temp folders only contains temporary files such as some compiled data that your workflow might depend on. Try to reset your workflow. It should remove any dependency on any compiled data, and should allow you to save if it’s in the reset state.

Hi @pauloscheidegger

Complementary to @izaychik63 and @bruno29a’s hints, if eventually the important thing is to save your workflow regardless of the data, what I usually do in this case is the following:

  1. Create a new workflow from scratch with a new name.
  2. Select All the nodes of your workflow, copy and paste them in the new empty workflow.
  3. Save it.

If eventually, you need to save the results too but you cannot save the workflow for any reason, what I usually do is to save the node results (partial or final) which are important using -Table Writer- nodes.
At least I can save this way a maximum of information without loosing everything.

Doing this way, at least one doesn’t loose the workflow and/or important data.

Hope this helps

Best
Ael

2 Likes

Thank you all for your advices. I did reset the workflow to save it succesfully and it is running now for some hours again.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.