POV-Ray : Newsgroups : povray.general : POVRay Script Failure (Exit 11) : POVRay Script Failure (Exit 11) Server Time
5 Aug 2024 14:11:40 EDT (-0400)
  POVRay Script Failure (Exit 11)  
From: Simon Andrews
Date: 10 Sep 2002 10:40:30
Message: <3D7E045E.54CEE665@bbsrc.ac.uk>
Hi there,

I'm trying to write a wrapper script around PovRay 3.5 (Linux) to allow
the automatic generation of images from a web page.  I now have the
whole thing working so that I can run it from the command line and
everything runs fine.  
Unfortunately, when I run the same thing from a web server I get
nothing.  Absolutely nothing.  No errors, no output, no indication that
anything happened.

The bit of (Perl) code I'm working with is:


if (system("/usr/local/bin/povray +V +Iinput.pov +FP -D +W640 +H480")){

  die "POV-Ray failed to execute with exit $?";

}


..and this produces only 

"POV-Ray failed to execute with exit 11 at /home/andrewss/bin/animate
line 26."

..no error message, just an exit status 11, which I can't find
documented in the help.

If I run the same thing without any command line switches I get the
standard POV-Ray help put to STDERR, but a sucessful exit status (!), so
it must be something to do with how the command line is constructed.

Usually these sort of scripts fail because the webserver environment is
different to that of a normal user, but until I know what POV-Ray is
failing to find I'm at a loss as to how to diagnose this.

Does anyone have any clues as to where to go to next??

Thanks for any help

Simon.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.