From 22bb7eb84b6c69924bfa3665219ed9648f7fdbb4 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 26 Mar 2021 17:24:40 +0000 Subject: [PATCH] Troubleshooting: Update 're-running does nothing' section We seem to have long since fixed the bug with the application hanging, so the old text wasn't relevant. --- Troubleshooting.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 18bb0c7..41aefa7 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -113,17 +113,24 @@ or other location chosen by you). ## Re-running application does nothing -There's a [bug](https://github.com/EDCD/EDMarketConnector/issues/678) -we're trying to nail down where sometimes the application doesn't close -cleanly. The GUI application checks if there is still another instance of it, -and if it finds one it just exits. +The GUI application checks if there is another instance of it already/still +running. If it finds such an old process then by default it will pop-up the +message `An EDMarketConnector.exe process was already running, exiting.`. +Closing that pop-up makes this new process exit. If you are running with the +`--suppress-dupe-process-popup` argument then this popup is +suppressed and the new process will exit silently. -In a version after 4.1.3 we'll be adding some logging, and possibly a pop-up, -so it's obvious when this happens. +If you see the pop-up double-check you don't still have an existing +instance of the program running. -In either case if you experience this then use Task Manager to double-check -there isn't a lingering EDMarketConnector.exe process. If so, forcibly kill -it. +If there's no visible window for it then find +the 'EDMarketConnector.exe' process and kill it. In this case of no +visible window for a running `EDMarketConnector.exe` process you should also +open a +[new bug report](https://github.com/EDCD/EDMarketConnector/issues/new?assignees=&labels=bug%2C+unconfirmed&template=bug_report.md&title=) +about this, assuming you're using the current latest version. If not, please +update and see if the issue remains (after you've killed any outstanding +processes from the old version). If you've done that and there's definitely no lingering process then please try to remove the log file `%TEMP%\EDMarketConnector.log`. If this fails @@ -725,4 +732,4 @@ capture the output of `EDMarketConnector.py`, e.g. on Linux or macOS: EDMarketConnector.py 2>&1 | tee "${TMPDIR}/EDMarketConnector.log" You can make that `... | tee -a ...` if you're OK with this log file growing -until you delete or truncate it yourself. \ No newline at end of file +until you delete or truncate it yourself.