[Expo-tech] Therion edit question re paths

Philip Sargent (Gmail) philip.sargent at gmail.com
Fri Dec 27 14:39:49 GMT 2019


OK Therion experts, 
can I just hand-edit a .th2 file to fix bad links, e.g. this lot sitting in
drawings\therion\plan\107ent3.th2
refers to paths on a local machine, none of which are paths we use on the server or expo laptop(s):

##XTHERION## xth_me_image_insert {-2500 1 1.0} {-500 {}} ../../Pictures/olly-jenny-note-scans/cave050.jpg 0 {}
##XTHERION## xth_me_image_insert {0 1 1.0} {1 {}} ../19-107-small.jpg 0 {}
##XTHERION## xth_me_image_insert {-1900 1 1.0} {-750 {}} ../../Pictures/107originalplan.png 0 {}
##XTHERION## xth_me_image_insert {-2500 1 1.0} {-1500 {}} ../../wonderland.png 0 {}
##XTHERION## xth_me_image_insert {-1000 1 1.0} {0 {}} ../../Pictures/olly-jenny-note-scans/25-107.png 0 {}
##XTHERION## xth_me_image_insert {-4.0 1 1.0} {64.0 {}} ../../Pictures/SurveyScansHertford/olly364.bmp.png 0 {}
##XTHERION## xth_me_image_insert {500 1 1.0} {0 {}} ../../Pictures/SurveyScansHertford/olly368.bmp.png 0 {}
##XTHERION## xth_me_image_insert {-1000 1 1.0} {-300 {}} ../../Pictures/SurveyScansHertford/olly369.bmp.png 0 {}
##XTHERION## xth_me_image_insert {1500 1 1.0} {0 {}} ../../Pictures/SurveyScansHertford/olly370.bmp.png 0 {}
##XTHERION## xth_me_image_insert {1500 1 1.0} {1 {}} ../../Pictures/olly-jenny-note-scans/cave052.jpg 0 {}
##XTHERION## xth_me_image_insert {700 1 1.0} {0 {}} ../../Pictures/expoimages/surveyscans/2012/olly-jenny-note-scans/19-107.png 0 {}
##XTHERION## xth_me_image_insert {-4 1 1.0} {64 {}} ../../Pictures/SurveyScansHertford/olly364.bmp.png 0 {}
##XTHERION## xth_me_image_insert {700 1 1.0} {30 {}} ../21-107-small.jpg 0 {}
##XTHERION## xth_me_image_insert {-2100 1 1.0} {0 {}} ../../Pictures/SurveyScansHertford/wonderland-joined.png 0 {}
##XTHERION## xth_me_image_insert {-2800 1 1.0} {1300 {}} ../2014_skeches/27fudgedup_plan1.jpeg 0 {}
##XTHERION## xth_me_image_insert {0 1 1.0} {0 {}} ../19-107-small.jpg 0 {}

This is an extreme example from 2012. The priority is to fix up bad links in therion and tunnel files from 2018 and 2018.
[now got Git working and so using the correct ::drawings:: repo]

Philip

-----Original Message-----
From: Philip Sargent (Gmail) [mailto:philip.sargent at gmail.com] 
Sent: 20 December 2019 00:51
To: 'Wookey'
Subject: RE: [Expo-tech] fun with tunneldata and surveyscans

Not done anything yet, just the first stage of diagnosis...
The [] and {} are puzzling though.

-----Original Message-----
From: Expo-tech [mailto:expo-tech-bounces at lists.wookware.org] On Behalf Of Wookey
Sent: 19 December 2019 21:49
To: expo-tech at lists.wookware.org
Subject: Re: [Expo-tech] fun with tunneldata and surveyscans

On 2019-12-19 21:10 -0000, Philip Sargent (Gmail) wrote:
> OK, I know I should be doing this with git & ‘drawings’ but bear with me..
> 
>  
> 
> cd expofiles/tunneldata
> 
> grep -ar surveyscans * | tr ' ' '\n' | grep surveyscans
> 
>  
> 
> done as the start of an attempt to find mismatched tunnel files and 
> inexpertly renamed plan and elev image files in /surveyscans/
> 
> and there are some wonderful strangenesses:
> sfsketch="surveyscans/2018/2018#05/blitzen_to_liquidluck_plan.jpg"
> sfsketch="expofiles/surveyscans/2018/2018#13/ulysses_to_toto_plan.jpg"
> ../../../expofiles/surveyscans/2007/2007#34/notes2.jpg
> {../../../expofiles/surveyscans/2015/2015#59/notes.jpg}
> [../../../expofiles/surveyscans/2015/2015#67/notes1.jpg]
> ../../Pictures/expoimages/surveyscans/2012/olly-jenny-note-scans/19-10
> 7.png 
> sfsketch=http://seagrass.goatchurch.org.uk/~expo/expofiles/surveyscans
> /2007/
> 2007%2366/plan2.JPG
> 
> 348 occurrences where it says “expofiles/surveyscans/” rather than 
> “surveyscans /”
> 
> OK there are only 1,276 occurrences of “surveyscans” overall in the 
> tunneldata so this is very manageable, but really,..

It's people loading files in filers on a multitude of different checkouts on different computers over 18 years. If we have any consistency at all then that's quite good :-)

Anywhere where anyone ever ran tunnel. Ideally they had all the files checked out together in a fairly standard layout but nothing forces them to, and we've probably not even been totally consistent on the offical expo machine over that time. (e..g expofiles/surveyscans vs
surveyscans)

Anyway well done for tidying up the mess - it's needed doing for some time.

Wookey
--
Principal hats:  Linaro, Debian, Wookware, ARM http://wookware.org/




More information about the Expo-tech mailing list