Unable to open file in Debug Log

Guys, very pleased with Datamine2 and it all seems to be working fine and reporting, but I am getting this error in the debug file and wanted to understand if it is a problem. I have also added a screen grab of the Variables for DM2. The extract below is only part of the error list in the log.

50 12/01/16 10:53:37.019 luup_log:97: dataMine: Channel: 1 (Id:1), Start: Wed Nov 30 10:27:14 2016, Stop: Thu Dec 1 10:27:14 2016, AggregateBy: 0, AggregationType: 0 <0x2d965680>
50 12/01/16 10:53:37.028 luup_log:97: dataMine: 1:Unable to open file for read - /dataMine/database/1/raw/2395.txt <0x2d965680>
50 12/01/16 10:53:37.033 luup_log:97: dataMine: rawData points 91 <0x2d965680>
50 12/01/16 10:53:37.049 luup_log:97: dataMine: Done <0x2d965680>
50 12/01/16 10:53:45.826 luup_log:97: dataMine: Timezone Offset :0 <0x2d965680>
50 12/01/16 10:53:45.827 luup_log:97: dataMine: Channel: 3 (Id:3), Start: Wed Nov 30 10:27:14 2016, Stop: Thu Dec 1 10:27:14 2016, AggregateBy: 0, AggregationType: 0 <0x2d965680>

That error doesn’t necessarily indicate a problem with your set up. It just means that you requested some data for a graph and there was no data there to retrieve. The code will automatically fill the graph in for you and is quite normal.

In your example the graph range is Start: Wed Nov 30 10:27:14 2016, Stop: Thu Dec 1 10:27:14 2016 and in order to find the first data point the code must search backwards until it finds the last recorded data point before your request range. In this case it didn’t find any data as your data probably doesn’t go back that far and you got an error in the logs which was handled correctly by the code.