Have you kept anything else constant in your setup? If so…
I have never tried running a macro from Jython. I’ve checked the changes from 1.7.2 to 1.7.3 and what I can see there is that @NicoKiaru and @imagejan contributed a string to dataset converter. This is the only thing I can see that should have an effect on interpretation of that parameter. Have you made sure that the srtring imageName holds a dataset name?
What does your imageName refer to ? Is it an already opened image ? Is it a file ? Do you think you can give us a (minimal) complete recipe to reproduce the error ?
Note that I try to load a file from disk here, which works, so the command prints the image name (boats.png).
Now, when I put ilastik4ij-1.7.3.jar in my Fiji installation, I see the same error as reported by @Ebi.
The reason is that the newly introduced StringToDatasetConvertertoo eagerly tries to convert the input string into an already opened image with that name, so if there’s no image open already, it throws ‘inputImage’ is required but unset.
The solution is to add a canConvert() method to that converter, such that it only accepts conversion requests for which an open image actually exists. This has been discussed in this issue already:
Improve the (OpenedImage)String => Dataset converter to only support a conversion when the input string matches an opened image.
Alright: let’s see that we get this into imagej-legacy quickly and release it, so that this converter can leave the ilastik4ij repository where it doesn’t belong : )
Just to clarify - the current workaround would be to load the image first (using open or whatever import plugin…), and only then calling the ilastik plugin with the appropriate dataset name (so probably a good idea to rename after loading…).