[Therion] Metapost exit code -- 2
Saeid Bostandoust
ssbostan at yahoo.com
Sun Jul 2 10:30:36 CEST 2017
Im check it, all of my points, lines and etc... between scrap and endscarp and all of my design between cave wallsbut a problem not resolve.
On Sunday, July 2, 2017 12:44 PM, Martin Sluka via Therion <therion at speleo.sk> wrote:
An scrap is a unit from which all Therion's output are created.
So all objects of particular scrap MUST be between lines scrap - endsrap in th2 files. Of they are outside, they will not be drawn.
It is not simple work, all active objects of an active scrap are in blue. On top right corner of map editor is a window where is structure of your th2 file. Above it are buttons for selecting different parts of overall th2 file. Select the particular scrap by that button and check on map window if everything of that scrap is selected. If not check the line number of endscrap command of that scrap. There is a button "Move to" just bellow of window with th2 structure. Write there line number of endscrap, select missing objects on by one and press "Move to".
Repeat it untill all objects will be in their particular scraps.
Sorry, but no more simple way.
Recommendation: Create small scraps from beginning.
m.s.
Odesláno z iPhonu
2. 7. 2017 v 9:20, Saeid Bostandoust via Therion <therion at speleo.sk>:
Im resolve the problem by split my scrap into small scraps but another problems occurs.1- scrap outline intersects itself2- most of pit lines, slope lines, rock-border lines and etc... not exported to pdfWhat should i do?
####################### metapost log file ########################
This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost 2010.01.31) 2 JUL 2017 09:52
**data.mp
(./data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010
] [4011] [4012] [4013]
[1] [2]
[Warning: scrap outline intersects itself in scrap Cave-Plan4 at Shapur]
[Warning: scrap outline intersects itself in scrap Cave-Plan4 at Shapur] [3]
[4] [5] [6] [7] [8]
[Warning: scrap outline intersects itself in scrap Cave-Plan2 at Shapur] [9]
[10] [11]
[Warning: scrap outline intersects itself in scrap Cave-Plan1 at Shapur] [12]
[13] [14] (./mptextmp.mp) [15] )
On Sunday, July 2, 2017 10:31 AM, Saeid Bostandoust via Therion <therion at speleo.sk> wrote:
Thanks for answering.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?maybe 23000 lines cannot be parsed and processed with metapost...
On Sunday, July 2, 2017 6:55 AM, michael brewer via Therion <therion at speleo.sk> wrote:
#yiv5961777772 -- filtered {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}#yiv5961777772 filtered {panose-1:2 4 5 3 5 4 6 3 2 4;}#yiv5961777772 filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv5961777772 filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv5961777772 p.yiv5961777772MsoNormal, #yiv5961777772 li.yiv5961777772MsoNormal, #yiv5961777772 div.yiv5961777772MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv5961777772 a:link, #yiv5961777772 span.yiv5961777772MsoHyperlink {color:blue;text-decoration:underline;}#yiv5961777772 a:visited, #yiv5961777772 span.yiv5961777772MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv5961777772 p.yiv5961777772MsoAcetate, #yiv5961777772 li.yiv5961777772MsoAcetate, #yiv5961777772 div.yiv5961777772MsoAcetate {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv5961777772 p.yiv5961777772msonormal0, #yiv5961777772 li.yiv5961777772msonormal0, #yiv5961777772 div.yiv5961777772msonormal0 {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv5961777772 p.yiv5961777772msonormal, #yiv5961777772 li.yiv5961777772msonormal, #yiv5961777772 div.yiv5961777772msonormal {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv5961777772 p.yiv5961777772msochpdefault, #yiv5961777772 li.yiv5961777772msochpdefault, #yiv5961777772 div.yiv5961777772msochpdefault {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv5961777772 span.yiv5961777772msohyperlink {}#yiv5961777772 span.yiv5961777772msohyperlinkfollowed {}#yiv5961777772 span.yiv5961777772emailstyle18 {}#yiv5961777772 p.yiv5961777772msonormal1, #yiv5961777772 li.yiv5961777772msonormal1, #yiv5961777772 div.yiv5961777772msonormal1 {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;}#yiv5961777772 span.yiv5961777772msohyperlink1 {color:#0563C1;text-decoration:underline;}#yiv5961777772 span.yiv5961777772msohyperlinkfollowed1 {color:#954F72;text-decoration:underline;}#yiv5961777772 p.yiv5961777772msonormal01, #yiv5961777772 li.yiv5961777772msonormal01, #yiv5961777772 div.yiv5961777772msonormal01 {margin-right:0cm;margin-left:0cm;font-size:11.0pt;}#yiv5961777772 span.yiv5961777772emailstyle181 {color:windowtext;}#yiv5961777772 p.yiv5961777772msochpdefault1, #yiv5961777772 li.yiv5961777772msochpdefault1, #yiv5961777772 div.yiv5961777772msochpdefault1 {margin-right:0cm;margin-left:0cm;font-size:10.0pt;}#yiv5961777772 span.yiv5961777772BalloonTextChar {}#yiv5961777772 span.yiv5961777772EmailStyle31 {color:#1F497D;}#yiv5961777772 .yiv5961777772MsoChpDefault {font-size:10.0pt;}#yiv5961777772 filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv5961777772 div.yiv5961777772WordSection1 {}#yiv5961777772 HiI 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-bounces at 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 at speleo.sk> wrote: SaeidTry this https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean Bruce From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of Saeid Bostandoust via Therion
Sent: Sunday, 2 July 2017 3:36 AM
To: therion at speleo.sk
Cc: Saeid Bostandoust <ssbostan at 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
_______________________________________________
Therion mailing list
Therion at speleo.sk
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
Therion at speleo.sk
https://mailman.speleo.sk/listinfo/therion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170702/0df01116/attachment.htm>
More information about the Therion
mailing list