On Feb 14, 2012, at 2:32 PM, Paul Fabris <paul@marketconnections.com> wrote:
> I foolishly upgraded my working OSX Server 10.7.2 (Lasso 8.6) web server to 10.7.3 over the weekend. Apart from a bunch of permissions problems, which I've managed to resolve, I now have issues with a fairly routine OS Process OSAScript inline block:
>
> OS_Process('/usr/bin/osascript', Array(
> '-e', 'tell application "FileMaker Pro Advanced"',
> '-e', 'activate',
> '-e', 'set cell "web_filenamedataentry" to "' + $FileName_New + '"',
> '-e', 'do script "AddUploadedImageFile"',
> '-e', 'end tell',
> ));
>
> This used to work fine. Filemaker, running on the WebServer under the currently logged in user, would activate, the field would be set to the contents of my Lasso Variable, a script would trigger, which processed the value in there (importing a file into a container field).
>
> Now, absolutely nothing happens.
>
> Console:
> Feb 14 12:04:49 marketconnections com.apple.launchd.peruser.14550[36035]: Background: Bug: launchd_core_logic.c:10205 (25397):0
> Feb 14 12:04:49 marketconnections com.apple.launchd.peruser.14550[36035]: Background: This API can only be used by a process running within an Aqua session.
> Feb 14 12:04:49 marketconnections osascript[36517]: spawn_via_launchd() failed, errno=5 label=[0x0-0x155155].com.filemaker.client.advanced path=/Applications/FileMaker Pro 11 Advanced/FileMaker Pro Advanced.app/Contents/MacOS/FileMaker Pro flags=0
>
> Appears to be a problem with lasso operating without a WindowServer presence. Didn't used to be an issue.
>
> Any ideas?
I've not used 8.6, so I'm not sure how it starts up, but if you could get it to startup under the user you are logged in as, that should do the trick.
Brad
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
OS Process osascript and 10.7.3
I foolishly upgraded my working OSX Server 10.7.2 (Lasso 8.6) web server to 10.7.3 over the weekend. Apart from a bunch of permissions problems, which I've managed to resolve, I now have issues with a...
Re: OS Process osascript and 10.7.3
On Feb 14, 2012, at 2:32 PM, Paul Fabris wrote:
> I foolishly upgraded my working OSX Server 10.7.2 (Lasso 8.6) web server to 10.7.3 over the weekend. Apart from a bunch of permissions problems, wh...
Re: OS Process osascript and 10.7.3
Hi Kyle,
I've tried some other basic stuff like: tell App "Finder" to activate, and am getting the same results.
I know you can reference an app in a tell block by using the full path, but I'm t...
Re: OS Process osascript and 10.7.3
Hi,
If this is on a server, I think it won't work. It will only work if FM can be accessed via a driver, which does not need any interactivity. Many tools only work when you are logged in via remot...
Re: OS Process osascript and 10.7.3
On Feb 14, 2012, at 2:32 PM, Paul Fabris <paul@marketconnections.com> wrote:
> I foolishly upgraded my working OSX Server 10.7.2 (Lasso 8.6) web server to 10.7.3 over the weekend. Apart from a bunc...
Re: OS Process osascript and 10.7.3
On Feb 18, 2012, at 5:20 PM, Brad Lindsay wrote:
>
> I've not used 8.6, so I'm not sure how it starts up, but if you could get it to startup under the user you are logged in as, that should do the...
Re: OS Process osascript and 10.7.3
I've come across a few odd permission issues with AppleScripts in
10.7.3 (not related to Lasso). I'm suspecting sandboxing but I haven't
been able to track it down yet.
2012/2/21 Paul Fabris <pau...
To find out more about this list or how to subscribe - choose the 'i' next to the list name on the right, or click here for more information about LassoTalk