Ilastik - Error when executing Ilastik Headless node.

Hi everyone,

the project file still contains the relative link to the training image. Maybe your edit was not accepted?

Without a change to the ilastik project, it executes infinitely in Knime. The node cannot be reset, either.

Anyhow, from the error message Fritz posted I don't think it's actually related to the dimensionality of the image.

2016-07-15 13:57:44,047 : INFO  : KNIME-Worker-17 : KNIPLogService : Ilastik Headless (Pixel classification) : 2:1 :   File "/Applications/ilastik-1.2.0rc6-OSX.app/Contents/ilastik-release/ilastik-meta/ilastik/ilastik/headless_dummy_modules/PyQt4/__init__.py", line 9, in <module>
2016-07-15 13:57:44,047 : INFO  : KNIME-Worker-17 : KNIPLogService : Ilastik Headless (Pixel classification) : 2:1 :     raise Exception("Developer error: When ilastik is running in headless mode, you aren't allowed to import PyQt4.")
2016-07-15 13:57:44,047 : INFO  : KNIME-Worker-17 : KNIPLogService : Ilastik Headless (Pixel classification) : 2:1 : Exception: Developer error: When ilastik is running in headless mode, you aren't allowed to import PyQt4.

When I try to reproduce, I get a different error:

ERROR Ilastik Headless (Pixel classification) 0:2        Error when executing Ilastik. Please check the dimensionality of the input images.
DEBUG Ilastik Headless (Pixel classification) 0:2        reset
ERROR Ilastik Headless (Pixel classification) 0:2        Execute failed: Unable to delete file: D:\TEMP\ilastik\e0c877fe-846a-4359-a97f-2d35307187d0\file0_result.tif
DEBUG Ilastik Headless (Pixel classification) 0:2        Execute failed: Unable to delete file: D:\TEMP\ilastik\e0c877fe-846a-4359-a97f-2d35307187d0\file0_result.tif
java.io.IOException: Unable to delete file: D:\TEMP\ilastik\e0c877fe-846a-4359-a97f-2d35307187d0\file0_result.tif
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)

 

In summary, that makes three different problems.