[Expo-tech] Fixing /2014#05pidgeondroppings3/ to /2014#05/ etc.etc.
Philip Sargent (Gmail)
philip.sargent at gmail.com
Wed Mar 25 00:38:11 GMT 2020
All the 52 subdirectories in surveyscans/2014/ had been wrongly named.
Wookey had named them all back to the correct form /2014#05/ and had edited the name of the wallet into the
contents.json
in each folder.
I have just done an edit of all the tunnel documents which reference files in those folders to correct them to the correct directory naming convention. Like this:
sed -i 's;\(2014/2014#[0-9][0-9]\)\([^/]*\);\1;' *.xml
and pushed the changes to the ::drawings:: repo.
and to match that in surveyscans I have also deleted the bad directories from expofiles/surveyscans/2014.old/etc.etc.
and done an rsync to force those changes onto the expo server.
(Yes I had checked that there were no other differences other than the names of the directories and the different "name" field in the contents.json files.)
So 2014 is now a bit cleaner and the tunnel file references match better than they did.
But the online wallets have only the name of the survey in them: no names of people, dates, svx file reference. That all still has to be done. (Some of it may be automatable by working from the svx files.)
Philip
PS the ollyandjenny problem with /2014#00/ remains unsolved.
PPS About 600 tunnel files are skipped by the troggle import process because they do not obey the naming convention "notes1.jpg" etc. I will have a go at relaxing that in troggle/parsers/surveys.py and ensure that the 3 things: wallets.py, troggle and the handbook documentation all say the same thing.
More information about the Expo-tech
mailing list