Closed kathaurielle closed 5 months ago
Can we have some more details and a few confirmations please 1) I assume this is on Windows, as "bundled JRE" is mentioned 2) Can we please find out how the user has run it, one of the following
To me, it appears as if the files it is trying to look for are the ones which belong to the CSV validator rather than the data that they may want to validate?
It is, yes, but the weird thing is it returns results for the folder it's scanning just fine, but with those files added. This is the set up, and where it's scanning:
Hi, I'm the user who is experiencing the message.
Yes, I'm using Windows, I'm not running any file substitution paths and I am running CSV validator via the bat file.
@kathaurielle could you please send to me the data you used for testing, either in email or here. Thank you
Just emailed you SP, thank you.
I have managed to replicate it. I'll investigate further, however, unfortunately, I cannot give any timeline at this moment. Thanks
Thank you SP, that is reassuring, although sorry it's more work for you. @Lucy-Bonner , if you need any help with this, let me know., as unfortunately the glitch will persist until fixed.
@kathaurielle and @Lucy-Bonner
The error is stemming from the integrityCheck
option. In the schema file, when defining the integrity check, the second parameter is the folder relative to where the CSV file resides. (if nothing is mentioned, we use "content" as a default)
In your case, the data whose integrity needs to be checked is inside a folder called Mayu
from the relative path of the CSV file.
If you change line 31 in the schema file to be URI: fileExists integrityCheck("","Mayu","includeFolder")
that should look for only the files that are part of your data and the unnecessary error will go away.
Hope this helps, Many thanks.
Hello, a user (who I'll invite onto this issue) emailed in saying that they're getting the error message ‘: integrityCheck("") fails for line: 6, column: URI, files: ", running-csv-validator.txt, csv-validator-cmd.bat, csv-validator-gui.bat, csv-validator-cmd, LICENSE, csv-validator-ui-1.3.0.jar, csv-validator-gui, csv-validator-cmd-1.3.0.jar" are not listed in the metadata’
I was able to replicate this in csv val with jre on my IN machine:
Odd, and intermittent- the files are defo not visible in the folder.