<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks Bruce for this feedback. In the latest snapshot, I have tried to fix this error by refactoring the whole problematic code. Could you please try, whether it still fails?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">S.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 29 Nov 2020 at 06:14, Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ" style="overflow-wrap: break-word;"><div class="gmail-m_6984044857699884666WordSection1"><p class="MsoNormal"><span lang="EN-US">Stacho<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Further to the untrapped error I mentioned last week…<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div style="border:1pt solid windowtext;padding:1pt 4pt;margin-left:36pt;margin-right:0cm"><p class="MsoNormal" style="border:none;padding:0cm">Looks like it is counting scraps correctly. The following statements…<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-family:"Calibri Light",sans-serif"> statistics carto all<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-family:"Calibri Light",sans-serif"> statistics carto-count hide (or on or off)<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm">… work perfectly.<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><u></u> <u></u></p><p class="MsoNormal" style="border:none;padding:0cm">One thing that does seem to be a problem however. The syntax…<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><span class="gmail-m_6984044857699884666gmail-m7853353679874126546fontstyle21"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif">statistics <explo/topo/carto/copyright> number <u></u><u></u></span></span></p><p class="MsoNormal" style="border:none;padding:0cm">… is giving me problems. They all seem to result in what seems to be an untrapped error, and truncating the therion.log file in random locations.<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm">For example this is what I have been trying…<u></u><u></u></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-family:"Calibri Light",sans-serif"> statistics topo 10<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-family:"Calibri Light",sans-serif"> statistics topo-length hide<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm">I checked with the previous recent version, 552f923 and after removing all the <span style="font-family:"Calibri Light",sans-serif">carto-count</span> statements, I get the same behaviour, an untrapped error. So I think the <span style="font-family:"Calibri Light",sans-serif">carto-count</span> is working perfectly and I have just unearthed a different problem.<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Having left the problem for a few days (and rebooting a number of times) I thought I’d try my ‘top 10’ statistics layout (as in the attached LayoutStatisticsReporting.thc file).<u></u><u></u></p><p class="MsoNormal">I ran my thconfig a number of times. For a given input, the point at which the log file truncates seems to be consistent.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The file log5 is what I get with a successful compile with all of the statistics.<u></u><u></u></p><p class="MsoNormal">The file log1 is what <span style="font-family:"Calibri Light",sans-serif">statistics <whatever> 10</span> gives me.<u></u><u></u></p><p class="MsoNormal">Thinking that the scraps reported near either side of the log file truncation might be associated, I commented them out of the map.<u></u><u></u></p><p class="MsoNormal">The file log04 shows what happens then – the truncation just occurs a few more characters along the file.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p></div></div>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>