Skip to content
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

[Bug] Repository update failed, failed to roll back after loading download counts #3763

Open
teostrom1 opened this issue Jan 14, 2023 · 3 comments
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Network Issues affecting internet connections of CKAN

Comments

@teostrom1
Copy link

teostrom1 commented Jan 14, 2023

Background

  • Operating System: Windows
  • CKAN Version: v1.31.2
  • KSP Version: 1.12.5.3190

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
no

Problem

heres the entire log from start to finish:

Scanning for DLCs and manually installed modules...
Updating repositories...
Refreshing game version data
Downloading "https://github.com/KSP-CKAN/CKAN-meta/archive/master.tar.gz"
Loading modules from default repository...
Loaded download counts from default repository
Repository update failed!
Failed to roll back.

Describe the bug
basically repository update failed then failed to roll back.

Steps to reproduce

  • for me i just installed it by following a guide

Expected behavior
normal startup i guess

Screenshots (if applicable)
image

@HebaruSan HebaruSan changed the title [Bug] fails to load [Bug] Repository update failed after loading download counts Feb 20, 2023
@HebaruSan HebaruSan changed the title [Bug] Repository update failed after loading download counts [Bug] Repository update failed, failed to roll back after loading download counts Feb 21, 2023
@HebaruSan HebaruSan added Core (ckan.dll) Issues affecting the core part of CKAN Network Issues affecting internet connections of CKAN labels Feb 21, 2023
@HebaruSan
Copy link
Member

That's printed here:

CKAN/GUI/Main/MainRepo.cs

Lines 172 to 177 in 8390a61

case Exception exc:
AddStatusMessage(Properties.Resources.MainRepoFailed);
currentUser.RaiseMessage(exc.Message);
Wait.Finish();
EnableMainWindow();
break;

"Failed to roll back" is the Message property of the exception, and "Repository update failed!" is just the generic description printed before that. They don't reflect two things that happen in sequence, but the general and specific messages for one event.

@HebaruSan
Copy link
Member

"Failed to roll back" unfortunately is probably not the original problem, since rolling back is not part of the normal update process. Some other exception was thrown, then in response to that CKAN tried to roll back, which failed, and that is the message we see.

@HebaruSan
Copy link
Member

#3890 is trying to improve the "Failed to roll back" error messages, so we should at least have a clearer idea of what is happening here in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Network Issues affecting internet connections of CKAN
Projects
None yet
Development

No branches or pull requests

2 participants