-
-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't close CKAN if not connected to the internet while refreshing mod list #1981
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This happens because GUI cancels closing if the main menu is disabled: Lines 435 to 442 in 2f3d817
And it disables the main menu during registry update: Lines 28 to 38 in 2f3d817
Lines 45 to 48 in 2f3d817
It also disables the main menu when you click Apply in the change set tab to start an install: CKAN/GUI/Main/MainChangeset.cs Lines 34 to 36 in 2f3d817
I would have to investigate to determine whether closing the app in these situations would cause problems. Hopefully judicious use of transactions and exception handling would at least not corrupt the registry if operations don't complete. |
This would be good to address with #1238, the user ought to be able to cancel out of updating with a broken network connection, and an unreachable repo should revert you to whatever registry you had before. |
CKAN Version:
v1.22.1-0-g174271a
Operating System:
Windows 7, 64 Bit
The issue you are experiencing:
CKAN is not closable with the "X" while the "Updating repositories" operation is running. If no internet connection is present when refreshing, sometimes this operation never finishes (not even when restoring the internet connection). Since the Cancel button is greyed out and the X-Button on the window does not react, there is no way to cleanly shutdown CKAN. You are required to kill CKAN via the task manager.
Additionally, if CKAN is then killed, the CKAN.ModuleNotFoundKraken is shown at every subsequent start, until a refresh is successful.
How to recreate this issue:
The text was updated successfully, but these errors were encountered: