-
-
Notifications
You must be signed in to change notification settings - Fork 347
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] Mod list refresh gets stuck between "Updating filters..." and "Updating tray..." #3683
Comments
Can you please explain what you mean by that? What are you seeing in that file that you think is related to this issue? |
I don't know that it means anything. I looked for places ckan would store filters and found entries in that file. If it is irrelevant then it is irrelevant, but thought it might be helpful in absence of a log. |
What did you find though? That's all I'm asking. You say you found entries in the file, what did you find? |
Mea culpa, too much online time and detecting sarcasm where none exists I suppose. There are many json "filter" elements in the file while the command line "ckan filter list" shows no filters and I thought that might be informative for someone who knows how the code works (not me). It is a large file so I'll just paste result of Click to expand
|
registry.json has balanced braces count as a quick integrity check (not partially writen apparently). Again, no idea if relevant, but reading filters seems to be causing a hang of some type so figured I'd try to see if that file was corrupted in a rough way |
OK thanks, those are filters from various install stanzas that tell CKAN to skip certain files when installing a mod. The The message you're describing refers to something else: the mod search filters like compatible, cached, upgradeable, etc. It's raised on this line: CKAN/GUI/Controls/ManageMods.cs Line 1192 in cd7c3a0
And the next message is "Updating tray..." here: CKAN/GUI/Controls/ManageMods.cs Line 1239 in cd7c3a0
So if you're seeing the first message and not the second, then something between those lines either throws an exception (which we would probably see, so this is less likely) or runs forever. Can you please run |
Ok, will do |
I did see this message appear a bit after startup on the console running 'ckan gui' which I had not noticed before, not sure if it was there previously, but I put it here for info: Screenshot so you can see where it hangs from user pov: And the output of |
Thanks, that's very good to have, but the issue is still very mysterious, so we'll need to gather more information. Here's a test build that prints 27 new messages to the progress screen between "Updating filters..." and "Updating tray...": Please run that and share a new screenshot so we can see how far it gets before getting stuck. |
Will do |
Is this supposed to reinstall all mods? That is what it is doing. I'd have (should have) made a full backup before running. I hope I didn't lose all my mod specific settings |
I don't know what you mean by "reinstall all mods". Can you share a screenshot? |
I get a "Success!" in the status bar but now it is hanging with a big red X across the screen. Here are the successive screen shots. |
Since we're trying to investigate the mod list loading problem, could you please click No on that popup to skip the reinstall step? We can look into that later if it's still happening once we've figured out the original problem. |
It didn't ask to reinstall mods, it asked to update metadata. The reinstall flowed on its own after that. Game won't load, ModuleManager fatal error. I have to go to work |
Do you see the Yes/No popup in your first screenshot? That's where it asked to reinstall mods (if you scroll all the way down to the end of the text). I was asking you to click No on that popup. |
I made the mistake of thinking the text at the top was adequate to explain the question. I did not scroll all the way down. I thought I was clicking "yes" to update metadata as that seemed harmless enough. My bad for not "scrolling all the way down". |
To be clear, I'm not blaming you, in ordinary circumstances clicking Yes would be perfectly reasonable. Clicking No in this case is just an investigation technique to try to get us back to investigating the issue in this issue, which was that the mod list refresh was freezing. |
Current situation is that running the debug build a few times eventually stopped hanging and settled on a normally behaving ckan UI and playable game. But the non-debug version still hangs. If the inadvertent reinstall had fixed the original problem I'd expect the original version to stop hanging, so a number of possibilities come to mind.
As a side note to deleted msgs, if I didn't have so many mods I might not be running ckan. It's a tautology eating it's own tail |
Thanks, that's pretty good news! Sounds like one of the other fixes in the current dev build incidentally fixed this issue as well, since that's what I used as a base to add more debugging. To confirm, you can try the version of it without the debug messages: If that seems to work as well, then we can close this as already fixed. Cheers! NOTE: The first version of this comment had the wrong URL. Please don't click the one in your email notification, if you received one. It's fixed above. |
Background
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Describe the bug
Gui client endlessly scrolling progress bars on linux during "updating filters" phase after some network issues were resolved, killing ckan, manually removing ckan lock file, and restarting ckan.
Screenshots (if applicable)
Debug log: ckan-debug.LOG
The text was updated successfully, but these errors were encountered: