• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
cgi scripting problem with osacompile osascript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: dvd access through applescript?
  • Next by Date: Properties and Globals in AppleScript Studio
  • Previous by thread: dvd access through applescript?
  • Next by thread: Properties and Globals in AppleScript Studio
  • Index(es):
    • Date
    • Thread