[Therion] Consecutive spaces in path crash pdf map-image
Bruce
bruce at tomo.co.nz
Thu Aug 4 11:46:28 CEST 2016
My trusty team of testers has discovered what seems to be a bug.
Using 5.3.16 and 5.3.16 Vladimir's beta
If a Therion project folder, that is to contain an output file, has a name
that contains two consecutive spaces and map-image is used to insert one pdf
(in this case an extended elevation) into another, then we always get this
error. Same if any folder in that folder further up the path has two
consecutive spaces.
writing ./Outputs/MapGrikePlan.pdf ...
####################### metapost log file ########################
This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost
2010.01.31) 1 AUG 2016 19:32
<snipped>
122 output files written: data.1 .. data.4015
#################### end of metapost log file ####################
converting scraps ... done
making map ... done
######################## pdftex log file #########################
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=pdftex
2010.1.2) 1 AUG 2016 19:32
entering extended mode
<snipped>
!pdfTeX error: pdftex.exe (file C:/Users/<snipped>/
caving surveys/CAVING GRIKE 016 w10/././Outputs/MapGrikeExtendedElev.pdf):
cannot find image file
==> Fatal error occurred, no output PDF file produced!
##################### end of pdftex log file #####################
C:\Program Files\Therion\therion.exe: error -- pdftex exit code -- 1
writing xtherion file ... done
The statement that appears to have triggered this is;
map-image 0 0 nw "./Outputs/MapGrikeExtendedElev.pdf"
Notice that the ./ in the statement is changed to ././ in the processing
log, and the double space seems to have been stripped out of the echoed name
in caps.
Was discovered when someone accidentally added two consecutive spaces to a
folder name.
Bruce
=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160804/1f42c186/attachment.htm>
More information about the Therion
mailing list