[Therion] An unexpected metapost exit code -- 3
bruce at tomo.co.nz
bruce at tomo.co.nz
Sat Mar 14 20:21:43 CET 2026
Good morning
I've just started getting metapost exit code - 3 errors.
It looks like this is happening due to some statements in data.mp that have
no beginfig - endfig wrappers. But this is not the root cause.
The calling thconfig used to work, and I've tried compiling with Therion
versions created prior to creating this thconfig. Other thconfig files in
the dataset continue to work without error. So this points to a problem I
have created in my dataset somewhere.
This problem occurs when any type of pdf output attempts to export (plan,
extended or elevation), but not otherwise.
Based on the highlighted statements below, does anyone have any clues as to
where I should start looking?
Thanks
Bruce
therion 6.3.4+999e03f9 (2026-02-21), but same with therion. -df4b6741 and
therion. -df4b6741.exe
Therion.log extract.
####################### metapost log file ########################
This is MetaPost, version 2.01 (TeX Live 2021/W32TeX) (kpathsea version
6.3.3) 15 MAR 2026 07:40
**data.mp
(c:/Program Files/Therion/texmf/mpost/mpost.mp
(c:/Program Files/Therion/texmf/mpost/plain.mp
Preloading the plain mem file, version 1.005) ) (./data.mp
{randomseed:=42}
[1] [2] [3] [4]
[5] [6] [7] [8] [9] [10] [11] [12] [13] [14]
[15] [16] [17] [18] [19] [20] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
[12] [13] [14] [15] [16] [17] [18] [19] [20] (./mptextmp.mp) (./mptextmp.mp)
(./mptextmp.mp) (./mptextmp.mp) (./mptextmp.mp) (./mptextmp.mp)
(./mptextmp.mp)
[21]
Here is how much of MetaPost's memory you used:
13373 strings using 349495 characters
3994720 bytes of node memory
1945 symbolic tokens
37077928i,82n,16p,312b,5f stack positions out of 37077928i,98n,20p,312b,6f
41 output files written: data-patt.1 .. data.21
#################### end of metapost log file ####################
C:\Program Files\Therion\therion.exe: error -- metapost exit code -- 3
writing xtherion file ... done
Data.mp extract.
beginfig(20);
s_northarrow(90);
endfig;
beginfig(21);
s_scalebar(100, 1, "\thfb\char109 \mainfont{}");
endfig;
background:=(0.00000,0.00000,0.00000,0.00000);
transparency:=false;
beginfig(22);
clean_legend_box;
drawoptions(withcolor (0.10000,0.88333,0.00000,0.40000));
p_station_natural((0.5,0.5) inscale);
draw_legend_box;
endfig;
beginfig(23);
clean_legend_box;
drawoptions(withcolor (0.10000,0.88333,0.00000,0.40000));
p_station_fixed((0.5,0.5) inscale);
draw_legend_box;
endfig;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20260315/b5fc2ce6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: therion.log
Type: application/octet-stream
Size: 3327 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20260315/b5fc2ce6/attachment.obj>
More information about the Therion
mailing list