- Giving a file path such as
/Users/qqilihq/Desktop/data.csv via flow variable to “File Reader”
- File gets loaded, I can make my configuration, click OK
- Execution of the node fails with error message “Cannot create URL of data file …”
- Why does the node then accept a file path at all for configuration?!
Edit: At least,
file:/ URL works for configuration AND execution.
Thank you – what KNIME version are you using? 4.3?
For the file reader, the expected flow variable containing the file location should include file:/ URL.
Then why does the configuration window allow inputting a simple file path at all? Why does the preview appear and everything seems like it works, and the node only fails on execution?
@qqilihq (Hi ) so this is in the nightly build?
My apologies! – No, it’s 4.2.3.
So, while configuring, the node takes the normal path (as the user selects using the browse button). Then, internally, to execute, the node needs the URL. That is why the path would work when configuring the node, but it does not work to execute.
In the new simplified file reader node, this is actually different and it works as you would expect, taking the file path.
Hope this helps!
Thanks, @ana_ved & @Iris – looking forward to that new node! (I still feel this should be fixed in the old node, as it causes confusion and I’ve just today spotted a very similar question here on the forum about this)
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.