Finder got an error. Application not running (-600)

I have a LaunchAgent that calls a shell script, at login.  The shell script runs and determines the users AD container and then will runn the correct applescript application depending on the AD Container.    The applescript applications simply mount up the users network volumes, runs a few do shell scripts and then exits.
It works and has been working for quite some time, under 10.5.x, 10.6.x, 10.7.x and even 10.8.x.  But I have started getting a few users who are getting a rather odd message in the logs that the script creates and I can't really find anything on the error message.
"Finder got an error.  Application not running (-600)"
If I log the user in and run the following at the command line:
launchctl unload name.of.plist 
It will unload the launchagent.
If I type this at the commane line:
launchctl load name.of.plist
It works perfectly.  No errors.
I can manually run the shell script it calls and that works fine.
I can also manually double click the apps and those run fine. 
I've changed the permissions, I've recopied, re-imaged, but I can not figure out why the script won't sometimes and gives me that error message.
Has anyone seen this error message before and what I can try to do to fix it?
Thank you in advanced.

This sounds like a typical race condition, and it's impossible to solve without seeing the script.
The issue is that your script is targetting some application that isn't available. Ordinarily AppleScript will launch an application if it's not already running, but during launch it's possible that your script is trying to target an application before it can be launched (because the user's envirnment is still loading).
So you need to look at the script to see what it's doing, and what apps it's targeting. The fix might be as simple as adding a few delays to allow the system to finish logging in, but t's hard to say without more data.

Similar Messages

  • ERROR : Application not authorized to access the restricted API

    hello every body
    I m doin an application related to mmapi and i have written a programm for capturing a live audio , but when i run this programm i get an error
    "Application not authorized to access the restricted API"
    i m fed up of debuggin it , i m not able to find ne solution , n i m stuck up . If ne one of u have got the smae proble m and have got ne solution pls tell me and pls help me
    thanks

    This could come when the midlet is not signed and gets installed as untrusted application.
    Try signing the midlet using verising java object signing class 3 RSA certificate. Do not use DSA cert as it is not supported by wtk.
    Regards,
    Raja Nagendra Kumar,
    C.T.O,
    Offshore Excellence - J2ME
    www.tejasoft.com

  • Web-Disk on OSX 10.9 Give me this error: "Finder got an error: Network file permission error."

    Previously I was using OSX 10.8 and Web Disk was working great.
    Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
    FInder got an error: Network file permission error.
    When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
    And I did:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
    But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
    FInder got an error: Network file permission error
    After trying 100 times it attaches 1 time but then show this ERROR:
    Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
    If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
    Now Im stuck How can I solve this? All help is highly appericated..
    Thank you so much...

    Hi,
    Make sure to chmod the app, something like this :
    chmod -Rf 777  secure_site_WebDisk.app
    (in my case the CPanel provided the app for my OSx version.)

  • Finder got an error: Can't get item 1 of {document file "foo" ...}

    I have a lot of files in Corel Painter 8's RIFF format. I want to write a script that opens a file and somehow forces Corel Painter 8 to save the file as a GIF. GUI scripting may be some help with the latter; now I am concentrating on finding RIFF files and opening them in Corel Painter 8.
    I have a script that does a depth-first search of the folders starting at some root folder, using the Finder application to do the file-system stuff. It creates a list with
    set docs to every document file of pages_folder whose file type = "RIFF"
    as it loops through folders it adds to the list like this:
    set more_documents to every document file of a_folder whose file type = "RIFF"
    set docs to docs & more_documents
    My naîve mental model is that docs is a list of document-file objects. Next I have a loop that attempts to strip out files for which a GIF file already exists (and is no older than the RIFF document). This works by deleting non-matching items like so:
    if not isgifneeded then
    set docs to items 1 thru (i - 1) of docs & items (i + 1) thru (length of docs) of docs
    end if
    Finally it tries to open one of the files in Corel Painter 8 using the Finder:
    open item 1 of docs using "Corel Painter 8"
    This does not work. I get an error message
    Finder got an error: Can't get item 1 of {document file "bar" of folder "foo" of folder "blah" of folder "pdc" of folder "Users" of startup disk, ... }."
    It lists all of the files. (The error message appears in a sheet that extends off the bottom of the screen!) They are identified in the message as document-file objects. The curly braces are, I believe, the AppleScript notation for a list. I expect to be able to obtain the first element of a list with ‘item 1 of xs’. My assumption is that the Finder’s open command would expect a document file object, or at least would be able to cope with being asked to open a document. What am I missing here?
    PowerBook 12" without mini-DVI   Mac OS X (10.4.7)  

    Hi Damian and welcome to Apple Discussions!
    One suggestion: try
    tell application "Finder" to open item 1 of docs
    (without 'using "Corel Painter 8"')
    As far as the Finder is concerned, "Corel Painter 8" is just a string of characters. And telling the Finder to open a file is just the same as double-clicking it: the Finder knows which app to use - as long as these are native Corel Painter 8 docs.
    Hope this helps,
    H

  • Applescript "Finder got an error: Can't make document file"

    I can get the file contents if I use choose file but if I do it this way, I get the error:
    error "Finder got an error: Can’t make document file ... to file
    Code:
    tell application "Finder"
              set theFolder to (choose folder with prompt "Select the start folder")
              set file_list to every file of theFolder
              repeat with myfile in file_list
          log (name of myfile as string)
          set fileContents to read myfile
          set fileText to paragraphs of (fileContents)
          repeat with nextLine in fileText
              if length of nextLine is greater than 0 then
                  log nextLine
              end if
          end repeat
              end repeat
    end tell

    Changing
    set fileContents to read myfile
    to
    set fileContents to read (myfile as alias)
    sorted it!

  • Finder got an error: Network file permissions error.

    I'm currently getting this issue.
    Finder got an error: Network file permissions error.
    I had some auto mounting of network drives, and most of the related posts directed me to afp and smb2. Now I have disabled it and no network drives are being mounted. I still get the error!
    Where could the issue be?

    using applescript that runs on boot I was using.
    mount volume "smb://username:password@hubble/GENERAL/DESIGN"
    mount volume "afp://username:[email protected]/StudioD"

  • Bridge CC on opening gives "Adobe Bridge CC has stopped working" Uninstalled, re-installed same error, will not run. "check online for a solution" does nothing.

    Bridge CC on opening gives "Adobe Bridge CC has stopped working" Uninstalled, re-installed same error, will not run. "check online for a solution" does nothing.
    Bridge worked great for a while then started to fail when starting. Old Bridge CS6 still works fine. HELP ... please.

    You problem is in the Fault Module MSVCR80.dll
    Do a web search for this.  Here is one LINK

  • I accidentally pressed "Return" key and it opened around 100 finder windows. Now it won't close and when I right click on finder tab it says application not responding.

    I accidentally pressed "Return" key and it opened around 100 finder windows. Now it won't close and when I right click on finder tab it says application not responding.

    Iv'e tried that but that won't work either. Help please.

  • In Example Finder, I can't open the example, error: server not running

    It say's the web server is not running when I try to click into any examples. It's installed under academic license 12.0.1.f3

    Hello,
    Does this issue only occur when you are logged on to the Domain? In other words, if you donot log on to the network does the example finder work correctly then? If so then you probably have to ask your System Administrator to allow access for the NI System Web server in your Firewall.
    A good resource for finding out what ports should be opened in the Firewaal to have NI SW work correctly is:
    http://digital.ni.com/public.nsf/allkb/CEF5A3568A5DA71D8625732800520EA1?OpenDocument
    Regards, 
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Got an error code after running AHT. Now what?

    I ran the Apple Hardware Test and got the error code:  4sns/1/40000000:th1H-83.265
    I looked it up and it apparently means there's a problem wuth my heat pipe or heat sink. Makes sense because my MBP burns up and fans really start going when running a game, movie, or photoshop. Does this mean I have to replace something or what? How much will it cost me if I take it in for repairs? I no longer have warranty. I had to replace my harddrive after it failed in Feb 2012 so I will not be happy if it turns out the failure was related to this heat problem and never fixed.
    Mid-2009 13" MBP running OSX 10.8

    That error is indeed a sensor failure.  Make an appointment at an Apple store genius bar.  It is a hardware failure that only they can resolve.  They will tell you what costs are involved, I simply do not know that.
    Ciao.

  • Error "Application not found" from SICF while trying to test WD service

    Hi All,
    I am getting an error as "Application not found" when i am trying to test my web dynpro component service from SICF.
    This service is active as well.
    But when i copied the same URL and pasted it in browser then my web dynpro component opened.
    And i am able to open my web dynpro compoent from SE80 also.
    Regards,
    Amar

    Hi All,
    Is is related to browser, because i am using IE8.
    But the only doubt i have is when i am pasting the URL in IE8 then it is loading the WD page.
    Regards,
    Amar

  • App store and applications not running correctly on the 4GS

    I upgraded my iphone last night from the 4G to the 4GS,   I downloaded all of the updates and the back up.  today my phone is very slow, the APP store will not load, and other applications are running very slow or will not open.  I have rebooted my phone,  deleted apps such as netflix and face book re downloaded, earlier was able to, now I cannot.    Does anyone have any suggestions,    wondering why I upgraded my phone??????

    See [[Installing a previous version of Firefox]]
    If you are going to use Firefox 3.0, you should try the last version 3.0.19 rather than 3.0.1

  • "Error: Application Not Found" Help?

    Hey everybody, I was just wondering if anyone could help me out here. Everytime I go to open iTunes, I get an error saying "Application Not found" and I don't know why. I did some researching and heard that Nortons Anti virus might be the problem. WhichI think is probably true because Iinstalled Norton, ran a virus scan, and I can't open quite a few files. iTunes, FireFox, Google Chrome, etc... Anyone know how to fix it? I've uninstalled iTunes and re-installed it and nothing. I also went to the settings in Norton and changed iTunes from 'Auto' to 'Allow' but it still won't work. Any one know what to do?

    I figured out the problem - no need to reply.
    I mistakenly added an authentication scheme instead of an authorization scheme.
    Fixed it - works fine.
    Thanks,
    David

  • IVI error will not run PXI cards calibration

    I had an NI automatic update done a week or so ago and it wiped out my ability to run NIMAX, Calibration Executive, and see any of my PXI card plugins. I am using a PXI-1033 mainframe and calibrating multipe PXI cards. I was able to fix NIMAX and I can now see my mainframe and cards in the mainframe, but I cannot communicate with the cards. When I start my computer I get a "found new hardware wizard" looking for a PCI Device but have no luck when I downloaded all the drivers once again. In MAX the card is there but says "windows does not have a driver associated with my device" even after installing it three times. When I tried running Calibration Executitve I get the error message "ProcessModel\QueryDriverVersions\specificDrivers\cex_Read_NI_SCOPEVersion.viat step QueryDriver Versions LabView: The VI is not executable. Most likely the VI is broken or one of its VIs cannot be located. OPen the VI in labview using flie>>Open and verify it is runable."

    Here is the report for what I am seeing when I first start up MAX. The error code said “NI Service Locator is not running”, See attachment.
    I use this NI Software to calibrate PXI cards listed below using a NI PXI-1033 mainframe. PXI cards are:
    PXI-4070
    PXI-4461
    PXI-5441
    PXI-5600
    PXI-5610
    PXI-5620
    When I run Calibration Executive to calibrate a PXI-5600, I see the error code “Error-603 occurred at Open RegistryKey.vi at step Query Driver Versions.
    Possible reasons: LabVIEW: Specified key or value does not exist.
    When I run Calibration Executive to calibrate a PXI-5620, PXI-5122, I see the error code “Error 1003 occurred at Open VI Reference in cex_ReadDriverVersion.vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi.ProxyCaller
    VI Path: C:\Program Files\National Instruments\Calibration Executive\Source\vi.lib\
    ProcessModel\QueryDriverVersions\specificDrivers\cex_Read_NI_SCOPE_Version.vi
    At step Query Driver Versions
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the VI in LabVIEW using File>>Open and verify that it is runnable.
    Possible Reasons:
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the LabVIEW using file>> Open and verify that it is runable.
    When I run Calibration Executive to calibrate a PXI-5620, I see the error code “Error 1003 occurred at Open VI Reference in cex_ReadDriverVersion.vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi.ProxyCaller
    VI Path: C:\Program Files\National Instruments\Calibration Executive\Source\vi.lib\
    ProcessModel\QueryDriverVersions\specificDrivers\cex_Read_NI_DMM_Version.vi
    At step Query Driver Versions
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the VI in LabVIEW using File>>Open and verify that it is runnable.
    Possible Reasons:
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the LabVIEW using file>> Open and verify that it is runable.
    When I run Calibration Executive to calibrate a PXI-5610, I see the error code “Error 1003 occurred at Open VI Reference in cex_ReadDriverVersion.vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi.ProxyCaller
    VI Path: C:\Program Files\National Instruments\Calibration Executive\Source\vi.lib\
    ProcessModel\QueryDriverVersions\specificDrivers\cex_Read_NI_RFSG_Version.vi
    At step Query Driver Versions
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the VI in LabVIEW using File>>Open and verify that it is unable.
    Possible Reasons:
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the LabVIEW using file>> Open and verify that it is runable.
    When I run Calibration Executive to calibrate a PXI-5441, I see the error code “Error 1003 occurred at Open VI Reference in cex_ReadDriverVersion.vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi-
    >cex_FindProcedureINIAndGetVersionInfo. Vi.ProxyCaller
    VI Path: C:\Program Files\National Instruments\Calibration Executive\Source\vi.lib\
    ProcessModel\QueryDriverVersions\specificDrivers\cex_Read_NI_FGEN_Version.vi
    At step Query Driver Versions
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the VI in LabVIEW using File>>Open and verify that it is runnable.
    Possible Reasons:
    LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the LabVIEW using file>> Open and verify that it is runable.
    I can successfully calibrate a:
    PXI-4461
    Attachments:
    ni_support.zip ‏1184 KB

  • Sample application not running.

    Hi,
    I have downloaded sample application from Oracle website. Name of sample application is "Servlet Session Management Sample Application". But i got the following error. I have unlocked the OE schema used in this sample application. Any solution for it.
    javax.naming.NameNotFoundException: OE not found
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:124)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:189)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:63)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at oracle.otnsamples.servlets.EditCart.getProducts(EditCart.java:139)
         at oracle.otnsamples.servlets.EditCart.doPost(EditCart.java:115)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    To provide a little context for the problem I am having:
    I am following examples on how to use Essbase based on the book "Look Smarter Than You Are With Essbase" by Edward Roske and Tracy McMullen. I am new to Hyperion and Essbase, and am trying to learn about it and document what it can do. I used the the Sample Applicaiton, Basic database that came with the installation files and opened it in Excel by connecting to Essbase through Provider Services (all of this was done within Excel). The sample is based on a fictious company called The Beverage Company. I set-up a specific view that shows Sales of the Cola product in the East region, comparing the Actual sales with the Budget sales. The Sales of each city within East sum-up into a total for the East region. When I change the Sales in a specific city, like New York, I can successfully hit Submit Data (from the Hyperion menu within Excel), and then can see that it has been updated in the Essbase Administrative Services Console. However, when I try to calculate the data, throught Excel menu Hyperion > Calculation Options > Calculate (like the book says to do), I do not get the same result as the book says. Instead of updating the Total Sales for the East region, it reverts the data entry in the New York cell back to the original value. So essentially, any ability to enter in new data or change budget data, which is the purpose of Planning, is non-functional if I cannot get the Calculate the data I change. Have other people tried to do a similiar task of updating cell data in Excel and calculate it? If so, were the results successful?

Maybe you are looking for

  • Error in the dbms_xmlgen.getxmltype query

    Following query is used to search particular string in the whole database and returns the table and column name which contains that string ...Most of the time it gives the correct results but sometime it give the error as follows.Anyone please expali

  • Table of Contents Hyperlinks

    OK, so I've read the Adobe blog at http://blogs.adobe.com/acrolaw/2011/03/ensuring-that-word-tocs-create-hyperlinks-in-acroba t/ regarding how to ensure that the hyperlinks in a Word document's table of contents (I've enabled hyperlinks in the TofC a

  • Export to memory"  (bukrs) in one user exit and import to memory in other.

    I have to "export to memory"  (bukrs) in one user exit and import to memory in other. Does anyone has an example

  • MSIE6 required for website; Safari3 not working

    I am unable to properly access my bank's website using Safari 3 as they only support MS IE6.0 . I tried using Tinkertool to emulate IE6 and it still didn't work. When I click on GO and another screen is supposed to pop up nothing happens. Allowoing p

  • Special characters in shell script

    I'd like to run the following one line shell script which brings up the login window. /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend this works form the terminal but I want to do it inside apple script using