<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>There is a problem with maximum size of one scrap. Because Metapost creates vector images of scrap after scrap which are than connected together and exported to TeX and PDF. The maximum for one image for metapost is app. 5 m. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">So the solution could be to create smaller scraps or change the scale. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">m.s. <br><br>Odesláno z iPhonu</div><div><br>2. 7. 2017 v 8:00, Saeid Bostandoust via Therion <<a href="mailto:therion@speleo.sk">therion@speleo.sk</a>>:<br><br></div><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1498974887297_3626">Thanks for answering.</div><div id="yui_3_16_0_ym19_1_1498974887297_3370">I found the problem nearly, my project plan is very large and a th2 file of plan is about 23000 lines, im delete most of lines and reduce it to near 5000 lines and all done without errors... what should i do now?</div><div id="yui_3_16_0_ym19_1_1498974887297_3625" dir="ltr">maybe 23000 lines cannot be parsed and processed with metapost...</div><div id="yui_3_16_0_ym19_1_1498974887297_3214"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Sunday, July 2, 2017 6:55 AM, michael brewer via Therion <<a href="mailto:therion@speleo.sk">therion@speleo.sk</a>> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv7510318227"><style>#yiv7510318227 #yiv7510318227 --
 
 _filtered #yiv7510318227 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv7510318227 {panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv7510318227 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv7510318227 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv7510318227  
#yiv7510318227 p.yiv7510318227MsoNormal, #yiv7510318227 li.yiv7510318227MsoNormal, #yiv7510318227 div.yiv7510318227MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv7510318227 a:link, #yiv7510318227 span.yiv7510318227MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv7510318227 a:visited, #yiv7510318227 span.yiv7510318227MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv7510318227 p.yiv7510318227MsoAcetate, #yiv7510318227 li.yiv7510318227MsoAcetate, #yiv7510318227 div.yiv7510318227MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}
#yiv7510318227 p.yiv7510318227msonormal0, #yiv7510318227 li.yiv7510318227msonormal0, #yiv7510318227 div.yiv7510318227msonormal0
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv7510318227 p.yiv7510318227msonormal, #yiv7510318227 li.yiv7510318227msonormal, #yiv7510318227 div.yiv7510318227msonormal
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv7510318227 p.yiv7510318227msochpdefault, #yiv7510318227 li.yiv7510318227msochpdefault, #yiv7510318227 div.yiv7510318227msochpdefault
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv7510318227 span.yiv7510318227msohyperlink
        {}
#yiv7510318227 span.yiv7510318227msohyperlinkfollowed
        {}
#yiv7510318227 span.yiv7510318227emailstyle18
        {}
#yiv7510318227 p.yiv7510318227msonormal1, #yiv7510318227 li.yiv7510318227msonormal1, #yiv7510318227 div.yiv7510318227msonormal1
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;}
#yiv7510318227 span.yiv7510318227msohyperlink1
        {color:#0563C1;text-decoration:underline;}
#yiv7510318227 span.yiv7510318227msohyperlinkfollowed1
        {color:#954F72;text-decoration:underline;}
#yiv7510318227 p.yiv7510318227msonormal01, #yiv7510318227 li.yiv7510318227msonormal01, #yiv7510318227 div.yiv7510318227msonormal01
        {margin-right:0cm;margin-left:0cm;font-size:11.0pt;}
#yiv7510318227 span.yiv7510318227emailstyle181
        {color:windowtext;}
#yiv7510318227 p.yiv7510318227msochpdefault1, #yiv7510318227 li.yiv7510318227msochpdefault1, #yiv7510318227 div.yiv7510318227msochpdefault1
        {margin-right:0cm;margin-left:0cm;font-size:10.0pt;}
#yiv7510318227 span.yiv7510318227BalloonTextChar
        {}
#yiv7510318227 span.yiv7510318227EmailStyle31
        {color:#1F497D;}
#yiv7510318227 .yiv7510318227MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv7510318227 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv7510318227 div.yiv7510318227WordSection1
        {}
#yiv7510318227 </style><div><div class="yiv7510318227WordSection1"><div class="yiv7510318227MsoNormal"><span style="font-size:11.0pt;">Hi</span></div><div class="yiv7510318227MsoNormal"><span style="font-size:11.0pt;">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?</span></div><div class="yiv7510318227MsoNormal"><span style="font-size:11.0pt;">  </span></div><div class="yiv7510318227MsoNormal"><span style="font-size:11.0pt;">Michael</span></div><div class="yiv7510318227MsoNormal"><span style="font-size:11.0pt;">  </span></div><div class="yiv7510318227yqt8997661606" id="yiv7510318227yqt64835"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><div class="yiv7510318227MsoNormal"><b><span style="font-size:10.0pt;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;" lang="EN-US"> Therion [<a href="mailto:therion-bounces@speleo.sk">mailto:therion-bounces@speleo.sk</a>] <b>On Behalf Of </b>Saeid Bostandoust via Therion<br clear="none"><b>Sent:</b> Sunday, July 2, 2017 8:56 AM<br clear="none"><b>To:</b> List for Therion users<br clear="none"><b>Cc:</b> Saeid Bostandoust<br clear="none"><b>Subject:</b> Re: [Therion] Metapost exit code -- 2</span></div></div></div><div class="yiv7510318227MsoNormal">  </div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Thanks Bruce, but i dont understand how can i found the problem and what is that realy...</span></div><div><div class="yiv7510318227MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="font-size:10.0pt;">  </span></div></div><div><div><div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;">On Sunday, July 2, 2017 12:26 AM, Bruce Mutton via Therion <<a rel="nofollow" shape="rect" ymailto="mailto:therion@speleo.sk" target="_blank" href="mailto:therion@speleo.sk">therion@speleo.sk</a>> wrote:</span><span style=""></span></div></div><div class="yiv7510318227MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="">  </span></div><div><div id="yiv7510318227"><div><div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="">Saeid</span></div></div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="">Try this <a rel="nofollow" shape="rect" target="_blank" href="https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean">https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean</a></span></div></div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style=""> </span></div></div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="">Bruce</span></div></div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style=""> </span></div></div><div id="yiv7510318227yqt88753"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><div><div class="yiv7510318227MsoNormal" style="background:white;"><b><span style="" lang="EN-US">From:</span></b><span style="" lang="EN-US"> Therion [<a rel="nofollow" shape="rect" ymailto="mailto:therion-bounces@speleo.sk" target="_blank" href="mailto:therion-bounces@speleo.sk">mailto:therion-bounces@speleo.sk</a>] <b>On Behalf Of </b>Saeid Bostandoust via Therion<br clear="none"><b>Sent:</b> Sunday, 2 July 2017 3:36 AM<br clear="none"><b>To:</b> <a rel="nofollow" shape="rect" ymailto="mailto:therion@speleo.sk" target="_blank" href="mailto:therion@speleo.sk">therion@speleo.sk</a><br clear="none"><b>Cc:</b> Saeid Bostandoust <<a rel="nofollow" shape="rect" ymailto="mailto:ssbostan@yahoo.com" target="_blank" href="mailto:ssbostan@yahoo.com">ssbostan@yahoo.com</a>><br clear="none"><b>Subject:</b> [Therion] Metapost exit code -- 2</span><span style=""></span></div></div></div></div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style=""> </span></div></div><div><div id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9312"><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Hi, What is this exit code? and why it happen? and how to correct that?</span><span style=""></span></div></div></div><div><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Thanks.</span><span style=""></span></div></div></div><div id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9523"><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;"> </span><span style=""></span></div></div></div><div id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9416"><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;">This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost 2010.01.31)  1 JUL 2017 18:59<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9481" clear="none">**data.mp<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9482" clear="none">(./data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9483" clear="none">] [4011] [4012] [4013]<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9484" clear="none">[1]<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9485" clear="none">! Value is too large (14667).<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9486" clear="none"><for(picture)> q:=pathpart(EXPR0);tmp:=length.q;<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9487" clear="none">                                                s:=decimal(roundone(xpart.po...<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9488" clear="none"><br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9489" clear="none">draw_downscrap->...te.s.to.clip_name;endfor;endfor<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9490" clear="none">                                                  ;write"closepath fill"to.b...<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9491" clear="none">l.23507 draw_downscrap<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9492" clear="none">                      ;<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9493" clear="none">The equation I just processed has given some variable<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9494" clear="none">a value of 4096 or more. Continue and I'll try to cope<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9495" clear="none">with that big value; but it might be dangerous.<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9496" clear="none">(Set warningcheck:=0 to suppress this message.)<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9497" clear="none"><br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9498" clear="none">[2] [3] [4] (./mptextmp.mp) [5] )<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9499" clear="none"> <br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9500" clear="none">Here is how much of MetaPost's memory you used:<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9501" clear="none"> 1151 strings out of 1162<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9502" clear="none"> 13347 string characters out of 20720<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9503" clear="none"> 716551 words of memory out of 1500000<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9504" clear="none"> 1391 symbolic tokens out of 16384<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9505" clear="none"> 9i,75n,11p,197b,4f stack positions out of 300i,84n,5000p,200b,15f<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9506" clear="none"> 2056 string compactions (moved 27097277 characters, 2130567 strings)<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9507" clear="none">18 output files written: data.1 .. data.4013<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9508" clear="none"><br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9509" clear="none">#################### end of metapost log file ####################<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9510" clear="none">C:\Program Files\Therion\therion.exe: error -- metapost exit code -- 2<br id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9511" clear="none">writing xtherion file ... done</span><span style=""></span></div></div></div><div id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9521"><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;"> </span><span style=""></span></div></div></div><div id="yiv7510318227yui_3_16_0_ym19_1_1498919796597_9525"><div><div class="yiv7510318227MsoNormal" style="background:white;"><span style="font-size:10.0pt;"> </span><span style=""></span></div></div></div></div></div></div></div></div><div id="yiv7510318227yqt14293"><div class="yiv7510318227MsoNormal" style="background:white;"><span style="">_______________________________________________<br clear="none">Therion mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Therion@speleo.sk" target="_blank" href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://mailman.speleo.sk/listinfo/therion">https://mailman.speleo.sk/listinfo/therion</a></span></div></div><div class="yiv7510318227MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="">  </span></div></div></div></div></div></div></div><div id="yiv7510318227DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><div class="yiv7510318227MsoNormal">  </div><table class="yiv7510318227MsoNormalTable yahoo-compose-table-card" style="border:none;border-top:solid #D3D4DE 1.0pt;" border="1" cellpadding="0"><tbody><tr><td colspan="1" rowspan="1" style="width:41.25pt;border:none;padding:9.75pt .75pt .75pt .75pt;" width="55"><div class="yiv7510318227MsoNormal"><a rel="nofollow" shape="rect" target="_blank" href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"><span style="text-decoration:none;"><img id="yiv7510318227_x0000_i1025" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" border="0" height="29" width="46"></span></a></div></td><td colspan="1" rowspan="1" style="width:352.5pt;border:none;padding:9.0pt .75pt .75pt .75pt;" width="470"><div class="yiv7510318227MsoNormal" style="line-height:13.5pt;"><span style="font-size:10.0pt;">Virus-free. <a rel="nofollow" shape="rect" target="_blank" href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"><span style="color:#4453EA;">www.avg.com</span></a> </span></div></td></tr></tbody></table><div class="yiv7510318227MsoNormal">  </div></div></div></div></div><div class="yqt8997661606" id="yqt91337">_______________________________________________<br clear="none">Therion mailing list<br clear="none"><a shape="rect" ymailto="mailto:Therion@speleo.sk" href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br clear="none"><a shape="rect" href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Therion mailing list</span><br><span><a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a></span><br><span><a href="https://mailman.speleo.sk/listinfo/therion">https://mailman.speleo.sk/listinfo/therion</a></span><br></div></blockquote></body></html>