Closed
Description
System information
- OS version/distro: Windows Server 2016
Issue
When running simultaneous sweeps (multiple processes), one process tried to open a new temp file which already exists.
Unexpected exception: The file 'C:\Users\jormont\AppData\Local\Temp\2\TLC_25553D77\0' already exists
- What did you do?
Running an AutoML macro sweep w/ four processes on the same machine.
Perhaps our temporary path names aren't unique enough?
Unsure which call is used to create the TLC_...
folder, but could be this one:
Source code / logs
Error:
Unexpected exception: The file 'C:\Users\jormont\AppData\Local\Temp\2\TLC_25553D77\0' already exists., 'System.IO.IOException'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)
at Microsoft.ML.Runtime.Model.RepositoryReader.OpenEntryOrNull(String dir, String name) in D:\TLC\OpenSource\src\Microsoft.ML.Data\Model\Repository.cs:line 507
at Microsoft.ML.Runtime.Model.ModelLoadContext.LoadModelOrNull[TRes,TSig](IHostEnvironment env, TRes& result, RepositoryReader rep, String dir, Object[] extra) in D:\TLC\OpenSource\src\Microsoft.ML.Data\Model\ModelLoading.cs:line 55
at Microsoft.ML.Runtime.Model.ModelLoadContext.LoadModel[TRes,TSig](IHostEnvironment env, TRes& result, RepositoryReader rep, String dir, Object[] extra) in D:\TLC\OpenSource\src\Microsoft.ML.Data\Model\ModelLoading.cs:line 89
at Microsoft.ML.Runtime.Data.ApplyTransformUtils.ApplyTransformToData(IHostEnvironment env, IDataTransform transform, IDataView newSource) in D:\TLC\OpenSource\src\Microsoft.ML.Data\Utilities\ApplyTransformUtils.cs:line 47
at Microsoft.ML.Runtime.Data.ApplyTransformUtils.ApplyAllTransformsToData(IHostEnvironment env, IDataView chain, IDataView newSource, IDataView oldSource) in D:\TLC\OpenSource\src\Microsoft.ML.Data\Utilities\ApplyTransformUtils.cs:line 101
at Microsoft.ML.Runtime.EntryPoints.TransformModel..ctor(IHostEnvironment env, IDataView result, IDataView input) in D:\TLC\OpenSource\src\Microsoft.ML.Data\EntryPoints\TransformModel.cs:line 62
at Microsoft.ML.Runtime.Data.TextAnalytics.TextTransform(IHostEnvironment env, Arguments input) in D:\TLC\source\TextAnalytics\TextTransform.cs:line 549