On Fri, Nov 08, 2002 at 05:48:35PM +0000, Hakeem Ogunleye <[EMAIL PROTECTED]> wrote:
> scripts run when i execute it form the command line but when i run it from 
> a browser it doesn't work. the error_log shows:

Have you tried ./scriptname -v? that will most likely tell you that gimp
can't open the display.

Make sure your script has access to a valid DISPLAY (e.g. set
$ENV{DISPLAY} ina BEGIN block), e.g. by running an Xserver (Xvfb works
nicely).

> I have searched the newsgroups and found that this problem is quite common 
> but no one has provided a solution.

Maybe search any gimp mailinglist archives, write a FAQ and thus help
others who will, no doubt, have this problem in the future ;->

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       [EMAIL PROTECTED]      |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |
_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to