I have a KNIME workflow that I used to use, but not for while since I changed PC and on the new one I now use KNIME 5.3.
The problem I am having that when I try to open (double click) or import the workflow nothing happens no error, no notification, it just does not work.
This is the workflow: LoadMolPortData_v2_example.knwf (144.2 KB)
It was made several years ago, probably version 3.7.
Does anybody know what can be done to fix the workflow so I can open it?
P.s. I can not have 2 versions of KNIME on my PC installed at the same time, so I can’t view the old version to replicate it manually in KNIME 5.3.
I also tried to unzip the knwf file directly (they are just zip files with a custom extension) and it also complains:
$ unzip LoadMolPortData_v2_example.knwf
Archive: LoadMolPortData_v2_example.knwf
warning [LoadMolPortData_v2_example.knwf]: 62225 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [LoadMolPortData_v2_example.knwf]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
Typically it should show an inflation log like this:
java also does not handle the archive (jar files are also zip files, which is why this should work):
$ jar xvf LoadMolPortData_v2_example.knwf
java.util.zip.ZipException: invalid distance too far back
at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:142)
at java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:120)
at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1363)
at jdk.jartool/sun.tools.jar.Main.run(Main.java:390)
at jdk.jartool/sun.tools.jar.Main.main(Main.java:1683)
To use multiple versions at the same time, you can just use the zip archive download and run the knime.exe directly – if your Windows install is allowing this; some corporate installs don’t. You can find the old version here: Previous Versions | KNIME
But since the file is corrupt, you would need to first find a non-corrupt copy of it.