Infinite loop - Convert no records found, try later
Posted: Thu Oct 25, 2018 11:56 pm
So here's what I did. I added a load of devices to IndigoPlotD, and all was fine. I am guessing that I have added 50 tracked variables from about 30 devices (some devices have multiple tracked items).
Then I tried to add a new device, Aeon House Power meter.
Indigo PlotD seems to get in an infinite loop, trying to read values over and over again, see log snippet below.
So, I thought "perhaps IndigoPlotD has a limit of 50 columns, I will delete a device I don't care about (Kenwood) to make more space, and re-add the Aeon House Power meter". I did that, with a restart between to break the infinite loop, and the effect was the same - an infinite looo with the message -Convert no records found, try later.
So, I thought "The data from Aeon House Power meter must be corrupt", so I looked at the SQLIte file for the device, but it does have data in, see below:
So then I thought "I'll just stop fiddling with it and put it back the way it was!". So I deleted the Aeon House Power Meter, and put BACK the Kenwood exactly the way it was and Lo! The infinite loop is back again.
So I deleted the Kenwood AS WELL, and now IndigoPlotD is working again, but I don't seem to be able to add new devices - even ones which were previously working - without error.
Any idea what's going on, or how to rectify it?
Then I tried to add a new device, Aeon House Power meter.
Indigo PlotD seems to get in an infinite loop, trying to read values over and over again, see log snippet below.
Code: Select all
44:03 -sql file if done, now reading it 0 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:03 - theCol:51; updatesALL:True; sqlDynamic:batch2Days; sqlHistListStatus:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:03 -Convert no records found, try later 1
06:44:03 -Convert no records found, try later 2
06:44:03 - theCol:52; updatesALL:True; sqlDynamic:batch2Days; sqlHistListStatus:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:03 -Convert no records found, try later 1
06:44:03 -Convert no records found, try later 2
06:44:04 - clearSqlData sqlupdates: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
06:44:04 -SQL import 2018-10-26 06:44:04.024191 ... sqlColListStatus: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
06:44:09 -readSQLdataBatch calledfrom ...runConcurrentThread sqlHistListStatus[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:09 - ...runConcurrentThread sqlColListStatus [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
06:44:09 -sql file if done, now reading it 0 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:09 - theCol:51; updatesALL:True; sqlDynamic:batch2Days; sqlHistListStatus:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:09 -Convert no records found, try later 1
06:44:09 -Convert no records found, try later 2
06:44:09 - theCol:52; updatesALL:True; sqlDynamic:batch2Days; sqlHistListStatus:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50]
06:44:09 -Convert no records found, try later 1
06:44:09 -Convert no records found, try later 2
06:44:10 - clearSqlData sqlupdates: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
06:44:10 -SQL import 2018-10-26 06:44:10.118709 ... sqlColListStatus: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
So, I thought "The data from Aeon House Power meter must be corrupt", so I looked at the SQLIte file for the device, but it does have data in, see below:
Code: Select all
SELECT t.* FROM device_history_254364479 t
LIMIT 501
<snipped>
70 2018-10-26 05:41:01 1952 0.787 1952 seconds 0.787 kWh
71 2018-10-26 05:41:01 1379.141 1379.141 W
72 2018-10-26 05:42:01 2012 0.81 2012 seconds 0.810 kWh
73 2018-10-26 05:42:01 1393.347 1393.347 W
74 2018-10-26 05:43:01 2072 0.833 2072 seconds 0.833 kWh
75 2018-10-26 05:43:01 1367.048 1367.048 W
76 2018-10-26 05:44:01 2132 0.856 2132 seconds 0.856 kWh
77 2018-10-26 05:44:01 1272.01 1272.010 W
78 2018-10-26 05:45:01 2192 0.878 2192 seconds 0.878 kWh
79 2018-10-26 05:45:01 1274.687 1274.687 W
80 2018-10-26 05:46:01 2252 0.899 2252 seconds 0.899 kWh
81 2018-10-26 05:46:01 1252.315 1252.315 W
82 2018-10-26 05:47:01 2312 0.92 2312 seconds 0.920 kWh
83 2018-10-26 05:47:01 1250.976 1250.976 W
So I deleted the Kenwood AS WELL, and now IndigoPlotD is working again, but I don't seem to be able to add new devices - even ones which were previously working - without error.
Any idea what's going on, or how to rectify it?