Re: [Zope] Problems Executing pdftk from within zope.

2006-04-11 Thread Dieter Maurer
Chris Withers wrote at 2006-4-10 18:16 +0100: >Jerry Westrick wrote: >> When executed from within zope, >> (this i've done via external command that executes os.system(...)) >> A task is started to executed it, but the task hangs. > >os.system will spew to stdout, which a daemon process like Zope

SOLVED Re: [Zope] Problems Executing pdftk from within zope.

2006-04-10 Thread Jerry Westrick
On Sunday 09 April 2006 19.33, Dieter Maurer wrote: > Jerry Westrick wrote at 2006-4-8 22:35 +0200: > > ... > >I bet this is the problem... > >What should the Sigmask look like? > > If the Python bug is fixed, nothing is blocked. > If the Python bug is still there, all blockable signals (i.e. all w

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-10 Thread Jerry Westrick
On Sunday 09 April 2006 19.33, Dieter Maurer wrote: > Jerry Westrick wrote at 2006-4-8 22:35 +0200: > > ... > >I bet this is the problem... > >What should the Sigmask look like? > > If the Python bug is fixed, nothing is blocked. > If the Python bug is still there, all blockable signals (i.e. all w

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-10 Thread Chris Withers
Jerry Westrick wrote: When executed from within zope, (this i've done via external command that executes os.system(...)) A task is started to executed it, but the task hangs. os.system will spew to stdout, which a daemon process like Zope probably won't enjoy much. If'd suggest moving to Zo

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-09 Thread Dieter Maurer
Jerry Westrick wrote at 2006-4-8 22:35 +0200: > ... >I bet this is the problem... >What should the Sigmask look like? If the Python bug is fixed, nothing is blocked. If the Python bug is still there, all blockable signals (i.e. all with the exception of SIGKILL and SIGSTOP) are blocked. > ... >Hmm

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-08 Thread Jerry Westrick
On Saturday 08 April 2006 20.47, Dieter Maurer wrote: > Jerry Westrick wrote at 2006-4-8 00:42 +0200: > >I trying to modify pdf files from within zope. > >I use the following command: > > > >'/usr/bin/pdftk /t/in.pdf attach_files /t/a1.pdf /t/a2.pdf output > > /t/out.pdf' > > > >When I execute it a

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-08 Thread Jerry Westrick
On Saturday 08 April 2006 20.47, Dieter Maurer wrote: > Jerry Westrick wrote at 2006-4-8 00:42 +0200: > >I trying to modify pdf files from within zope. > >I use the following command: > > > >'/usr/bin/pdftk /t/in.pdf attach_files /t/a1.pdf /t/a2.pdf output > > /t/out.pdf' > > > >When I execute it a

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-08 Thread Dieter Maurer
Jerry Westrick wrote at 2006-4-8 00:42 +0200: >I trying to modify pdf files from within zope. >I use the following command: > >'/usr/bin/pdftk /t/in.pdf attach_files /t/a1.pdf /t/a2.pdf output /t/out.pdf' > >When I execute it as root it works... I do not know what "pdftk" does. But from your descr

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-08 Thread Jonathan
ROTECTED]> To: Sent: Saturday, April 08, 2006 10:47 AM Subject: Re: [Zope] Problems Executing pdftk from within zope. On Saturday 08 April 2006 01.24, Jonathan wrote: Have you tried running it as a spawned job from the shell? If something is pooched in the environment then the job should ha

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-08 Thread Jerry Westrick
On Saturday 08 April 2006 01.24, Jonathan wrote: > Have you tried running it as a spawned job from the shell? If something is > pooched in the environment then the job should hang (then you know it is > not a zope problem). > > Jonathan > Using the "if __name__ == '__main__': main()" I have execu

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-07 Thread Jonathan
Have you tried running it as a spawned job from the shell? If something is pooched in the environment then the job should hang (then you know it is not a zope problem). Jonathan - Original Message - From: "Jerry Westrick" <[EMAIL PROTECTED]> To: Sent: Friday, April 07, 2006 6:42 PM