[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DocView: process ps->pdf changed status to killed.
From: |
Pierre Lorenzon |
Subject: |
Re: DocView: process ps->pdf changed status to killed. |
Date: |
Sat, 04 Oct 2014 05:35:43 +0200 (CEST) |
Hi Tassilo
From: Tassilo Horn <tsdh@gnu.org>
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Fri, 03 Oct 2014 20:34:41 +0200
> Pierre Lorenzon <devel@pollock-nageoire.net> writes:
>
> Hi Pierre,
>
>> Command ps2pdf -dSAFER /home/devel/test.ps
>> /tmp/docview1001/test.ps-932911a0f86866e1b95b1aaf506a818b/doc.pdf
>> executed in a console works perfectly ...
>
> Ok, I've thought that. So it works on the command line but not from
> lisp. Could you please try evaluating this expression and tell us what
> it messages?
>
> (let ((process (start-process "ps2pdf conversion"
> "ps2pdf conversion output"
> "ps2pdf"
> "-dSAFER"
> "/home/devel/test.ps"
>
> "/tmp/docview1001/test.ps-932911a0f86866e1b95b1aaf506a818b/doc.pdf")))
> (set-process-sentinel process
> #'(lambda (proc event)
> (message "Process: %s had the event `%s'"
> proc event)))) ;; C-x C-e here
Surprisingly it returns process had event finished syaing
that process completed. And looking in the suitable directory
one can see that the corresponding pdf file has been
created. In fact the piece of code above is not very
different from the doc-view-start-process function. Hence
it's difficult to understand why this one works since the
doc-view-start-process seems to fail.
>
> I guess it'll say something like
>
> Process: ps2pdf conversion had the event `killed
> '
No !
>
> which wouldn't give me more of a clue than I have right now,
> though. :-(
Regards
Pierre
>
> Bye,
> Tassilo
- DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/01
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/02
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed.,
Pierre Lorenzon <=
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/04
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/04
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/07
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/07
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/18
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/19
- Re: DocView: process ps->pdf changed status to killed., Stefan Monnier, 2014/10/19
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/21
- Re: DocView: process ps->pdf changed status to killed., Stefan Monnier, 2014/10/21