FSGModding / FSG_Mod_Assistant

Farming Simulator 22 Mod Manager.
https://fsgmodding.github.io/FSG_Mod_Assistant/
ISC License
74 stars 10 forks source link

[BUG] Processing mods after copy spins for ever #263

Open anothergene opened 2 hours ago

anothergene commented 2 hours ago

Is there an existing issue for this?

Current Behavior

After resolving a version difference, the scanning mods happens. It stalls at 100% for ever. 512/512 in my case. Have to kill the program and start over. The scanning seems to work fine in other places, like on launch and finish fairly quickly.

Expected Behavior

scanning actually finishes.

Steps To Reproduce

  1. update a mod
  2. resolve version difference in a different folder
  3. watch it spin for ever.

Environment

- Mod Assistant Version:5.1.1
- OS:Win 11
- Virtualized: No
- Game Verson: xbox store

Anything else?

Not sure where log ifle is located. can add it if you can tell me where it is.

anothergene commented 1 hour ago

found the log entries in the app DEBUG | mod-f22185418a857c98d0c5959aaff16318 >> Adding mod FROM cache :: FS22_yara_N_sensor_ALS 2024-10-19 10:21:59 | DEBUG | mod-b58c419ce4dfded93b076de897cca0cd >> Adding mod FROM cache :: FS22_yardProductionPack 2024-10-19 10:21:59 | DEBUG | mod-477daadc2357befa41d89d544568fa9b >> Adding mod FROM cache :: FS22_TargetFillLevel 2024-10-19 10:21:59 | DEBUG | mod-d485de2c8c5e618fd6526cc74fb64724 >> Adding mod FROM cache :: FS22_theWesternWilds 2024-10-19 10:22:00 | DEBUG | worker-thread-2::82504 >> -- Starting Worker Process : Thread # 2 -- 2024-10-19 10:22:00 | DEBUG | worker-thread-1::70024 >> -- Starting Worker Process : Thread # 1 -- 2024-10-19 10:22:00 | DEBUG | worker-thread-3::81288 >> -- Starting Worker Process : Thread # 3 -- 2024-10-19 10:22:00 | DEBUG | worker-thread-1::70024 >> -- Exit Call, Work Finished -- 2024-10-19 10:22:00 | DEBUG | worker-thread-3::81288 >> -- Exit Call, Work Finished -- 2024-10-19 10:22:00 | INFO | mod-136c1376408d1a1e4467e47dd40dea82 >> Adding Mod File: FS22_HeadlandManagement 2024-10-19 10:22:00 | DEBUG | worker-thread-2::82504 >> Sent(got) modRecord :: col_e8a00120e6ec916d19ba20e85a1cd7a2--FS22_HeadlandManagement 2024-10-19 10:22:00 | INFO | mod-136c1376408d1a1e4467e47dd40dea82 >> Adding mod to cache 2024-10-19 10:22:00 | DEBUG | worker-thread-2::82504 >> -- Exit Call, Work Finished --

jtsage commented 1 hour ago

hmm. race condition I bet. I'll dig into this, thanks