[therion] Re: problem with 0.2.17 in 0.3.4

Simeon Warner simeon at cs.cornell.edu
Thu Nov 4 14:25:48 CET 2004


On Thu, 4 Nov 2004, Stacho Mudrak wrote:

>> We are sorry - it is a bug in the therion. It is caused by "line
>> section" symbol, probably there is some pathology there (zero length
>> line?), which is not handled properly. But we are not able to fix it
>> without seeing the therion code, that generates this error.


Thanks, I found the problem by inserting scraps one at a time and then
commenting blocks within the one bad scrap.

>> It would be great, if you could send us that part of the code.


For you debugging pleasure... the bad 'line section' was:

line section -close on
  344.0 798.0
  348.0 803.0 373.0 817.0 373.0 817.0
  smooth off
  373.0 817.0 378.0 823.0 393.0 823.0
  408.0 823.0 424.0 820.0 424.0 820.0
  smooth off
  449.0 798.0
  480.0 779.0
  510.0 773.0
  510.0 773.0 542.0 771.0 553.0 770.0
  564.0 769.0 601.0 765.0 601.0 765.0
  smooth off
  601.0 765.0 623.0 765.0 627.0 766.0
  631.0 767.0 682.0 750.0 682.0 750.0
  smooth off
  619.0 755.0
  512.0 757.0
  440.0 761.0
  424.0 765.0
  399.0 763.0
  367.0 749.0
  337.0 733.0
  355.0 752.0
  376.0 781.0
  377.0 792.0
  364.0 801.0
  364.0 801.0 340.0 793.0 344.0 798.0
endline

Thanks again,
Simeon


>> Thanks, S.
>>
>> Simeon Warner wrote:
>
>>> > I recently picked up a project I started working on with therion 0.2.17
>>> > and installed 0.3.4. When I try to compile I get lots of errors of the
>>> > form shown below. Can anyone suggest where I should look to fix this?
>>> >
>>> > Cheers,
>>> > Simeon
>>> >
>>> >
>>> > simeon at localhost mcfails>therion mcfails.thconfig
>>> > therion 0.3.4
>>> > configuration file: mcfails.thconfig
>>> > reading ... done
>>> > reading source files ... done
>>> > preprocessing database ... done
>>> > scanning centreline tree ... done
>>> > searching for centerline loops ... done
>>> > calculating station coordinates ... done
>>> > calculating basic statistics ... done
>>> > processing references ... done
>>> > selecting export objects ... done
>>> > processing projection plan ... done
>>> > average distortion: 5.01%
>>> > writing mcfails_beyond_asia_dome.pdf ...
>>> > This is MetaPost, Version 0.641 (Web2C 7.3.1)
>>> > (data.mp [4001] [4002] [4003] [4004] [4005]
>>> > [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
>>> > ! Inconsistent equation (off by -96.8626).
>>> > <to be read again>
>>> >                    ;
>>> > <for(1)> ...z1,zz2])>0.1pt):zz5=whatever[zz1,zz2];
>>> >
>>> > (zz3-zz5)=whatever*(zz1-zz...
>>> >
>>> > l_section->...z2--zz6;else:draw.zz1--zz2;fi;endfor
>>> >
>>> > ;for.pnt=(TEXT1):if.pnt=-1...
>>> > l.3238 ),)
>>> >           ;
>>> > ! Inconsistent equation (off by -18.38467).
>>> > <to be read again>
>>> >                    ;
>>> > <for(1)> ...(zz3-zz5)=whatever*(zz1-zz2)rotated90;
>>> >
>>> > draw.zz1--zz5;zz6=whatever...
>>> >
>>> > l_section->...z2--zz6;else:draw.zz1--zz2;fi;endfor
>>> >
>>> > ;for.pnt=(TEXT1):if.pnt=-1...
>>> > l.3238 ),)
>>> >           ;
>>> >
>>> > ....
>>> >
>>> > ! Inconsistent equation (off by 24.34366).
>>> > <to be read again>
>>> >                    ;
>>> > <for(21)> ...zz4-zz6)=whatever*(zz1-zz2)rotated90;
>>> >
>>> > draw.zz2--zz6;else:draw.zz...
>>> >
>>> > l_section->...z2--zz6;else:draw.zz1--zz2;fi;endfor
>>> >
>>> > ;for.pnt=(TEXT1):if.pnt=-1...
>>> > l.3238 ),)
>>> >           ;
>>> > [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26]
>>> > [27] [28] [29] [30] [31] [32] [33] [34]
>>> > [Warning: scrap outline intersects itself in scrap_asia1 at mcfails] [35]
>>> > [36]
>>> > [37] [38] )
>>> > (see the transcript file for additional information)
>>> > 43 output files written: data.1 .. data.4005
>>> > Transcript written on data.log.
>>> > /home/simeon/bin/therion/therion: error -- metapost exit code -- 256
>>> >
>>> > (yhe error doesn't go away if I remove the scrap reported as intersecting
>>> > itself)
>>> >
>>> >
>
>>
>>





More information about the Therion mailing list