Artentus / ModMyFactory2

Rewrite of ModMyFactory, the Factorio mod manager
GNU General Public License v3.0
56 stars 18 forks source link

Updating mods Crash #39

Closed Dorky106 closed 2 years ago

Dorky106 commented 3 years ago

Clicking update mods seems to close the whole program right now. Not sure what is going on.

Artentus commented 3 years ago

Not sure why you are experiencing this, I cannot reproduce it at all. Does your log show anything?

Dorky106 commented 3 years ago

Which is located where?

Artentus commented 3 years ago

%appdata%\ModMyFactoryGUI\logs an Windows and home/.modmyfactorygui/logs on Linux

Dorky106 commented 3 years ago

https://pastebin.com/JNe1QMtY

Artentus commented 3 years ago

It doesn't like an update for one of your mods. What mods do you have installed?

Dorky106 commented 3 years ago

If it's only checking for checked off mods then AAI Industry AAI Signal Transmission Alien Biomes Bio Industries Standard Library Informatron Jetpack Krastorio 2 Robot Attrition Space Exploration (Experimental) Space Exploration Graphics (Required) Space Exploration Postprocess (Required) Squeak Through

Dorky106 commented 3 years ago

So when I click to even download space exploration, from the download mods section it also just crashes https://pastebin.com/YsVxHLjq

Artentus commented 3 years ago

I can download all of the latest versions of these mods just fine, but I saw some of them are quite outdated. Which Factorio version are you running?

Dorky106 commented 3 years ago

1.1.32, also not sure how they are outdated, as they still run and all for Factorio 1.1

Artentus commented 3 years ago

Found your problem. Turns out I cannot find anything because this issue no longer exists, I fixed it a while ago.
But for some reason you have outdated application modules in your installation, not sure how that happened.
Clean-installing MMF should resolve this completely.

Dorky106 commented 3 years ago

Odd, as I DL'd a fresh copy, new folder and everything. Every time I have updated, I just do extract to folder, so I end up with X.X.X.X-Beta_Win64 where the Xs match the latest version.

Dorky106 commented 3 years ago

Deleted, the mod manager folder, and the appdata folder and yup still crashing. when checking space exploration. You sure you pushed out the fix?

Artentus commented 3 years ago

I just released a new version, please try it.

Dorky106 commented 3 years ago

Yea, the update seems to have fixed it the issue.

Dorky106 commented 3 years ago

So the issue semi-still exists. It happens with the Space Exploration Graphics 1-5

VertexComplex commented 2 years ago

Good morning, bumping this issue as I'm getting it too, with v4.3.0.34-beta. Here's the log:

https://pastebin.com/nyE8QtX0

Artentus commented 2 years ago

Your log looks like it's a server error (403). Have you tried again since this happened? Maybe it has been resolved server-side. Although MMF is not supposed to hard crash on server errors, will have to look into why it didn't just display an error.

VertexComplex commented 2 years ago

Yes, I still get the same error. I managed to "manually" update some mods directly in Factorio (didn't try for all of them, but never had any issues updating through the game so far).

Edit: tried running MMF as admin, same results (still crashes to desktop).

VertexComplex commented 2 years ago

Ok, I'm wondering if it's something to do with authentication. In the Settings tab, I noticed my Username and Password fields were empty. I tried entering the info there, but when I click Accept, they just go blank again. In the Download Mods view, I try to download a mod (any one, really), and MMF asks me to enter my credentials. If I enter them here, the fields turn red saying the credentials are invalid.

I then reset my password directly on the Factorio.com website, and am able to log in through there successfully. If I try again in MMF, with the new password, it still tells me the credentials are invalid. I've tried with my email and username, both fail.

Artentus commented 2 years ago

I don't really know what to make of this.
I can log in through MMF just fine. Updating mods also works just fine.

Try removing your credentials entirely by keeping both fields empty and saving, then reload MMF and reenter them.
Maybe something got messed up in the settings.

VertexComplex commented 2 years ago

Good news, I seem to have "fixed" it on my end. My copy of Factorio was bought through Steam, and for some reason my factorio.com account wasn't linked to my steam account, so on some pages the site told me I didn't have full access.

I linked the accounts, and to be sure, I also deleted the ModMyFactoryGUI folder under %USERPROFILE%\AppData\Roaming, then restarted MMF.

MMF is now able to log in and download/update mods. I have no idea how this worked before, and then stopped working...

Artentus commented 2 years ago

Yes, to be able to download mods from the mod portal you need a valid Factorio license linked to your account.
It should never have worked without one, so I'm suprised it did.