From: Philippe Midol-Monnet (philippe_at_midol-monnet.org)
Date: Tue May 20 2003 - 21:40:46 CEST
Message-ID: <3ECA84BE.6@midol-monnet.org> Date: Tue, 20 May 2003 21:40:46 +0200 From: Philippe Midol-Monnet <philippe@midol-monnet.org> Subject: Re: [taskjuggler] PS error: box: wrong number of arguments
g3tq-jcrq@dea.spamcon.org wrote:
> * tjx2gantt FirstProject/AccountingSoftware.tjx yields PS errors (this is an
> extract from 'acso.eps'):
>
> 1 1 1 setrgbcolor
> (error: box: wrong number of arguments
> ) print flush
> 0.749019607843137 0.749019607843137 0.749019607843137 setrgbcolor
>
> * gv acso.eps complains many times about "box: wrong number of arguments"
>
> * printing of the file yields to a gantt with all (arrows, days, text) but no
> rectangle for the tasks.
>
> => Where should I look ?
> - known problem ?
> - debug Postscript::Simple ?
> - debug tjx2gantt source ? is it only available via CVS ?
>
> Cheers.
> Marcel.
>
> [Sorry for those who already received a message regarding this, I was anaware
> of the mailing list, and that the email address in the "contact" section of
> the website was in fact a mailing list at all].
>
>
>
The call to the box function in PostScript::Simple package change
between version 0.04 and 0.05.
In version 0.04 the parameter was:
box(x1, y1, x2, y2, filled)
In version 0.05 filled parameter is a hash in first position :
box ( {filled => 1 }, x1, y1, x2, y2)
The solution for you is to use the 0.04 version (see:
http://search.cpan.org/author/MCNEWTON/PostScript-Simple-0.04/)
I'm afraid that TJPERT have exactly the same bug :-(
-- Philippe MIDOL-MONNET philippe@midol-monnet.org -- To unsubscribe, email the address listed in the List-Unsubscribe header For additional commands, email: taskjuggler-help@suse.com
This archive was generated by hypermail 2.1.7 : Tue May 20 2003 - 21:43:37 CEST