WaitFor() does not wait!

Hi, I have a small applet that launches a MS Word app and opens a document. In the code I use the waitFor() process method to wait until the MS Word app closes so I can do some processing to the MS Word file.
The code looks like this:
public void openMSWDocument() throws IOException
Process p = Runtime.getRuntime().exec("cmd /c start " + outfilePath);
try
p.waitFor();
System.out.println("process complete");
catch (InterruptedException ie)
System.out.println("Process interrupted: " + ie.toString());
for some reason, the process does not wait. Is there something that I am not doing that I should be doing?

Never mind. I found the problem.
It seems that using 'start' in my command line will cause the waitFor() not to work.
The process p is dependant on the 'start' process to complete, so when 'start' terminates (after it launches my windows app) then so does the process p. Hence, waitFor() = 0.
so i used the command line cmd = appFilePath + " " + fileNamePath;
Its works!

Similar Messages

  • WaitFor() Does not wait for Process

    Experts,
    I have a Process p for a Microsoft Outlook Process OUTLOOK.EXE
    Now if there is an Email file (xyz.msg) opened as this process along with my MS Outlook running then,
    p.waitFor();
    // Where p = runner.exec(shell_command_to_open_msg_file);
    does not wait and move further.
    But if the MS Outlook is not running, then it waits till I manually close the Email msg file.
    How can I handle/overcome the former situation?
    Thanks in advance

    moondra_JavaDev wrote:
    How can I handle/overcome the former situation?
    You can't in java.
    What happens is that when outlook is already running then the new attempt to run does the following
    1. A application starts
    2. It determines that outlook is already running.
    3. It focuses that instance
    4. It exits.
    The last step is what you see. You do not have access to the one that is running because it isn't the same application.
    I would suggest examining the business requirements that are driving this. If you allow the user to already have outlook open then it seems rather odd that you are insisting that they exit it anyways. Instead you can pop a dialog and require that they tell you when they are done. Or don't use outlook and use java mail instead.

  • Setup.exe does not wait until the installation is done

    Hi,
    I downloaded ODAC 10.2.0.2.21 from here:
    http://download.oracle.com/otn/other/ole-oo4o/ODAC1020221.exe
    And after extracting all files, I use this command on cmd:
    setup.exe -silent -noconsole -waitforcompletion -force -responsefile <Path>
    Furthermore, I have BOOTSTRAP=FALSE on oraparam.ini but setup.exe does not wait until the installation is done.
    I only want a way to wait for the installation to complete...
    Cheers,
    Joan

    DBMS Direct wrote:
    What's the main reason you want to do a silent install for ODAC?To launch it from a bigger installer of an application which uses ODAC.

  • Second tween does not wait for first to finish

    Having a little problem here and as far as I can tell it is
    just that the second tween starts before waiting for the first to
    finish. Basically on a click event it should slide out a scroll
    pane to the bottom of the screen, change the contentpath of the
    scroll pane, then slide it back up.
    with the code below it just slides up the new movie clip but
    does not slide out the old one, if i remove the code for the new
    clip to slide up the old one does do the slide out how I want it to
    look.
    how can I make a pause in between the two to wait.
    on (press) {
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    _root.mask._x = 54;
    _root.mask._y = 109.3;
    _root.scroll_pane.setMask(_root.mask);
    switch (_root.loaded_clip)
    case 2: var Slide_out:Tween = new Tween(_root.scroll_pane,
    "_y", Bounce.easeOut, _root.scroll_pane._y, 900, 3, true); break;
    _root.scroll_pane.contentPath = "Search_mc";
    var Slide_up:Tween = new Tween(_root.scroll_pane, "_y",
    Bounce.easeOut, 900, 109, 3, true);
    _root.loaded_clip = 1;
    }

    Its still not working with that code but I think I can muck
    around with it and figure it out, the slide out works on the old
    clip now but then the new one never shows up.
    The onMotionFinished was basically what I was looking for,
    think I can eventually figure it out from here, thanks for the
    info.

  • Program does not wait for user input

    Hi everyone,
    i am working on a program and there are 2 problems that i can't figure out. Since they are 2 different topics, I will do 2 posts.
    Just to give you some background on the program, it is a program that reads 3 txt files into 4 different arrays. The files contain student names, student ID numbers, number of credits and gpas. the user enters the names of the 3 txt files and then is given a list of options to choose from. I am having problems with option 7.
    The code lists the student information, but it does not stop to request the name of the student from the user. Instead, it prints the system out line requesting the name and then prints all the information for every student in the file. I can't figure out why this is happening. Here is the code for the option:
                    else if (choice == 7)
                            System.out.print("Please enter the student's name: ");
                            student_name= sc.nextLine();
                            for (q= 0; q <= num_students-1; q++)
                                    if (student_name.equalsIgnoreCase(studentname[q]))
                                            System.out.println();
                                            System.out.println("Student's name: " + studentname[q]);
                                            System.out.println(studentname[q] + "'s ID#: " + studentid[q]);
                                            System.out.println(studentname[q] + "'s number of credits: " + credits[q]);
                                            System.out.println(String.format(studentname[q] + "'s gpa: " + "%.2f",gpa[q]));
                                            if (gpa[q] < 2.00)  
                                                    System.out.println(studentname[q] + "'s status: can't graduate");
                                            else if (gpa[q] >= 3.45 && gpa[q] < 3.65)
                                            else if (gpa[q] >= 3.45 && gpa[q] < 3.65)
                                                    System.out.println(studentname[q] + "'s status: cum laude");
                                            else if (gpa[q] >= 3.65 && gpa[q] < 3.85)
                                                    System.out.println(studentname[q] + "'s status: magna");
                                            else if (gpa[q] >= 3.85)
                                                    System.out.println(studentname[q] + "'s status: summa");
                                            else if (gpa[q] >= 2.00 && gpa[q] < 3.45)
                                                    System.out.println(studentname[q] + "'s status: ");
                    System.out.println();
                    System.out.println("1.  List student names");
                    System.out.println("2.  List credits");
                    System.out.println("3.  Show total credits");
                    System.out.println("4.  List gpas");
                    System.out.println("5.  List gpas in ascending order");
                    System.out.println("6.  Show weighted average of gpas");
                    System.out.println("7.  Show information about a given student");
                    System.out.println("8.  Add a new student");
                    System.out.println("9.  Quit");
                    System.out.println();
                    System.out.println();
                    System.out.print("Enter your choice: ");
                    choice= sc.nextInt();
                    System.out.println();
                    // Option 9 quits program
    }          Any help you can give me would be greatly appreciated.

    Ok, I tinkered with the code a bit. Now it will show the info for only one student, however, it is not giving any results. Here is the output I am getting:
    Enter your choice: 7
    Please enter the student's name: mary
    Student's name: null
    null's ID#: null
    null's number of credits: 0
    null's gpa: 0.00
    null's status: can't graduate
    1. List student names
    2. List credits
    3. Show total credits
    4. List gpas
    5. List gpas in ascending order
    6. Show weighted average of gpas
    7. Show information about a given student
    8. Add a new student
    9. Quit
    Here is the updated code:
                    else if (choice == 7)
                            System.out.print("Please enter the student's name: ");
                            student_name= sc.next();
                            for (q= 0; q < num_students; q++)
                                    if (student_name.equalsIgnoreCase(studentname[q]))
                                            System.out.println();
                                            System.out.println("Student's name: " + studentname[q]);
                                            System.out.println(studentname[q] + "'s ID#: " + studentid[q]);
                                            System.out.println(studentname[q] + "'s number of credits: " + credits[q]);
                                            System.out.println(String.format(studentname[q] + "'s gpa: " + "%.2f",gpa[q]));
                                            if (gpa[q] < 2.00)
                                                    System.out.println(studentname[q] + "'s status: can't graduate");
                                            else if (gpa[q] >= 3.45 && gpa[q] < 3.65)
                                                    System.out.println(studentname[q] + "'s status: cum laude");
                                           else if (gpa[q] >= 3.65 && gpa[q] < 3.85)
                                                    System.out.println(studentname[q] + "'s status: magna");
                                            else if (gpa[q] >= 3.85)
                                                    System.out.println(studentname[q] + "'s status: summa");
                                            else if (gpa[q] >= 2.00 && gpa[q] < 3.45)
                                                    System.out.println(studentname[q] + "'s status: ");
                                    else
                                            System.out.println("Student name not on file.");
                    System.out.println();
                    System.out.println("1.  List student names");
                    System.out.println("2.  List credits");
                    System.out.println("3.  Show total credits");
                    System.out.println("4.  List gpas");
                    System.out.println("5.  List gpas in ascending order");
                    System.out.println("6.  Show weighted average of gpas");
                    System.out.println("7.  Show information about a given student");
                    System.out.println("8.  Add a new student");
                    System.out.println("9.  Quit");
                    System.out.println();
                    System.out.println();
                    System.out.print("Enter your choice: ");
                    choice= sc.nextInt();
                    System.out.println();  
                    // Option 9 quits program
    }

  • [Solved] systemd does not wait for the unit to finish

    My problem is described in the title. I have made a test by enabling the following unit:
    [Unit]
    Description=/etc/rc.local Compatibility
    [Service]
    Type=forking
    ExecStart=/bin/sleep 1000
    TimeoutSec=0
    RemainAfterExit=yes
    After=network.target
    [Install]
    WantedBy=multi-user.target
    The unit is well started (a process sleep 1000 exists). But with a type=forking, systemd is supposed to hang in this case. Instead, the graphical.target is launched, systemctl list-units mention it as dead, but the display manager is started before the sleep 1000 completes. Ho can I force systemd to wait?
    Last edited by olive (2015-03-16 16:49:34)

    olive, now you're making even less sense. I didn't say the sleep example was stupid and I didn't question your reasons for doing/wanting this.
    I suggested you add "Before=display-manager.service" and you respond "I added Before=graphical.target and it didn't change anything."
    I also tried to explain why systemd has no reason to delay the display-manager.service. You could have asked for further clarification, as berbae has now done. Let's try a longer explanation.
    Service startup
    Services can be started in different ways, as configured with Type=. This determines when a service is considered "started" (or when the service's start-up is considered finished). When a service reaches this state (some time after being started), units that are supposed to start After= this service will be started (and no sooner).
    With simple systemd has no further information about the start-up process. It launches whatever you specify in ExecStart and this is the main process that continues to run till the service stops. systemd assumes this type of service is started immediately. All the other types have some way for the process to indicate to systemd (either directly or indirectly) when it has finished starting.
    Actually oneshot is also a bit special and that is where RemainAfterExit comes in. For oneshot, systemd waits for the process to exit before it starts any follow-up units (and with multiple ExecStarts I assume it waits for all of them). So that automatically leads to the scheme in berbae's last post. However, with RemainAfterExit, the unit remains active even though the process has exited, so this makes it look more like "normal" service with
    begin of unit/startup ---- end of startup ------ end of unit
    This is the relevant behavior for this thread. First sleep starts, then after 1000 seconds, start-up finishes and follow-up units will be started. Then either the unit dies, or (with RemainAfterExit) it stays "active".
    The man page describes how "end of startup" is determined for each Type.
    Targets
    Targets are meant to group units together, to provide synchronization points (and replace runlevels). When you start a target, all its units will be started (in parallel if possible). The man page says:
    Unless DefaultDependencies= is set to false, target units will
           implicitly complement all configured dependencies of type Wants=,
           Requires=, RequiresOverridable= with dependencies of type After= if the
           units in question also have DefaultDependencies=true.
    This means that (by default) when a target is requested, all it units are started first. Only after all units have finished starting, the target itself will be started (and since the target doesn't do anything by itself, this startup is basically instantaneous). Without this dependency, the order between the target and its units is unspecified, so in theory the target could finish starting immediately while its units are still being started.
    Back to olive
    graphical.target has these DefaultDependencies, so it is not started until all its units (like display-manager.service) and other After= dependencies (like multi-user.target) have finished starting. Your sleep service has to be started before multi-user.target starts (again due to default target dependencies). So first display-manager and the sleep service are started and after 1000 seconds, the sleep service finishes starting and then (assuming all other dependencies were quicker) multi-user.target is started and graphical.target as well (assuming display-manager didn't need 1000 seconds).
    If you want display-manager.service after the sleep service, add a Before/After line to specify that (this was your original goal and my suggestion).
    olive wrote wrote:However, units that are parts of the graphical target are still launched before the graphical target become active. I am still unable to completely delay the starts of the graphical target before a specific unit completes.
    It should be clear now how this works. "units that are part of the graphical target" can only mean "units that are wanted/required by the graphical target" but that is basically all the units that are started when you boot your system, because multi-user.target is a part of graphical.target. And your sleep service is a part of multi-user.target, so in fact you're saying you want to delay starting the sleep service until the sleep service completes
    What you probably intended was to delay all units that are a part of graphical.target but not of multi-user.target until after the sleep service. I can't think of an easy (or even good) way to do this and this post is already too long, so I'll table that for now.

  • SCCM does not wait for Soft Reboot in deployments with dependencies

    This is a difficult thing to search for due to its granularity, so I apologize if this is a repeat topic.
    I am deploying an application with a dependency that returns the '3010' code to tell client to perform a Soft Reboot. The outcome I intended was for SCCM to install the dependency, wait for a reboot (as is the nature of the Soft Reboot to my knowledge) and
    then continue with the installation of the primary application after the user reboots.
    However, in practice this is not what SCCM does. Instead, it seems that the notice for a Soft Reboot is acknowledged by the client, noted by the expected popup the user sees as well as the 'restart required' message in Software Center, but the deployment
    process continues on in the background with the installation of the primary application being deployed. It almost seems like a bug, but maybe this is the intended behavior of SCCM 2012. I just can't find any documentation anywhere that speaks to this.

    I think this may have been a misunderstanding on my part about the specific definitions of "Hard Reboot" vs "Soft Reboot". I thought the former would immediately restart the computer, but perhaps it only halts other installations until a restart is performed
    by the user? And then a "Soft Reboot" basically would just act as a passive notification to the user that they should restart at some point, but the client itself would not actually take any action?
    It was just confusing to me that Software Center displayed the 'restart required' status yet continued with the next part of the deployment.
    To actually answer your question, I have not tried configuring the app deployment type to "Configuration Manager client will force a device restart" because to me that sounded like the client would immediately force a reboot regardless of the return code,
    but I only wanted the computer to reboot if the application installation returned the '3010' code (it can return others), and thus the default of "Determine behavior based on return codes" seemed the most appropriate option.

  • Playbar does not wait for sidebar video

    This is the name of a 2008 discussion without a proper solution.
    I have the same issue with Presenter 10, quite a few years later...
    I'm importing mp4 videos in the sidebar video with medium quality option but when playing the presentation the slide starts without waiting the video to fully buffer.
    Control preloading is enabled
    Here is the presentation OGC Indoor GML
    Please help
    Thanks in advance

    Have you tried placing the video on the side bar as an FLV?

  • Creative Cloud file synch misbehaves - does not wait for save operation to complete before throwing an access error

        Creative Cloud File synch is too impatient and it constantly gives me an error when I try to save my project file from Articulate Storyline 2 to my folder on Creative Cloud,
    This is from my log:
    Copy Over 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' -> 'acsl://scss.adobesc.com:80/files/eIssuance/03Project/eIssuance.story'
    - ERROR: Copying file: Cannot open local file 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' for read: The process cannot access the file because it is being used by another process. (error 32)
    20150120-134758.611: Finish UL: /eIssuance/03Project/eIssuance.story (Ovr): Copying file: Cannot open local file 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' for read: The process cannot access the file because it is being used by another process. (error 32)
    Problem is, the save operation is incomplete when CC tries to access the file. And it jsut gives up. It doesn't wait or retry, which means my file never synchs UNLESS I restart the CC application, or reboots, or renames the file.
    Thats silly. Can you change that behaviour please?

    Hi,
    Could you supply me with your log files, you can locate them by looking at..
    Mac:
    /Users/<username>/Library/Application Support/Adobe/CoreSync
    Windows:
    C:\Users\<username>\AppData\Roaming\Adobe\CoreSync
    'Library' on Mac and 'AppData' on Windows are both hidden folders. Please read these pages for help on showing these folders:
    http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-extensions.html (Win)
    https://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html (Mac)
    Please send upload them to Creative Cloud and send me a link at [email protected]

  • COMMIT WORK AND WAIT does not work

    Hello,
    I know this question has been asked many times in various forums. But the fact remains that there is no definitive solution found for this problem which does not involve WAIT UP TO n SECONDS or SELECT until the DB commit has been completed.
    We have an IDoc based inbound interface for creating Project Defintion and WBS Elements. Here is how the code looks like in the processing function module:
    * Create Project Defintion
    CALL FUNCTION 'BAPI_PROJECTDEF_CREATE'
      EXPORTING
        project_definition_stru = lwa_proj_bapi
      TABLES
        e_message_table         = lt_messages.
    * If no errors
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    * Other code
    * Create WBS Element (BAPI could not be used because not all fields are allowed to be updated)
    CALL TRANSACTION 'CJ11'
    Now while creating the WBS Element, transaction CJ11 returns an error that 'Project does not exist'. This is not correct because the same Project was successfully created in the previous step.
    It is clear that the problem is because of the delay in database commits.
    This happens only with few IDoc's and not all of them. And of course, the problem does not occur if I induce WAIT UP TO n SECONDS after BAPI_TRANSACTION_COMMIT. But this is not the best practice.
    The question is why BAPI_TRANSACTION_COMMIT does not wait even though we are forcing it to?
    Thanks in advance
    Sagar Acharya

    Suhas wrote:
    But i am baffled that although the COMMIT has happened earlier why is the data not updated in the DB ?
    Well, it's just a [COMMIT WORK|http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm] and not a [COMMIT WORK AND WAIT|http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm#@@AND%20WAIT@@COMMIT%20WORK@@]. Let me quote the ABAP help:
    If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating), but instead is resumed immediately after COMMIT WORK. However, if the addition AND WAIT is specified, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
    @Sagar Acharya: Well, I thought you were looking for an explanation why sometimes the project isn't created (and you only had posted coding that showed details for step 1) - I'm trying hard, but my mind reading skills are rather limited yet...
    So let's think about step 2 and 3: I assume that you made sure that your coding always references the correct WBS element. Again the commit (without wait) is done already via CJ11 (e.g. check form BUCHEN in SAPLCJWB). I'd expect though that the synchronous update mode should make this work. Since it doesn't, I'd try local update mode, which is what I'd choose in your case anyhow.
    Apart from that my mind is pretty blank, except for the usual silly things to check. E.g. are you sure you're coding is correct, you are handling all return messages and log them for inspection later (e.g. application log), you are certain that the WBS was actually created by the same IDoc that throws the fit (and IDoc was not reprocessed), etc.
    So maybe somebody else has better ideas...

  • Modeless window using "palette" does not stay up in CS5

    I am having trouble running a modeless dialog with CS5 (on Windows 64-bit).  My own script does not stay up and neither does the SnpCreateDialog.jsx snippet that  comes with the ESTK and is supposed to demonstrate modeless dialogs.  I have  tried:
    Running from the Scripts panel
    Add #target photoshop
    Being sure the drop-down menu says Photoshop, not CTSK
    as suggested in an older discussion at http://forums.adobe.com/message/3008230#3008230.  (I decided to make a new discussion as that one was marked answered.)
    It also does not stay up when moved into the Photoshop Scripts folder and run from the File menu in Photoshop.
    The relevant code in SnpCreateDialog.jsx is:
    function SnpCreateDialog()
         this.windowRef = null;
    Functional part of this snippet.
    Create a window of type "palette" (a modeless dialog) and display it.
    @return True if the snippet ran as expected, false otherwise.
    @type Boolean
    SnpCreateDialog.prototype.run = function()
         // Create a window of type palette.
         var win = new Window("palette", "SnpCreateDialog",[100,100,380,245]);  // bounds = [left, top, right, bottom]
         this.windowRef = win;
         // Add a frame for the contents.
         win.btnPanel = win.add("panel", [25,15,255,130], "SnpCreateDialog");
         // Add the components, two buttons
         win.btnPanel.okBtn = win.btnPanel.add("button", [15,65,105,85], "OK");
         win.btnPanel.cancelBtn = win.btnPanel.add("button", [120, 65, 210, 85], "Cancel");
         // Register event listeners that define the button behavior
         win.btnPanel.okBtn.onClick = function() {
              $.writeln("OK pressed");
              win.close();
         win.btnPanel.cancelBtn.onClick = function() {
              $.writeln("Cancel pressed");
              win.close();
         // Display the window
         win.show();
         return true;
    "main program": construct an anonymous instance and run it
      as long as we are not unit-testing this snippet.
    if(typeof(SnpCreateDialog_unitTest) == "undefined") {
        new SnpCreateDialog().run();
    If  I put a breakpoint on the "return true;" line, then I can see that the dialog has, in fact, been created and is visible, but it has returned from win.show() and will go away as soon as the script continues.
    Any help would be appreciated.

    Kenneth Evans wrote:
    The advantage of a modeless dialog is that you can continue to do things in Photoshop while the dialog is up.  At least I presume so, since I haven't got one to work, including the ESTK example.
    Sorry but no, most of the Photoshop UI is disabled while a script is running even if the script displays a palette window.
    A dialog window does wait for show() to complete. That is what makes dialogs modal. A palette window does not wait for show() to complete. It runs the rest of the script.
    In the example you posted all the script does after showing the window is return true then ends. Which is why all it does is flash the window. If you put a $.sleep(1000) line before the return true line the windows will display until sleep timeouts then the script will end and the window will close. That is why with Photoshop palette windows are really only useful for progress bars or other script status type windows.
    Although palette windows may allow the user to intreact with the app UI while the window is displayed that doesn't work with Photoshop. The window only displays while the script is running and a running script limits Photoshop UI interaction.
    I have tested palette windows in CS2, CS3, CS4, and CS5 with the same results. The window only shows while the script is running.
    With Photoshop if you want the user to interact with the UI you have to create a panel.

  • How can I not wait for a RFC response

    Hi everyone, i want to execute an RFC and not wait for the response, i don´t care, so, is there a way to achieve this ? thanks

    Hello Isaac,
    If you are calling the RFC from WebDynpro then you have to wait for the RFC response. However, there is a way that you can get early response from a RFC.
    Suppose you are using RFC1 in your program and it contains business logic. Now, don't directly call the RFC1, instead, write another RFC2 which calls RFC1 asyncronously. This way, when you call RFC2 it automatically call RFC1 and does not wait for any response for RFC1
    You can call RFC1 from RFC2  asynchronously:
    CALL FUNCTION RFC1 STARTING NEW TASK taskName
    Your WD application will immediately get a response from RFC2 while RFC1 still executing.
    To know more about asynchronous RFC refer [Parallel Processing with Asynchronous RFC  |http://help.sap.com/saphelp_nwpi71/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm]
    Hope this helps
    Abhinav

  • I have iphone 5c.  Having email problem.  Does not delete emails showing in inbox from date 8/27 thru 9/23.   When deleted, these same emails repopulate in inbox.  What is going wrong?  How do I fix the problem?

    Ihave iphone5c.  Does not permanently delete emails showing in inbox.  When they are move to Trash then inbox at first shows empty.  However if you leave Mailbox and return then all the emails that were previously deleted and now repopulated in Inbox.  I have tried various things like marking them "read" before deleting, then moving them to Trash, and they still return.  What is going wrong and how do I fix the problem?

    What your describing sounds lot like Nortons anti virus, but other do it to.
    Multiple copies of the same email over and over are almost always anti virus incoming mail scanning. Turn off scanning and the problem goes away turn it back on and it resumes.
    My guess is that your filter issues, and search problems are also related to this uniquitous and most ignored security tool that messes up far more than it should..
    Deleting the index
    I assume you mean the global-messages-db.sqlite. if you don't close Thunderbird and delete it now. Searches will be incomplete until it rebuilds and the time to do that will have a lot to do with how much mail there is and how busy the computer is.
    Now create an exclusion in your anti virus program for the Thunderbird profile folders. My guess is it is trying to scan the files in your profile every time Thunderbird tries to open them and generally turning things into a tug of war, which Thunderbird looses as it just does not wait around if files are locked. It expects exclusive access to it's files immediately, not in 10 minutes when the anti virus has done it's thing. So things get added to the index but not removed. Mails don't move as the destination or source file is "in use" etc.

  • Rt fpga dma timeout not waiting

    Hello
    I have a Target to Host DMA between. The read function sits in a while loop with a 2000ms timeout. Upon timeout it loops round and recalls the read function. On the second, and subsequent calls, it does not wait for the timeout time. I assume that this is because it was already itemed out. The error is wired to a shift register.
    Does the timeout result in an error on the error line?
    Is there a way to clear the timeout?
    If i change it to an indefinite wait, is there a way to force the read to wake up?
    Thanks
    Solved!
    Go to Solution.

    jonnnnnnn wrote:
    Hello
    I have a Target to Host DMA between. The read function sits in a while loop with a 2000ms timeout. Upon timeout it loops round and recalls the read function. On the second, and subsequent calls, it does not wait for the timeout time. I assume that this is because it was already itemed out. The error is wired to a shift register.
    Does the timeout result in an error on the error line?
    Is there a way to clear the timeout?
    If i change it to an indefinite wait, is there a way to force the read to wake up?
    Thanks
    Does the timeout result in an error on the error line? Yes, errro -54000 if memory serves correctly. Did you try highlighting execution to see this...
    Is there a way to clear the timeout? Don't wire -1, I got burned by this. The DMA actually polls in the background (I think but I never verified) so a negative timeout can slam your processor. You can maybe try interrupts, although I didn't use this method I just threw a not-too-long timeout on there and cleared the error if it was -54000
    If i change it to an indefinite wait, is there a way to force the read to wake up? The read will only return when data is there, unless you have a timeout.
    CLA, LabVIEW Versions 2010-2013

  • Latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the  ''Extracting''  stage for 7-8 hours after which it does not progress

    latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the  ''Extracting''  stage for 7-8 hours after which it does not progress.

    Refer to EX11....
    Creative Cloud Error Codes (WIP) | Mylenium's Error Code Database
    Mylenium

Maybe you are looking for

  • Re: Disabled wireless connection on Win 7 - Portege R600

    I have installed Windows 7 (clean installation) on notebook Toshiba Portege R600 and the built in 3G modem doesn't work. When I start Toshiba Wireless Manager it writes "Radio is turned off. To acitvate, turn on notebook switch.". I am sure that this

  • Deploying Java-based Web application in Linux Red Hat

    Dear All: I would like to deploy my Java Servlets and JSPs in a Linux Web Server Machine that also will run MySQL. I would like to know about the complete softwares that require to run the web application. Here I am mentioning few of them and would l

  • How to upgrade iPhoto

    Using IMAC with OSX 10.6.8 and Iphoto 7.1.5. Tried to order photo book {it will be my 4th} and informed need to upgrade my Iphoto as iPhoto 7 cannot now be used for photobooks.  Looked at MAC store to buy upgrade but saw that latest IPhoto is only co

  • Pacdiffviewer won't open vimdiff anymore

    I've always used pacdiffviewer to compare config files, but now it doesn't open vimdiff anymore. I can press "S" or "R" to supress or replace, but when I press "2" to open vimdiff, it sort of just refreshes the screen or returns to the .pacnew list.

  • Application icon recovery

    Hello, An icon for an application installed on my 9810 has disappeared. When I search for the app, the icon shows in a shaded or half-tone manner. I can activate the app when I click on this subdued icon, but unless I search for the app, it's icon is