Skip to content

v2020-10-17

Compare
Choose a tag to compare
@Viir Viir released this 17 Oct 09:57
Adapt to avoid crashes in new environments

Adapt to environment discovered at https://forum.botengine.org/t/farm-manager-tribal-wars-2-farmbot/3038/169

Adapt to what we learned from this runtime exception:
----
run v2020-08-24 failed with exception: System.UnauthorizedAccessException: Access to the path 'C:\Users\B\AppData\Local\Temp\ccyj3guo.0bp\name-used-to-execute-file.exe' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Kalmit.ExecutableFile.ExecuteFileWithArguments(IImmutableList`1 environmentFiles, Byte[] executableFile, String arguments, IDictionary`2 environmentStrings) at Kalmit.ProcessFromElm019Code.CompileElm(IImmutableDictionary`2 elmCodeFiles, IImmutableList`1 pathToFileWithElmEntryPoint, String outputFileName, String elmMakeCommandAppendix) at Kalmit.ProcessFromElm019Code.CompileElmToJavascript(IImmutableDictionary`2 elmCodeFiles, IImmutableList`1 pathToFileWithElmEntryPoint, String elmMakeCommandAppendix)
[...]