Hi I had this error recently and solved it by changing the scale of the output from 1 500 to 1 1000. I assumed my output was exceeding the size allowable for the pdf document?
Michael From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exit code -- 2 Thanks Bruce, but i dont understand how can i found the problem and what is that realy... On Sunday, July 2, 2017 12:26 AM, Bruce Mutton via Therion <therion@speleo.sk> wrote: Saeid Try this https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean Bruce From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, 2 July 2017 3:36 AM To: therion@speleo.sk Cc: Saeid Bostandoust <ssbos...@yahoo.com> Subject: [Therion] Metapost exit code -- 2 Hi, What is this exit code? and why it happen? and how to correct that? Thanks. This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost 2010.01.31) 1 JUL 2017 18:59 **data.mp (./data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010 ] [4011] [4012] [4013] [1] ! Value is too large (14667). <for(picture)> q:=pathpart(EXPR0);tmp:=length.q; s:=decimal(roundone(xpart.po... draw_downscrap->...te.s.to.clip_name;endfor;endfor ;write"closepath fill"to.b... l.23507 draw_downscrap ; The equation I just processed has given some variable a value of 4096 or more. Continue and I'll try to cope with that big value; but it might be dangerous. (Set warningcheck:=0 to suppress this message.) [2] [3] [4] (./mptextmp.mp) [5] ) Here is how much of MetaPost's memory you used: 1151 strings out of 1162 13347 string characters out of 20720 716551 words of memory out of 1500000 1391 symbolic tokens out of 16384 9i,75n,11p,197b,4f stack positions out of 300i,84n,5000p,200b,15f 2056 string compactions (moved 27097277 characters, 2130567 strings) 18 output files written: data.1 .. data.4013 #################### end of metapost log file #################### C:\Program Files\Therion\therion.exe: error -- metapost exit code -- 2 writing xtherion file ... done _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> www.avg.com
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion