XML parse error


 

Michel Kraaij

TVWBB Member
I just installed a new snapshot build (4.3 on RPi Zero WH) on a clean SD card. Booted up the HM, changed the default password and opened the linkmeter tab. This is what i'm getting:

1611058464629.png

I also tried the stable build version, but with the same result. What am I missing?

Edit: Maybe good to mention that this HM previously had an RPI 3B but I swapped it out to a RPi Zero. And yes, I downloaded the appropriate RPi version from the download page.
 
Last edited:
If you "view source" of the page and look at what's at line 56 it may give you a clue as to what the problem is. It looks to me like it might be that one of the probe names has some non-ASCII characters in them maybe (you'd be able to view them from the Home page)? It is definitely binary data of some sort being injected into the page somehow, probably something in the configuration.
 
This is at line 56
<script type="text/javascript">//<![CDATA[
var configHash = {"pcurr0":null,"pcurr1":null,"pcurr2":null,"pcurr3":null,"pn1":"Probe 1 ","pcr1":10000,"le2":"11","palh3":14690,"pall3":14658,"smax":200,"pcb0":"2.1574440e-4","pt1":"1","smin":100,"oflag":16,"pall0":-168,"pt0":"1","pall2":-40,"pca0":"1.2918189e10","palh1":-200,"pcr3":5.605194e-45,"pall1":-40,"lbn":"255","po3":57,"u":"F","pidi":0.02,"palh0":-200,"pn0":"Probe ","prfn1":"","le3":"0","lo":6,"sp":"170","pcr0":10000,"pidd":5,"pcc1":"9.5156869e-8","pcb3":"4.1252889e30","po1":-3,"prfn0":"","pcc0":"9.5156860e-8","po2":1,"palh2":-200,"fmax":100,"pcc3":"1.9429622e-19","ip":"192.168.2.23","po0":0,"sceil":100,"pcr2":4.2038946e-45,"pidp":4,"ucid":"20201120B","prfn3":"","fmin":0,"pca1":"7.3431401e-4","le0":"13","fflor":0,"pn3":"","pt2":"1","prfn2":"","pcb2":"4.1242942e30","pcb1":"2.1574368e-4","lb":"50","pca2":"7.3431401e-4","le1":"10","pt3":"64","pn2":"Probe 2 ","fsmax":100,"ld":240,"pca3":"2.0031614e0","pcc2":"1.9429622e-19"};
var lm_apikey = "REMOVED";
var lm_lidtrack_enabled = 0;
var rfInterval;
var ignoreConfigUrlUpdates;
var coeffPresets = [
{"name": "ET-72/73", "desc": "Maverick Industries", "stein": "2.4723753e-04,2.3402251e-04,1.3879768e-07"},
{"name": "ET-732", "desc": "Maverick Industries", "stein": "5.2668241e-04,2.0037400e-04,2.5703090e-08"},
{"name": "ET-735", "desc": "Maverick Industries", "stein": "7.5714216e-4,1.8829450e-4,1.4440251e-9"},
{"name": "iGrill", "desc": "iGrill Probe", "stein": "0.7739251279e-3,2.088025997e-4,1.154400438e-7"},
{"name": "Inkbird", "desc": "Models IBT-2X, IBT-4XS, IBT-6X", "stein": "7.2323395e-4,2.3971089e-4,4.6889292e-8"},
{"name": "Thermoworks", "desc": "Pro-Series Thermistor Probe", "stein": "7.3431401e-4,2.1574370e-4,9.5156860e-8"},
{"name": "Vishay 10k", "desc": "Part NTCLE203E3103FB0", "stein": "1.14061e-3,2.32134e-4,9.63666e-8"}
//{"name": "RadioShack 10k", "desc": "Part 271-110A", "stein": "8.9805316e-4,2.4926333e-4,2.0404753e-7"},
//{"name": "IKEA Fantast", "desc": "Article Number: 801.004.06", "stein": "0.0012555249,1.5671315e-4,3.2210954e-7"}
//{"name": "EPCOS 100k", "desc": "Beta 3950", "stein": "7.2237825e-4,2.1630182e-4,9.2641029e-8"}
//{"name": "Semitec", "desc": "Part 104GT-2", "stein": "8.1129016e-4,2.1135575e-4,7.1761474e-8"}
];

I've removed the lm_apikey. Not sure how 'generic' this key is ;-)
This is a strange one, I think:
"pn0":"Probe "
 
I think this board actually filtered out the low-code values that are in the probe settings. They are actually there in the config.
 
Yeah that sure is strange. I am not sure how that could get corrupted like that. I'm not sure if it will be worthwhile to try to implement some sort of filtering in linkmeterd to try to sanitize or urlencode probe names in case something like this happens again. I'll definitely try to keep it in mind in case I think of something though, but glad you were able to work around it.
 

 

Back
Top