Re: [F-Script-talk] Odd solution (was Unable to use F-Script Anywhere)
Brought to you by:
pmougin
From: Peter J. H. <hph...@ju...> - 2008-07-02 14:42:04
|
Thanks for your reply! Am 02.07.2008 um 15:55 schrieb Nathan Strange: > Maybe the F-Script Anywhere application was installed as root. > Using get info in the finder (command-I) may shed some light on the > problem. The F-Script Anywhere application was installed by me from my admin account. I just trashed the app and reinstalled it from the FScriptBin-20080516 distribution from Philippes site. I took care to use the version for OS 10.5. No change. (I am on 10.5.4 currently.) Permissions on the app are: - my current account: read-write - staff and everyone: read only or drwxr-xr-x when doing ls -l from my current admin account I previously had added admin read-write, with no change. Now I downloaded FSA once again from Robert Chin's blog at http://osiris.laya.com/blog/?p=24 Same story when launched from the Finder and from the Terminal (both proposed options), except the error message is different: F-Script Anywhere was unable to install itself in the selected application (process ID 61117), because an error of type -134217726 occurred. The FSA from the binary distro, however, returns: F-Script Anywhere was unable to install itself in the selected application (process ID 61117), because F-Script Anywhere must be installed in a Cocoa application running as the current user. You may be attempting to install in a setuid application, which is not supported. The most interesting thing is that my previously proposed solution works only with the app from Philippe's binary distribution and NOT with the FSA downloaded from Robert Chin's blog. So there are clearly two different versions labeled 1.3.1. > You can also experiment with the unix 'open' command which is like > double clicking on an app. > > i.e. try: > > open /Applications/Programming/FScriptBin/F-Script\ Anywhere.app > sudo open /Applications/Programming/FScriptBin/F-Script\ Anywhere.app > > if neither of these work, something is wonky with the bundle. If > only the second one works, something is wonky with the permissions > on the bundle. Both fail - even after reinstalling the app from the freshly extracted binary distribution. The app launches of course but F-Script injection fails. This is all very odd. I would like to try the source but the source for v. 1.3.1 does not seem to be available. Something is rotten here. What is going on? Thanks for any pointers for troubleshooting this matter. Thanks again, Peter > On Jul 2, 2008, at 3:33 AM, Peter J.Hartmann wrote: > >> Philippe, >> >> I finally managed to use F-Script Anywhere successfully. >> The solution, however, is odd: I launch the app from the terminal >> using >> >> sudo /Applications/Programming/FScriptBin/F-Script\ Anywhere.app/ >> Contents/MacOS/F-Script\ Anywhere >> >> Why is this? Why is it, that for other users there seems no need to >> do. >> >> I am running it from an Admin-Account. >> F-Script Anywhere therefore is running as root, whereas all the >> target >> apps are running under my admin log-in name. >> Both F-Script Anywhere and the target apps have read-write-access >> from >> my admin account and the admin group. >> >> What might be happening. >> Repairing access privileges using Disk Utility made no difference. >> >> Thanks again, >> >> Peter >> >> Am 23.06.2008 um 22:37 schrieb Philippe Mougin: >> >>> Hi Peter, >>> >>> It works well for me (Mac OS X 10.5 Intel, F-Script Anywhere >>> 1.3.1). What platform are you running on ? Which version of F- >>> Script Anywhere ? >>> >>> Philippe >>> >>> Le 20 juin 08 à 21:52, Peter J.Hartmann a écrit : >>> >>>> >>>> Hi, >>>> >>>> I'd have liked to make Preview.app somewhat scriptable. >>>> >>>> I downloaded the most recent F-Script binary but it turns out >>>> that I >>>> am unable to inject F-Script into any application but itself >>>> (i.e. F- >>>> Script Anywhere). >>>> >>>> I invariably get the following message: >>>> >>>> F-Script Anywhere was unable to install itself in the selected >>>> application (process ID 492), because F-Script Anywhere must be >>>> installed in a Cocoa application running as the current user. >>>> >>>> You may be attempting to install in a setuid application, which is >>>> not >>>> supported. >>>> >>>> This is a bit cryptic. >>>> >>>> Preview.app, Mail and all the others shown in the list of running >>>> applications certainly are Cocoa apps. >>>> They are all launched from my user account and run under my user >>>> name. >>>> >>>> Furthermore, what is a setuid application? >>>> >>>> I suspected a conflict with input managers, removed them and >>>> rebooted >>>> the machine. >>>> >>>> No avail. >>>> >>>> Any ideas? >>>> >>>> Thanks a lot! >>>> >>>> ___ Peter Hartmann ________ >>> >>> >>> >> >> >> ___ Peter Hartmann ________ >> >> mailto:hph...@ju... >> >> >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic >> lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> F-Script-talk mailing list >> F-S...@li... >> https://lists.sourceforge.net/lists/listinfo/f-script-talk > > > ___ Peter Hartmann ________ mailto:hph...@ju... |