Errors with 0.2.1031.1 and a new codeplug
Posted: Mon Oct 31, 2022 10:38 pm
I see problems with a fairly simple codeplug based on scot2.json which reads in just fine.
I have edited a csv file that was exported after reading scot2.json into the CPEditor, essentially chopping out many of the DV repeaters and ending up with 7 of them, then reducing the analogue repeaters down to half a dozen. All the other features like the APRS and repeater list are matching these. The repeaters of both types are edited with the information for my local area.
I then imported the modified csv, saved it as a json and wrote this to the CDR-300, the radio seems happy and at this point the CPEditor is happy.
However if I close the editor and then reopen it and read in the saved json file I get an error telling me that a value is out of array bounds. The data does not appear in the editor window.
The other problem is that if I have the csv file open in LibreOffice Calc then CPEditor gives me an error dialogue which I assume is due to the error not being handled in the editor code. Probably minor, but the file should be OK to read unless it's not saved I would think.
I have attached the files in the hope that it helps identify where things are going wrong.
I have edited a csv file that was exported after reading scot2.json into the CPEditor, essentially chopping out many of the DV repeaters and ending up with 7 of them, then reducing the analogue repeaters down to half a dozen. All the other features like the APRS and repeater list are matching these. The repeaters of both types are edited with the information for my local area.
I then imported the modified csv, saved it as a json and wrote this to the CDR-300, the radio seems happy and at this point the CPEditor is happy.
However if I close the editor and then reopen it and read in the saved json file I get an error telling me that a value is out of array bounds. The data does not appear in the editor window.
The other problem is that if I have the csv file open in LibreOffice Calc then CPEditor gives me an error dialogue which I assume is due to the error not being handled in the editor code. Probably minor, but the file should be OK to read unless it's not saved I would think.
I have attached the files in the hope that it helps identify where things are going wrong.