cgi scripting problem with osacompile osascript
cgi scripting problem with osacompile osascript
- Subject: cgi scripting problem with osacompile osascript
- From: email@hidden
- Date: Wed, 08 May 2002 14:20:50 -0700
Hi
When I attempt to run the following command within a cgi-bin script
#!/usr/bin/perl -w
system("/usr/bin/osacompile -d -o /Users/grfxmtce/to_pronto/run_me
/Users/grfxmtce/to_pronto/compile_file");
it fails to execute with the following info being place in the syslog.
fyi I have attempted this as user(502) and as nobody with the same
results.
May 8 16:18:47 localhost WindowServer[71]: CGXSetCredentials:
unauthorized user (502)
May 8 16:18:47 localhost WindowServer[71]: _CGXGetDisplayShmem:
Unauthorized user
May 8 16:18:47 localhost /usr/bin/osacompile: kCGErrorIllegalArgument :
initCGDisplayState: cannot map display interlocks.
May 8 16:18:47 localhost WindowServer[71]: _CGXNewConnectionPort:
Unauthorized user
May 8 16:18:47 localhost /usr/bin/osacompile: kCGErrorIllegalArgument :
CGSNewConnection cannot get connection port
May 8 16:18:47 localhost WindowServer[71]: _CGXNewConnectionPort:
Unauthorized user
May 8 16:18:47 localhost /usr/bin/osacompile: kCGErrorIllegalArgument :
CGSNewConnection cannot get connection port
May 8 16:18:47 localhost /usr/bin/osacompile: kCGErrorInvalidConnection
: CGSGetEventPort: Invalid connection
Curious to know if anyone has a work around or fix for this.
rob
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.