Re: idraw 1.2.6 files sometimes make ghostscript fail possibly due to a buggy non-visible element

Scott Johnston <[email protected]> Fri, 23 Oct 2009 09:46:25 -0700
Newsgroups gmane.comp.lib.ivtools.devel
Message-ID <[email protected]>
In the idraw file with a problem you have a multi-line and a polygon  
grouped together, both of zero length.  I found them by importing the  
file into comdraw and using its scripting commands to select and  
inspect them.   Not sure how these got created.  Perhaps you can  
document this problem at http://sf.net.projects/ivtools?

Scott Johnston


On Oct 23, 2009, at 8:56 AM, Agustin Martin wrote:

> Hi,
>
> I noticed that sometimes files created by idraw 1.2.6 cannot be  
> processed
> by ghostscript, which fails with an error (lines are formatted)
>
> ------------------------------------ 8<  
> ---------------------------------
> Execution stack:
>   %interp_exit   .runexec2   --nostringval--   --nostringval--
>   % --nostringval--   2   %stopped_push   --nostringval--   -- 
> nostringval--
>   % -- --nostringval--   false   1   %stopped_push   1862   1   3
>   % -- -- %oparray_pop   1861   1   3   %oparray_pop   --nostringval--
>   % -- -- % 1845   1   3   %oparray_pop   1739   1   3   %oparray_pop
>   % -- -- % --nostringval--   %errorexec_pop   .runexec2   -- 
> nostringval--
>   % -- -- % -- --nostringval--   --nostringval--   2   %stopped_push
>   % -- -- % -- -- --nostringval--   --nostringval--
> Dictionary stack:
>   --dict:1154/1684(ro)(G)--   --dict:0/20(G)--   --dict:81/200(L)--
>   -- --dict:33/50(L)--   --dict:1/17(L)--   --dict:14/17(L)--
> Current allocation mode is local
> Current file position is 8551
> GPL Ghostscript 8.70: Unrecoverable error, exit code 1
> ------------------------------------ 8<  
> ---------------------------------
>
> I could not yet isolate what is exactly triggering the problem during
> edition, but noticed that in a buggy file, when I remove visible  
> elements
> in a one by one basis (individual select+delete), I end up with a
> supposedly empty file that is still buggy.
>
> If I then do a 'select all', nothing is shown as selected, but if  
> issue the
> delete command from the menu or the 'x' key file is marked as  
> changed, and
> as a matter of fact saved file does no longer trigger a ghostscript  
> failure.
>
> I am attaching two supposedly empty files, one with the extra code  
> that
> fails and another one really empty and thus not failing.
>
> Hope this helps,
>
> -- 
> Agustin
> < 
> carrito 
> .idw 
> .void 
> .fail 
> > 
> < 
> carrito 
> .idw 
> .void 
> .ok 
> > 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference_______________________________________________
> Ivtools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtools-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference