Process exists hangs

Somewhere along the line of the past few months I installed an update (from Apple?) that broke applescripts on my mac (10.5.8). As far as I can tell it's limited to scripts that determine if a process name is running. For scripts that I have written, ScriptEditor converts the "exists process" keywords to "exists «class prcs»" which is new to me. This script will hang until it times-out with "Apple event timeout". This is true for scripts that I have written as well as Microsoft software updater for office that runs an applescript (I've seen it in Activity Monitor) to determine what software is running and needs to be closed.

(Tom_X)
tell application "System Events" to set ffopen to exists process "Safari"
if ffopen then
say "Safari is active."
else
say "Safari is not active."
end if
Clicked Compile, after about a minute of a spinning pinwheel I get error: A """ can't go after this identifier.
And it highlights the first quotation before the first instance of "Safari"
I replaced all quotation marks and typed in my own to make sure I didn't carry over fonts into Script Editor- Same error without pinwheel.
(Andreas)
if exists process "Safari" then
    say "Safari is running"
else
    say "Safari is not running"
end
After clicking Compile I get error: Expected "then", etc. but found """.
Same thing...
It highlights the first quotation before the first instance of "Safari"
I replaced all quotation marks and typed in my own to make sure I didn't carry over fonts into Script Editor- Same error without pinwheel.
(Andreas)
tell application "System Events"
    if exists process "Safari" then
        say "Safari is running"
    else
        say "Safari is not running"
    end if
end tell
Same result...
After clicking Compile I get error: Expected "then", etc. but found """.
It highlights the first quotation before the first instance of "Safari"
I replaced all quotation marks and typed in my own to make sure I didn't carry over fonts into Script Editor- Same error without pinwheel.
(Andreas)
tell application "Finder" to if exists process "Safari" then beep 2
Compiles
After clicking Run I get pinwheel for about a minute and then (regardless of whether Safari is running) I get error: Finder got an error: process "Safari" doesn't understand the exists message.
I replaced all quotation marks and typed in my own to make sure I didn't carry over fonts into Script Editor- Same error WITH pinwheel.

Similar Messages

  • Downloading the latest upgrades for Mac 10.8.2 keeps stalling. I still have Firefox 17.0.1 - has been many tries but process just hangs.

    Downloading the latest upgrades for Mac 10.8.2 keeps stalling. I still have Firefox 17.0.1. the system has tried many times but the process just hangs.

    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Process Flow hangs

    I'm executing a process flow with several activities.
    After each activity I check for status and error out if the activity fails. If the activity succeeds I go on to the next activity.
    When I execute a map within the process flow, the process flow executes successfully only if the map is the last activity. The map functions to output data to a file.
    The Process Flow hangs if after the execution of the map
    a stored procedure is called. The stored procedure dynamically creates a DBLINK and updates a table.
    When I cancel the execution of the process flow I see the map has successfully outputted all
    records. But why hasn't it gotten to the stored procedure.
    Each activity on its own works fine but in combination with each other they hang the process flow.

    Mahesh,
    I am assuming that RAB stands for Runtime Audit Browser.
    The Runtime Audit Browser tells me how many records were
    rejected but not which ones and why.
    The debugger does not give adequate information in fact it does not issue a "break" where it should.
    Are there any tools OWB provides for "catching", or
    auditting data that cannot for whatever reason be extracted to a file.
    I see that they have a mechanism for capturing problems with data coming from a file into a table. I don't see
    where there is an explanation of error handling going from a table into a file.
    Thanks!
    Marion

  • Process flow hangs when mapping execution fails

    Hi,
    Has anyone faced the 'process flow hanging' problem after upgrading to OWB 9.2.0.4? Don't know why this is happening again after the upgrade. The audit browser clearly indicates one of the mappings has failed and workflow tables indicate there was a notification upon failure. The process flow runs several sub process flows each containing 5-6 mappings.
    Also, the mapping that failed (due to unique key violations on the target table) executed the post mapping stored procedure although the post mapping run condition was set to 'ON SUCCESS'. Is this the expected behaviour for the post mapping operator when there are database related failures?
    Our environment is OWB 9.2.0.4 on AIX 5.2.
    Database version is 9.2.0.5. We recently upgraded the database from 9.2.0.4 to 9.2.0.5 and OWB from 9.2.0.2.8 to 9.2.0.4. Process flows are executed using sqlplus.
    Thanks,
    Chethan

    Hi,
    I would expect you to have less issues with 9204 as there were some fixes applied. So I have not seen this before.
    To get into the mapping a little bit more, is this a row based mapping that is under the tresshold? In any case, if you specify "on success" I would expect it to only work on success... A database related error will also cause it to get an error, so this is interesting as well.
    Does the error repeat at any case if there is a failure?
    Jean-Pierre

  • Process chain hangs due to locks in SM12

    We are currently experiencing issues when executing the process chains. The process chain hangs at one or more DTP loads without executing the following step even though the DTP load is successfully complete (Green). Upon research found that the system locks in SM12 are not released for these DTP loads which is causing the process chain to hang.
    Once I delete the lock manually, the process chain continues with the subsequent steps. This is painful during night time loads and hence am wondering if you guyz are aware of a fix for this problem.
    FYI, we our system is BI 7.0 and SP 13. Any leads towards the solution are highly appreciated. Thanks!

    hi Chetan,
    Please enlight me, with your suggestion here you are asking to increase the BGD processes for that particular process chain or for system (SID) as whole?
    Please help to understand better.
    Thanks in advance
    Regards
    Sekhar

  • Process flow hangs in state "bussy"

    Hi,
    We are encountering what seems to be a "random" problem when runing process flows. In about 1 out of 4 runs the flow "hangs" with status "busy"
    The technical specs are as follows:
    OWB 9.2.0.2.8 on WIN2K Server SP4.
    There are two runtime repositories on two different WIN2K database servers (Oracle 9.2.0.4 EE)
    The symptoms are as follows:
    - We have more than 10 process flows containing from 15 to 60 processes. The problem is not related any single process flow, and occurs on both our target servers.
    - The process flows runs OK in approximately 3 out of four runs.
    - When the process flows "hangs", one or more of the processes in the process flow also hangs in the "busy" state. The hanging process can be a mapping or an external process
    - The processes that have status "busy" have actually finished. They have a completion time set, and in the case where the process sends mail, the mail has been received. In the case of mappings I have verified that the mapping has completed, and that the session performing mapping has terminated.
    - When the problem occurs, there is always the same "lock" pattern displaying in OEM:
    Username Session IdLockMode HelMode Requ Object Name ROWID Object OwnObject T Resource ID1 Resource ID2
    OWBRT92 17TM ROW SHARNONE WB_RT_SERVICE_QUEUE_TAB OWBRT92 TABLE 61161 0
    OWBRT92 17UL EXCLUSIVNONE 1073741824 0
    OWBRT92 48TM ROW SHARNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_COMPONENTS OWBRT92 TABLE 61137 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_ACKS OWBRT92 TABLE 61141 0
    OWBRT92 67TM ROW SHARNONE WB_RT_NOTIFICATION_STREAMS OWBRT92 TABLE 61135 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_AUDIT_EXECUTIONS OWBRT92 TABLE 61199 0
    OWBRT92 67TX EXCLUSIVNONE 262151 87564
    Session 17 is the runtime service, and these two locks are present under normal operation. Session 48 is the Sqlplus session runing the execution template, and session 67 is (i think) the session that is causing the problem.
    - The advanced queue WB_RT_NOTIFY_QUEUE tab shows "Number in state ready" equal to the number of processes still in the state "busy" i the process flow.
    - When the runtime service is stoped (using the stop_service.sql) The locking sessions disappears.
    - When the service is restarted, the processes change status to "bussy recovery" There is now a RPE-01008 and a RPE-01009 message in the "errors" section for the mapping.
    - After the failed recovery, everything looks normal, except that there are now twice the number of messages in state READY on the WB_RT_NOTIFICATION_QUEUE. The only way I have found to get rid of these is to delete them from the queue table.
    Is this a known problem? We are about to go live in a few weeks, and this could be a serious show stopper if we can't rely on the daily process flows to run as expected.
    I could log a TAR on this, but I suspect support would ask for a test case, and Im going to have a hard time providing it for them in this case.

    Jean-Pierre,
    Thanks for the update. I was afraid this was going to be one of those "hard to pinpoint" issues...
    When the problems occurs the Worflow Monitor always shows the task status as "Notified".
    The "Main routine" is no longer executing. The session that was executing the mapping has disconnected, and the mapping has completed successfully. (I have verified this by checking the rows in the target tables). Also, the problem is not restricted to mappings. Sometimes it happens to "mail notifications", and in these cases the mail message is received as expected.
    It looks to me like there is some kind of synchronization problem between AQ and the controlling process (the runtime access user session) that can arise under a given condition (which I unfortunately have not been able to determine what is). As far as I can tell, the process executing the mapping completes and puts the message that it has completed on the Notify_Queue (hence the messages in stat "Ready" on the queue), but for some reason the process waiting to read the message fails to do so.
    As for a test case, I have recently sent an export of our design repository to Igor Machin. Is it possible for you to have a look at that? As I mentioned in the first post, our Process Flows are fairly complex. Some of the flows are executing 50+ mappings in parallel.

  • GR out put error :No messages for initial processing exist

    Hi All
    When Im process the out put for GR using T-Code MB90, the following message appears and I'm able to see the out put "No messages for initial processing exist".I have checked the three processing modes even it is giving the same mesaage.Can any body help  to how to see the GR out put.
    thanks and regards,
    Sri.........

    Hi ,
    I think the necessary condition records might not exist.
    You can maintain the same using MN21.
    Also check whether the necessary customising is done using Transaction NACE and by selecting application ME.
    Regards
    Ramesh Ch

  • No messages for initial processing exist in MB90

    Hi friends,
       When i try to take print from MB90 the error "No messages for initial processing exist" for Goods receipt --> others MIGO.
         I maintanin the Print controls in SPRO --> MM --> IM --> Print Control.
          Please help me in this issue.
    Regards,
    Mahi

    Hi Anbalagan,
       Thanks for your Reply.
      Here MM consultant is now not available thats why i post question here.
      Personally i check some forms are assigned to Material document. But i know some is to be configured. but i dont know what it is. If you know the procedures please guide me.
    With Regards,
    Mahi.

  • BPEL Processes are Hanging.......

    Hi,
    I am using BPEL 10.1.2.0.2 version. The logic am implementing in BPEL process is a frontend application will invoke BPEL process.BPEL will take some inputs from frontend and invokes a procedure in database using DbAdapter.BPEL will pull the output of the procedure and will pass the same to Frontend.
    The logic being implemented in procedures is select and update depends on the requirement.
    We completed our development and moved to UAT and everything is running fine.From past one week we are facing a problem that BPEL processes are hanging when they are invoked both from BPEL console and Frontend. The process neither displaying any output nor throwing any exception.
    After bouncing the BPEL servers everything is coming to normal.I didn't found any error log in both domain.log and OraBPEL~OC4j_BPEL~default_island.log files.
    Our BPEL Environment has 2 BPEL Mid Tiers connected via a loadbalancer
    whether it could be related to cache size or datasource connections ????
    Please suggest what could be the problem...........
    Thanks
    Chandra

    Check the timeouts on the firewalls. Also look at Dead Connection Detection (DCD) on the database server. You will need to turn on your DCD to keep your JDBC connections alive.
    Pete

  • Process chain hangs when reaching AND process before Attribute Change Run

    Hi Experts,
    I have the following problem. For some reason my master data attribute process chain hangs when it reaches the AND process variant right before the Attribute Change Run. It does not go anywhere from that point.
    Thank you

    hi AG,
    if this is hanging daily at the same place without proceeding further, and with out giving the instance for the same. then the better way is to replace that AND process in the chain with the new AND process. and then check and activate ur chain. this wil solve ur problem.
    if this is the first time that happend to u, then check the previous load status, if any of the load has failed and u didnt turned the status of the process then also this can happen. So please do check it and act accordingly. If u cannt find the resolution then please run ur changerun manually.
    u can use RSPC_PRCESS_FINISH FM to convert the status of any process. for this u need to give instance and variant details. and then if u execute, then chain will continue further.
    Hope this will help you.
    thanks
    Vishnu

  • VF31 : No messages for initial processing exist

    Hi everybody,
    I have a problem when i want to print an invoice from Tcode VF31
    i enter the required fields and i excute but i have this message :
    "No messages for initial processing exist".
    in Tcode V/40 i had already the output type maintened.
    Please how to solve that
    I need ur help
    Regards.

    Hello,
    try to print it from VF02  transaction
    BR Tarik

  • No messages for repeat processing exist

    Hi All,
    I have been trying to print Intercompany invoices via VF31 using the Output type ZB3I, but I keep getting the following message.
    No messages for repeat processing exist
    Message no. VN109
    Plz guide me.
    Regards,
    Mahavir

    Provide following the input screen for VF31
    - Output Type
    ZB3I
    - Transmission Medium
    1-Print output
    - Processing mode
    2-Repeat processing
    and Billing Doc or range of billing doc to print.
    Regards
    JP

  • No messages for initial processing exist

    Hi All,
    When I use Migo to post GR or GI, I use MB90 to print Output from  Goods Movements but I receive a message "No messages for initial processing exist".
    I must use MB02 to assigned document number to output form.
    How can I set GR auto assign to form A, or GI auto assign to form B ?
    Thanks !

    Check this answered link [No messages for initial processing exist |MB90 (Output from Goods Movements)]

  • Processing or hanged?.....

    how come we know that a particular data load which shows in yellow.... whether it is in processing or hanged?.....

    You are asking the same question again with a change in subject.
    Answer still remains same.
    Follow the RSMO Details.
    Click on the Monitor next to the Yellow Status - In Manage

  • Process Gets Hang

    Dear All,
    We have ECC6 on   OS Win 2003 32 bit with oracle 10.2.0.2.0 
    Recently we faced issue like all dialog process getting hang .DEV_W0 log is as
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Thu Sep 30 10:47:25 2010
    B  create_con (con_name=R/3)
    B  Loading DB library 'J:\usr\sap\TCP\SYS\exe\run\dboraslib.dll' ...
    B  Library 'J:\usr\sap\TCP\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'J:\usr\sap\TCP\SYS\exe\run\dboraslib.dll' is "700.08", patchlevel (0.201)
    B  New connection 0 created
    M sysno      00
    M sid        TCP
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    201
    M intno      20050900
    M make:      multithreaded, ASCII, optimized
    M pid        292856
    M
    M  kernel runs with dp version 242(ext=110) (@(#) DPLIB-INT-VERSION-242)
    M  length of sys_adm_ext is 364 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 292856) [dpxxdisp.c   1349]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          48216     (1176)
    M  DpShMCreate: sizeof(tm_adm)          3786880     (18840)
    M  DpShMCreate: sizeof(wp_ca_adm)          18048     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1296)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 05410040, size: 4451296)
    M  DpShMCreate: allocated sys_adm at 05410040
    M  DpShMCreate: allocated wp_adm at 05411BF8
    M  DpShMCreate: allocated tm_adm_list at 0541D850
    M  DpShMCreate: allocated tm_adm at 0541D880
    M  DpShMCreate: allocated wp_ca_adm at 057BA100
    M  DpShMCreate: allocated appc_ca_adm at 057BE780
    M  DpShMCreate: allocated comm_adm at 057BFEF0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 05840DA0
    M  DpShMCreate: allocated gw_adm at 05840DE0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 05840E10
    M  DpShMCreate: allocated wall_adm at 05840E18
    M  rdisp/queue_size_check_value :  -> off
    Y  *** ERROR => sapinit: no memory or improper size for ztta/short_area <= 0(-3) [sapinit.c    1107]
    M  *** ERROR => DpMemInit: sapinit (-3) [dpxxdisp.c   10155]
    M  *** DP_FATAL_ERROR => DpSapEnvInit: DpMemInit
    Please suggest what going wrong with the system.
    Regards
    Abhijit

    Hello,
    ECC6 not really recommended on 32 bit Windows
    Make sure you have /3Gb and /pae switches enabled in boot.ini file on c drive.
    - Please reduce parameters rdisp/ROLL_SHM,
    rdisp/PG_SHM, to 6000 and parameter abap/buffersize to 350000 to get
    more memory available to run the programme/transaction.
    regards,
    John Feely

Maybe you are looking for

  • Will two httpclusterservlet in same web app (web.xml) work

    I want to load balance multple web services (running on different weblogic managed servers) using  multiple instance of httpclusterservlet. I did experiment with defining two instances of httpclusterservlet but only the last one worked. I want to wor

  • Exporting and importing a field value from one screen to another in BSP

    Hi All, I am working on a BSP application which consists of multiple screens. I have to export the value corresponding to a value selected from a drop down and import it in another screen so that in the next screen values can be populated corrspondin

  • Split a border container or a group into 2

    Hello, I have a container (a border container or a group), now depending on a specific point along the width of the container i want to divide the container into two individual containers. Is there any way to do it using flex and actionscript ? pleas

  • G5 dual 2.7 just randomly died...help!!!

    I bought a G5 dual 2.7 directly from Apple less than a month ago. The only hardware changes I have made to it are to add 2 GB of additional RAM which I also purchased from Apple at the same time. I have used it since the middle of March for video edi

  • Need slideshow advice. Colors fading on export - no matter what I try

    I don't remember having this much trouble in the past. The slideshow looks excellent in iPhoto, but when I try to export it to iDVD or build it in iMovie, it loses color. The same thing happened when I tried Fotomagico. I tried making the iMovie movi