Hi...i'm relatively new to python...i'm trying to use webkit2png to take some screenshots. Everything works fine when I run the script from the command line...things do not work when i try to execute them from php using exec.
My php code looks something like: exec("python /usr/local/bin/webkit2png2.py -m http://www.google.com -D ~/Desktop/snap"); which produces the following output: "Cannot find pyobjc library files. Are you sure it is installed?" That output is generated from the webkit2png script after it fails to import foundation, webkit, appkit and pyobjc. How can I enable the python script to find the necessary files/ libraries when being executed from php? I'm using paul hammond's <a href="http://www.paulhammond.org/2005/08/ webkit2png/webkit2png-0.4.txt">webkit2png</a> on OS X, running apache 1.3 with php 4.47 and python 2.5.2. Thanks. -- http://mail.python.org/mailman/listinfo/python-list