Modify

Opened 18 years ago

Closed 18 years ago

#1029 closed defect (invalid)

mod_python + pagetopdf (system call is not working)

Reported by: jc@… Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Inside pagetopdf, there is a system call to generate the PDF from html ussing htmldoc. That works find in my fcgi environment. After setting the Trac to mod_python, the system call is not evaluated.

(the temp files are created, but the result is empty!)

Any ideas? Do i need to set the PATH for a system call, or something similar?

Other modules and plugins work well. e.g. blog, imagegallery, webadmin etc, but another module (same as pagetopdf system) which spans a system call to generate formatted text using links/w3m or similar, is not working

Thanks in advance!

Attachments (0)

Change History (4)

comment:1 Changed 18 years ago by Noah Kantrowitz

Do you have SELinux or some other security system running, or is Apache running in a chroot?

comment:2 Changed 18 years ago by jc@…

Nope.

Debian installation with apache 2.2 and mod_python. And apache is configured to run as nobody (as usual) but for cgi's its working. (even that process runs as nobody)

comment:3 Changed 18 years ago by jc@…

It's me again, sorry for the second post.

Its working when i specify the complete path to the binary e.g. /usr/bin/htmldoc or similar. But the problem with the system call still exists, also with the enscript rendering.

comment:4 Changed 18 years ago by anonymous

Resolution: invalid
Status: newclosed

Woops. Permissions on EGG files and the paths where they end up ARE important. Closed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.