~/src/root-6.14.04/tutorials/dataframe> root df014_CSVDataSource.C
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Error reading headers of CSV file df014_CsvDataSource_MuRun2010B.csv
Compiler: Not Provided
For that tutorial, ctest downloads the input file (15 MB) before running the test. The file is this one:
When running it with root directly, the file is not there and the program complains about not being able to read the headers.
I acknowledge this issue. Its origin is the fact that we hesitate to add too many files to the source tree which is already quite fat.
We are working to be able to remote read the csv as we do for the sql so to get rid of these inconveniences. It will be in release 6.16.
Maybe checking for the file beforehand, and printing an error message instead of terminating with an exception would be nicer…
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.