AutoQC path too long

support
AutoQC path too long joel steele  2024-07-16 20:19:02
 
Hello,
I have been able to run the location fine up until today and now face the path too long issue.
I am not sure if it was already borderline or if something has now happened

[7/17/2024 3:12:03 AM] ERROR: There was an error running configuration "v4".
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
   at System.IO.PathHelper.GetFullPathName()
   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
   at AutoQC.ImportContext.<>c.<.ctor>b__13_0(String f)
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at AutoQC.ImportContext..ctor(List`1 resultsFiles, Boolean importExisting)
   at AutoQC.ConfigRunner.ProcessExistingFiles(DoWorkEventArgs e)
   at AutoQC.ConfigRunner.RunConfiguration(Object sender, DoWorkEventArgs e)
[7/17/2024 3:12:10 AM] ERROR: An error occurred. Stopping configuration.
 
 
Vagisha Sharma responded:  2024-07-17 17:10:37
Hi Joel,

Usually on Windows, the maximum length of a path is 260 characters. The path for one of your raw files must have exceeded this limit. That is why you are getting the error. Unfortunately, the error message does not include the file path that caused the problem.

I looked at one of your QC folders on PanoramaWeb. Some of the raw files in your Skyline documents were imported from UNC paths - they look like \\servername\path\rawdata\..\data.raw Is it possible for you to map the shared folder of interest as a network drive on the computer where AutoQC Loader is running? That would make the paths shorter (e.g. Y:\rawdata). You can enter this path in the "Folder to watch" field in AutoQC Loader.

Skyline is also unable to import a raw file if the path exceeds 260 characters. I am not aware of a good workaround for this limit in Windows. Perhaps someone from the Skyline team will have other suggestions.

Thanks,
Vagisha