<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0mm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#44546A;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#993366;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#993366'>[Sam knows this I think.. but not widely known otherwise.]<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#993366'>I have finally tracked down why so few survex files (blocks) appear in this report:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><a href="http://expo.survex.com/survey_scans/">http://expo.survex.com/survey_scans/</a> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>(only 409 of them)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>when all survex blocks are listed (by date) in the second table in<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><a href="http://expo.survex.com/expedition/2017/">http://expo.survex.com/expedition/2017/</a></span> <span style='color:#993366'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#993366'>It is because the one that works takes the data from the table holding all the survex blocks, and one that is a partial failure only looks for survex blocks which are referred-to from wallets: and those links are incomplete.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#993366'>It is because recent svx files (which are most of those that don’t appear) use <o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>*ref <o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>to link to wallets, whereas older ones use <o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>; ref<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>and troggle is still stuck in the past – so can’t see * ref links.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#993366'>So changing “;” to “*” in the code (it’s not actually as simple as that) and editing all the old survex files to use “*ref” will fix this, and I will change the title of the output page to say that it only shows the linked survex blocks, not all of them.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#993366'>Philip<o:p></o:p></span></p><p class=MsoNormal><span style='color:#993366'>PS Learning django is like learning another language on top of python. Things that look like simple naming conventions actually call different code and these have to be learned. This is true of all “opinionated frameworks” I think.<o:p></o:p></span></p></div></body></html>