[Expo-tech] expo://survey_scans/ - probable success

Philip Sargent (Gmail) philip.sargent at gmail.com
Wed May 13 12:54:39 BST 2020


[Sam knows this I think.. but not widely known otherwise.]

 

I have finally tracked down why so few survex files (blocks) appear in this
report:

http://expo.survex.com/survey_scans/  

(only 409 of them)

when all survex blocks are listed (by date) in the second table in

http://expo.survex.com/expedition/2017/ 

 

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.

 

It is because recent svx files (which are most of those that don't appear)
use 

*ref 

to link to wallets, whereas older ones use 

; ref

and troggle is still stuck in the past - so can't see * ref links.

 

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.

 

Philip

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wookware.org/pipermail/expo-tech/attachments/20200513/a76537ab/attachment.htm>


More information about the Expo-tech mailing list