Problem RDataFrame tutorial df014_CSVDataSource.C

~/src/root-6.14.04/tutorials/dataframe> root df014_CSVDataSource.C

results in

root [0]

Processing 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

_ROOT Version:6.14.04
Compiler: Not Provided

Dear Eddy,

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.


Hi Eddy!

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… :wink:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.