[1.1.32] Unable to update mods with VSCode open in mods directory
Posted: Fri Apr 23, 2021 8:14 pm
I have attached a log from a run of factorio where I simply try to enable/disable any mod and it fails to take effect on the next run.
The money line is
I have confirmed that I do NOT have the mods-list.json file open. VSCode may be locking the mods directory itself, or some of its contents.
I'm not sure if this is a bug in factorio or simply a bad interaction. Regardless it would be nice to be told that the mods were not going to be updated and if possible the reason why. Even an improved error message in the log about which file access was denied to would be a helpful improvement.
The money line is
Code: Select all
87.548 Error ModManager.cpp:163: writeModlist threw an exception: Access is denied.^M
I'm not sure if this is a bug in factorio or simply a bad interaction. Regardless it would be nice to be told that the mods were not going to be updated and if possible the reason why. Even an improved error message in the log about which file access was denied to would be a helpful improvement.