2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-29 05:11:52 +00:00

better error description

This commit is contained in:
Philip Sargent 2022-07-22 13:41:47 +03:00
parent 3b1b96c4c8
commit f194126fb5

View File

@ -66,11 +66,11 @@ If anyone really cares, they can always look in the original survex file
</table> </table>
</div> </div>
<div style="color: slategray; background-color:lightcyan"> <div style="color: slategray; background-color:lightcyan">
<p>Horrible bug here but only when there is more than one survex block per day, or is there ?! <p>Horrible convoluted bug here, but only for some survex files. Mostly, a survex block is duplicated. But not always.
<p>WHat we thought was the bug: <p>
e.g. see <a href="/personexpedition/Wookey/1999">Wookey 1999</a> where there are 3 eiscream survex blocks on 5th August. e.g. see <a href="/personexpedition/Wookey/1999">Wookey 1999</a> where there are one eiscream survex block on 5th August in eiscream.svx
it duplicates the entry but gets it wrong. The length from the first block is displayed twice but there should be 3 rows: eiscream, eiscream2, eiscream3. <br>It duplicates it. Also on 4th Aug. there is only one block, but it gets shown twice.
<p>The interaction of django database query idioms with <a href="https://docs.djangoproject.com/en/1.11/ref/templates/api/">django HTML templating language</a> is a bit impenetrable here. <p>The interaction of django database query idioms with <a href="https://docs.djangoproject.com/en/1.11/ref/templates/api/">django HTML templating language</a> is a bit impenetrable here.
I blame Aaron Curtis who was too fond of being clever with the Django templating system I blame Aaron Curtis who was too fond of being clever with the Django templating system
@ -82,8 +82,5 @@ instead or writing it in python anyone could understand.<br>
<br> <br>
- the connection between the two is made in the URL resolver in <var>troggle/urls.py</var> - the connection between the two is made in the URL resolver in <var>troggle/urls.py</var>
<p>To be fixed! <p>To be fixed!
<h3>What we now know</h3>
<p>The eiscream.svx file does indeed record 3 blocks: eiscream, eiscream2 & eiscream3. But (more) careful inspection shows that eiscream2 and eiscream3 are in
the year 2000, not in 1999. So they absolutely should not be shown here. So maybe everything is correct after all. (Well, apart from the duplication.)
</div> </div>
{% endblock %} {% endblock %}