appyface Posted January 1, 2009 Report Share Posted January 1, 2009 Hi Flo, Ketarin 0.9.9.16 hanging after downloading an update. Cancel button does not work - click click click no response. Clicking the little 'x' in upper right does not respond either. (Ketarin is still alive though? Minimize and maximize buttons in upper right DO work.) I used Task Manager to kill Ketarin process. See below log text and screenshot of Ketarin main window. No errors of any kind were reported, just stuck there as if it did not finish the update or cannot update the database with new date/time/file info? Database is in same directory with Ketarin, and I run Ketarin by double-clicking the Ketarin executable directly from m$ Windows Explorer. My habit is to check Ketarin alone for an update first, before checking for any other updates. That way I can switch to using newest Ketarin before going on.... so this morning I load up Ketarin 0.9.9.16, highlight my Ketarin entry, and press CTRL-U as is my habit. Ketarin finds the new update for itself, and runs my command following update (open an xplorer2 window to the Ketarin download directory). The download has actually finished, the file on disk is complete and uncorrupted as per test with Winrar. I realize this error may already be fixed in 0.9.9.17 but since I didn't see any new posts about it, I thought I would mention it just in case not. This has happened to me before, on different downloads including those without external command to run. In .16 as well as earlier versions. I do recall a post about similar hang some versions back, and I believe a fix was provided, so this is apparently a hang for a different reason. (?) Thanks and regards, --appyface Log text: 1/1/2009 6:20:23 AM: Update started with 1 application(s) 1/1/2009 6:20:24 AM: Ketarin: Checking if update is required... 1/1/2009 6:20:24 AM: Ketarin: Update required, 'D:\Stuff\filestore\Updaters\Ketarin-0.9.9.17.zip' does not yet exist 1/1/2009 6:20:28 AM: Ketarin: Executing command: "C:\Program Files\zabkat\xplorer2\xplorer2_UC.exe" /N /M "D:\Stuff\filestore\Updaters" Link to comment Share on other sites More sharing options...
floele Posted January 1, 2009 Report Share Posted January 1, 2009 Ketarin waits until xplorer2_UC.exe has closed. I'll add a new option for the next release: If you add an & to the end of the command, it will execute in background (UNIX-like). Link to comment Share on other sites More sharing options...
appyface Posted January 2, 2009 Author Report Share Posted January 2, 2009 Ah! I had no idea Ketarin was waiting for the app to close. I work on unix systems, I hope what you mean is to spawn a new process and close... not the kind of task where there is no foreground mode? Link to comment Share on other sites More sharing options...
floele Posted January 2, 2009 Report Share Posted January 2, 2009 I mean that if you add an & at the end, it will *not* wait for the process to finish. Link to comment Share on other sites More sharing options...
appyface Posted January 2, 2009 Author Report Share Posted January 2, 2009 How will this affect the external command if an ampersand is a parameter? I realize this is rare but I have seen this construct. Would it be better to give a checkbox next to the external command, Wait/Don't Wait for external command to finish? Link to comment Share on other sites More sharing options...
floele Posted January 2, 2009 Report Share Posted January 2, 2009 An & as parameter does not matter. It only matters if it is the very last character. Link to comment Share on other sites More sharing options...
appyface Posted January 2, 2009 Author Report Share Posted January 2, 2009 Yes, the last character as a parameter, that's exactly what I was referring to. I don't have anything that uses that consruct at present (that I know of) but I have seen it done. Link to comment Share on other sites More sharing options...
floele Posted January 2, 2009 Report Share Posted January 2, 2009 You could either add an additional " " or an additional "&", depending on what you intend. Link to comment Share on other sites More sharing options...
appyface Posted January 4, 2009 Author Report Share Posted January 4, 2009 (edited) Hmmm using 0.9.9.17, I just retrieved Ketarin 0.9.9.19 by updating it alone (same process as described above - CTRL-U). Ketarin launched x2 as always, but did NOT wait for x2 to terminate. I did not change my x2 command line to include a trailing &, as discussed above. ??? why didn't Ketarin wait ??? Did you change Ketarin to default to not waiting for the command to complete? Or are we looking at a different issue here. Thanks and regards, ---appyface Edited January 4, 2009 by appyface Link to comment Share on other sites More sharing options...
floele Posted January 4, 2009 Report Share Posted January 4, 2009 Nope, I didn't change the default behaviour. And actually, it works fine for me. Link to comment Share on other sites More sharing options...
appyface Posted January 5, 2009 Author Report Share Posted January 5, 2009 Any idea why Ketarin would not wait then? I thought it was supposed to wait...? Link to comment Share on other sites More sharing options...
floele Posted January 5, 2009 Report Share Posted January 5, 2009 I just tried it again with the command in your first post, and it works fine (that is, it waits). Note that waiting does *not* affect the other threads (if you update multiple applications). Typically, if you update just this one application, the "downloading arrow" should be visible as long as X2 is not closed. Link to comment Share on other sites More sharing options...
appyface Posted January 5, 2009 Author Report Share Posted January 5, 2009 Hi Flo, As a test I removed my downloaded Ketarin file (Ketarin-0.9.9.19.zip), opened Ketarin (also at 0.9.9.19), highlighted my Ketarin entry and pressed CTRL-U. Ketarin updated, opened x2 as it should, and showed a 'gold sun' indicating there was an update. Ketarin is responding full and I closed Ketarin, thought my x2 instance it launched is still open. Looks like it is fully repeatable here. So is there any info I can get you, so you can learn why sometimes Ketarin waits on x2, and sometimes it doesn't? I took screenshots but I don't know what else I could get for you? --appyface Link to comment Share on other sites More sharing options...
floele Posted January 5, 2009 Report Share Posted January 5, 2009 Maybe you can give me an XML export? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now