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...
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.
Even with set the setuid bit on /usr/bin/pdftk, making the zope spawned task
run as root the command just hangs....
(I've confirmed that the task is actually running as root!)
I'm sure I've forgoten something silly,
but after bashing it around for several hours I just can't figure out
why it hangs
Any suggestions at what the problem could be are welcome 8-)
P.S. Here my Control panel info, incase it's relevant....
Zope Version (unreleased version, python 2.3.4, linux2)
Python Version 2.3.4 (#1, Oct 5 2004, 00:26:51) [GCC 3.3.4 (pre 3.3.5
System Platform linux2
ZServer.HTTPServer.zhttp_server (Port: 8080)
ZServer.FTPServer.FTPServer (Port: 8021)
ZServer.HTTPServer.zhttp_server (Port: 8088)
Process Id 32058 (1110281136)
Running For 12 min 58 sec
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -