Automator applications exit before end

Hi all,
I am facing a problem I cannot solve : I built a small automator workflow that download an URL (gzip file) every day (with iCal). I did not check this app for several weeks, but now it does not work at all.
If I open the workflow with Automator and run it with the > arrow, the job is done. But if I save the workflow into an app, and run it, the job is not done : only the 2 first steps (erase a file in Finder) are done, not the others (retrieving the URL).
All my apps have now this behaviour : they quit too early. I checked the log files, but no error is triggered during the - short - app execution.
Does anybody could help me please ?
Regards.
Macbook Pro C2D Mac OS X (10.5.6)

I'm not sure which action has the bigger bug, but you can try the following workflow, which replaces both of them (the items are placed in the ~/Downloads folder):
1) Get Specified Text (separate the URLs by returns)
2) Filter Paragraphs {Return paragraphs: that are not empty}
3) Run Shell Script {Shell: /bin/bash, Pass input: as arguments} (that is a capital 'oh'):
for f in "$@"
do
      cd ~/Downloads; curl -O "$f"
done
... and yes, that is essentially what the existing actions are supposed to be doing (with added bells and whistles, of course).

Similar Messages

  • HT1583 I have completed a project. When I burn to disc it exits before the end. There is enough room on the disc

    Hi All
    I have a project  in IMovie11 to burn to IDVD. It exits before the end when not complete. The disc is 4.7 GB and the projetc is 4 GB
    One has completed and the others has not
    Any Ideas please?

    What encoding settings did you use?
    iDVD encoding settings:
    http://docs.info.apple.com/article.html?path=iDVD/7.0/en/11417.html
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    That was for single-layer DVDs. Double these numbers for dual-layer DVDs.
    Professional Quality: The Professional Quality option uses advanced two-pass technology to encode your video (The first pass determines which parts of the movie can be given greater compresson without quality loss and which parts can’t.  The second pass then encodes those different parts accordingly) , resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned about the time taken.
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • Whcih function to use to cleanup/release resources before application exit?

    I need to release system resources and cleanup etc before my JavaFX application exits?
    Where should I write the code?

    In [javafx.lang.FX|http://java.sun.com/javafx/1.2/docs/api/javafx.lang/javafx.lang.FX.html] class, there is the static function addShutdownAction() which is called when the application exits.
    You can register several functions.
    But some people report issues, like being unable to do an HTTP request to save parameters on server in these callback functions (the application exists before completion).

  • How to track application exit event?

    I have my swf embeded in Asp.Net. I want to track application exit event. Is there any event which is called when flex application exists or unload or destroyed? I tried application close event but it is not working. I do not want events of browser close or etc because I already tried it.
    Thanks,
    -Chandu

    if you wanted to just close the window all together you could write some Javascript to close the window, then in your flex app call the function when they click the logout button
    If you want to actually end it with Actionscript you could try:
    public function applicationExit():void {  
         var exitingEvent:Event = new Event(Event.EXITING, false, true);  
         NativeApplication.nativeApplication.dispatchEvent(exitingEvent);  
         if (!exitingEvent.isDefaultPrevented()) {      
              NativeApplication.nativeApplication.exit(); 
    Source: http://livedocs.adobe.com/flex/3/html/help.html?content=app_launch_1.html
    UKB

  • PB 12.6 (build 3506) Application Exit Codes

    Environment:  Windos 2012 R2 Server,
    PowerBuilder 12.6 Build 3506
    Building 32 bit application
    I've got a utility application that's running as a service.  We're using NSSM (the Non-Sucking Service Manager) to run the program.
    NSSM can take actions depending on the exit code.
    In earlier versions of PowerBuilder I could accomplish this by setting Message.LongParm in the application close or application system error event.
    Now, that's not working and the advice I'm seeing tends more toward
    // External FUNCTION declaration
    SUBROUTINE ExitProcess(ulong uExitCode) LIBRARY "kernel32.dll"
    // Powerscript
    ExitProcess(50)
    But that seems like it terminates the application and any clean up that might have occurred with a normal application exit isn't going to happen.
    my question is...
    Is this really my only option or is there some other way I have not been able to find?
    Secondary concern.. where do I find the full 12.6 manuals?  I keep ending up at SyBooks which only has documentation up to 12.0 and SAP PowerBuilder 12.6 – SAP Help Portal Page only gives me the new feature guide, installation and release notes, but not the actual documentation.

    I am sorry if I somehow led you to think NSSM is the problem.  It's not, PowerBuilder is.
    The PROBLEM restated for clarity:
    In earlier versions of PowerBuilder I could add code to the application close event that set Message.LongParm to a value and then that value would be accessible to a command file via the ERORLEVEL system variable.
    In my current tests with PowerBuilder 12.6, setting Message.LongParm is not working so I Googled the problem and the advice I'm seeing tends more toward using:
    // External FUNCTION declaration
    SUBROUTINE ExitProcess(ulong uExitCode) LIBRARY "kernel32.dll"
    // Powerscript
    ExitProcess(<Value>)
    But that seems like it terminates the application and any clean up that might have occurred with a normal application exit isn't going to happen.  That's not ideal.
    My Question is:
    Is there any method exiting that will allow me to set that system ERRORLEVEL variable that does not require my causing an abnormal termination to my application?
    Or is using the external function ExitProcess really my only option?

  • Application Exit Error during client copy

    Hi ,
    I have an ECC 6 system with DB2 database.I get an application Exit error while doing a client copy from 000 to 901.I could see all the tables where copied but the error comes in post processing stage.
    Application exit error
    function module :FIN_TR_CC_EXIT
    package :FINB_TRANSPORT_TOOL
    Program ended abnormally
    I tried to delete the client and recreate it again.But still it gave the same error.I tried deleting the client gain.But the deletion job cancels .
    Plz help me

    HI
    Can you attach client copy log for analysis.
    Regards
    Rajan Arora

  • Automator Applications don't let me run applescripts!

    ok just made an excellent automator application that deleted invisible files on selected drives. the only problem is that when i run it as an application, it gives me an error message and tells mr to check the "Run Applescript" action's properties. But, it works in the workflow perfectly!
    please help.

    OK, that does help. The statementset y to (value of variable "path" of front workflow)uses Automator terminology - unless your workflow is actually running in Automator, your script won't know anything about those terms unless you target the Automator or the Automator Runner applications.
    In this case though, you don't need to use variables at all, since the value you want is in the input parameter of the *Run AppleScript* action (this is what is output from the previous action). Note that the input parameter is a list, so you need to repeat through the items in the list or coerce it from a list to the desired class. Your Terminal scripting also seems to be a bit severe, but with the items I noted your workflow would be something like:
    1) *Ask for Finder Items* { Type: Folders } (Allow Multiple Selections is not checked)
    2) *Run AppleScript*
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters}
    set y to input as text -- coerce from list
    display dialog "Are you sure you want to delete the Trash folder on flashdrive " & quoted form of y & "?" buttons {"Cancel", "Yes"} default button 2
    display dialog "Enter password:" default answer "password" buttons {"Cancel", "OK"} default button 2
    set x to (text returned of result)
    tell application "Terminal"
    delay 2
    do script "cd " & quoted form of POSIX path of y -- convert path
    do script "sudo rm -rf .Trashes" in window 1
    delay 2
    do script x in window 1
    delay 2
    do script "yes" in window 1
    delay 2
    do script "killall Terminal"
    end tell
    return input
    end run</pre>

  • History report error: | An Exceptional Error occurred. Application exiting. Check the log file for error 5022

    Hi all
    I've got a error msg when try to generate a report using Cisco history report tool:
    Error | An Exceptional Error occurred. Application exiting.  Check the log file for error 5022
    It only happens when choose report template: ICD_Contact_Service_Queue_Activity_by_CSQ_en_us.
    User tried samething on other PC, it working fine.
    only on user' own PC and only choose this report, error appears.
    user runing windows 7 and do not have crystal report installed
    tried reinstalled the software, doesn't work.
    also tried this: (https://cisco-support.hosted.jivesoftware.com/thread/2041254) - doesn't work
    then tried https://supportforums.cisco.com/docs/DOC-6209  - doesn't work
    attached the log file.
    thanks.

    wenqianyu wrote:From the log file:Looks like you get a Login Window.Error message showed up after username/password be enteredThere is an error in the log: Error happened in comparing UCCX version and HRC versionYou may need to do a clean uninstall, download the Historical report from the server, and install it again on the PC.Does this only happen to one PC or to every PC with this application?Wenqian 
    I have completely uninstalled the HRC, and download from server install again -- still doesn't work with exactly same error.
    this matter only happens on this PC, when user try same thing on other PC, it works.
    so i think it not relate to server or account.

  • How to run an "Automator" application at regular time intervals

    I would like to find out how to run an "Automator" application at regular time intervals, say at every 5 minutes.
    Is there any program, AppleScript or any method to do this?
    I would very much appreciate a help.
    Suwan

    save your workflow as an ical plugin, this will automatically insert the workflow into ical,and create a workflow category for it, then just set to repeat every 5 minutes, or save as an APP and use a program called CRONIX (freeware) to run the schedule.

  • You cant open the application " read before install itunes" because it is not supported on this architecture

    what does this mean   you cant open the application " read before install itunes" because it is not supported on this architecture

    Where are you seeing this?
    Which computer?
    Which OS? iTunes comes preinstalled on all Macs.

  • Error during client copy in GRC 10.0 -Application exit

    Hello Experts,
    After installing GRC 10.0,as post installation activity ,
    we are doing client copy (accordence with the sap note 1505255).
    but we are getting  'Application Exit Error' when executing method FDT_BEFORE_EXPORT_C:
    any help would be appreciated.
    regards,
    vinay singh

    HI
    Can you attach client copy log for analysis.
    Regards
    Rajan Arora

  • Conversion exits before value mapping in AIF

    Hi All
    I'm trying to use conversion exits before mapping in define value mapping, where I want to truncate leading zeroes in the source field before the value mapping is executed.
    I'm using the conversion exit 'ALPHA' (internal->external) to achieve this, but the leading zeroes do not get truncated. Below is an example-
    Conversion Exit: ALPHA
    Data Element for conversion:
    Direction: Internal->External
    Source Value: 0000012345
    Expected Value after conversion: 12345
    Actual Value after conversion: 0000012345
    A similar issue Error in reading a value from database table is noted here, however note 1892571 that is suggested does not seem to resolve the issue I'm facing.
    Am I missing something here?
    Regards
    Chandra

    Hi Glenn Bumanlag,
            I think the values that you have given for source values (Agency and scheme)
    and Target values (Agency and scheme) may be mismatching so kindly chek that...even i got the same error in the past..........
    If you the this problem kindly change it accordingly and also refresh the cache once you that with this.........
    Kindly follow the below mentioned link and check if you have followed these steps.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5
    Thanks
    Sai     
    PS: kindly reward points if helpful

  • Application exits after opening and closing two forms

    Hi,
    <<This message was also posted on the designer forum!>>
    During testing of a migrated application from 6.0 to 6i we found the following (webbased).
    Expected behavior:
    1 start application, startform opens;
    2 select sub-application, startform sub-application opens;
    3 select any form, form opens;
    4 close form, startform sub-application returns
    steps 3 to 4 can be performed many times.
    Real behavior:
    1 start application, startform opens;
    2 select sub-application, startform sub-application opens;
    3 select any form, form opens;
    4 close form, main startform returns
    (this means one level more is closed)
    If we now performs steps 2 to 4 the entire application exits, more or less random during any of the 3 steps.
    Can anyone explain why this is happening?
    Best regards,
    Pascal

    Frans,
    We use headstart version 50. We use the web version with a VMS db-server and a Tru-64 Unix IAS server. And we think that the latter one is part of the problem. Because all modules are ported to Unix a decision was made to use lowercase. Hence all references tot modules (forms, libraries, reports) should also be lowercase.
    We are currently checking if this is the case.
    Regards,
    Pascal

  • Hi, I ' ve changed my password for Itunes account and now i've lost any applications bought before any possibility to update any applications bought before

    i' ve changed my password for itunes account and now i can't uppdate any applications bought before?

    Sign out in iTunes and sign back in again with the new password.

  • Need User Exit before the Purchase Order saved!!!

    Hai All,
        I am in search for User Exit before the Purchase Order gets saved.This User Exit should capture this generated Purchase Order and post it to the Destination System for further processing.
        Can anyone help me to find this User Exit.
    Thanks,
    Ugandhar.<b></b><b></b>
    Message was edited by: Ugandhar Domathoti

    Check out this enchancement in smod <b>MM06E001</b>
    in that EXIT_SAPLEINM_001
            EXIT_SAPLEINM_002
    may help you ....
    regards
    vijay

Maybe you are looking for

  • Applets and File I/O

    As an attempt to familiarize myself with Java, I decided to create an applet to display my collection of collectible trading cards so that other collectors could view it and offer trades. The data is stored in a .txt file, which the applet reads when

  • Java.awt.Color...........???

    Hi......... Why RGB colors created using a constructor of the class java.awt.Color as given below: myColor = new Color(r, g, b); whereas HSB colors are created using a static member function myColor = Color.getHSBColor(h, s, b); what is the reason be

  • How to give a field an exact height size?

    I tried to find some menu or use the rule but could not find a way. Need to customize and begin with this measure. Thank you.

  • My 2 year old bought apps that I do not want how do I get a refund?

    Is there a way to delete/refund an app?

  • Ui components in when developing composite applications

    any advice on what are good components to use in developing applications in a portlet, for example, i am looking for data tables, master-detail tables, tree-views that don't render a lot of javascript on the page in the form of tags, as the jsf compo