Re: Printing From Amaya 3.2.1

Thanks for the advice.

I did a bit more investigation:

The print program is indeed being launched, and it is creating a *.ps
file
(I was looking in the wrong place).
What is happening, is that the print program is crashing after it
creates the 
ps file (during its cleanup routine).

I did a stack trace on it, and here is what I found 


#0  0x89b5167 in ?? ()
#1  0x40063de9 in XFreeFont ()
#2  0x8062176 in ThotFreeFont (frame=1) at
../../thotlib/dialogue/font.c:1400
#3  0x80af7d3 in ClosePSFile (frame=1) at
../../thotlib/editing/print.c:1581
#4  0x80b00c9 in PrintDocument (pDoc=0x88fe950, viewsCounter=1)
    at ../../thotlib/editing/print.c:2173
#5  0x80b0f27 in main (argc=19, argv=0xbffff7f4)
    at ../../thotlib/editing/print.c:2888
#6  0x4011ccb3 in __libc_start_main (main=0x80b052c <main>, argc=19, 
    argv=0xbffff7f4, init=0x8049a14 <_init>, fini=0x80d718c <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff7ec)
    at ../sysdeps/generic/libc-start.c:78

I'll try to actually find out a bit more, but I'm not familiar with the
code, and maybe someone knows what's going on ??

John

















Irene VATTON wrote:
> 
> Hi,
> 
> I answer on the list www-amaya-dev@w3.org because it's more appropriate.
> 
> When Amaya prints a document, it first generates a file
> $TMP/Thot$pid/Thot$pid.PIV
> Then it launchs the program print (see the function Print in
> Amaya/thotlib/dialogue/printmenu.c)
> 
> I suggest to:
> - check that the program print is built correctly?
> - check if it's possible to create the subdirectory then the file in the
> current directory $TMP
> 
> If the program print fails the temporary file and directory are not removed.
> In that case you can launch print in debug mode (parameters are those given in
> the local variable cmd of the function Print)
> 
> > I've compiled up Amaya 3.2.1 on Red Hat and I can't get it to print.
> >
> >
> > I've tried tracing the problem, and found that it's expecting to see a
> > file
> > with a PIV extension whatever that is.
> >
> > It seems that this file is just not getting built.
> >
> > I tried following the source to see what's going on, but the comments
> > are all
> > in French, and my French is a bit rusty these days.
> >
> > Does anyone know what's going on?
> >
> > John
> 
> --
>      Irene.
The information transmitted is intended for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination, copying or other 
use of, or taking any action in reliance upon, this information by 
persons or entities other than the intended recipient is prohibited. If 
you have received this in error, please contact the sender and delete 
the material from your system. Utility Services Corporation (USC) is not 
responsible for any changes made to the material other than those made 
by USC or for the effect of the changes on the material’s meaning.

Received on Friday, 8 September 2000 03:56:21 UTC