knip
knip copied to clipboard
Image reader drag and drop can not handle paths containing spaces on OSX
On Mac OSX these are replaced with an %20 when passed to an application.
Oh, I didn't even know that drag-n-drop was possible at all.
I already noticed that the File input fields of the File Upload (when used as an input form in a wrapped metanode) and List files nodes do not accept drag and drop. (This feature would really be nice to have!)
Now I tried to just drag an image onto the workspace (on Windows), but the created Image Reader node throws an exception when being executed:
Encountered exception while reading image /E:/temp/test.tif! Caught Exception: Illegal char <:> at index 2
UPDATE: upon clicking once Configure and OK, the image gets read correctly. The exception occurs only when executing right after dragging the image into the workspace.
Configure and OK, the image gets read correctly. The exception occurs only when executing right after dragging the image into the workspace.
Looks like we have to reconfigure the node after it got created by drag and drop.