Failed import from remote server

support
Failed import from remote server Jeff Whiteaker  2021-10-26
 

Hi Skyline team!
I am receiving the below error when trying to import results from raw datafiles stored on a remote server. The import is successful if I make a copy of the skyline document and raw datafiles on my local machine. I am otherwise able to work with other files directly from the server (e.g. MS Office, copy/edit, etc.). This is the case with multiple machines in the lab, but all accessing the same remote server.
We are also asking local IT about possible server issues, but like I said, we are able to read/write to the server in other applications. Do you think this is a Skyline issue or something else?
Please let me know what other information is needed.
Thanks,
Jeff

At 11:47:
Failed attempting to create a temporary file in the folder Z:... with the following error:
Win32 Error: 2

Skyline-daily (64-bit) 21.1.1.223 (7bb723fa8)

 
 
Nick Shulman responded:  2021-10-26
Your Skyline document (.sky file) and spectral libraries (.blib files) need to be in a folder that Skyline can write to.
You can extract chromatograms from raw files that are in a read only folder.

Apparently error code "2" means "File not found":
https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-

Can you tell us more about that error message that you saw? What was the full path of the temporary folder on Z:?
Sometimes "File not found" errors are caused by special characters in folder names.

Was there a "More Info" button on the message box in Skyline?
-- Nick
 
Jeff Whiteaker responded:  2021-10-26
Hi Nick,
There are no special characters (that I'm aware of) in the folder names.

Yes, there was more info on the error, i pasted below:


At 12:54:
Failed attempting to create a temporary file in the folder Z:\paulovich\Apollo_2016_17Q014\Experiments\CITN_plasma_pilot\CITN13_RawData with the following error:
Win32 Error: 2
System.IO.IOException: Failed attempting to create a temporary file in the folder Z:\paulovich\Apollo_2016_17Q014\Experiments\CITN_plasma_pilot\CITN13_RawData with the following error:
Win32 Error: 2
   at pwiz.Skyline.Util.FileStreamManager.GetTempFileName(String basePath, String prefix, UInt32 unique) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Util\UtilIO.cs:line 786
   at pwiz.Skyline.Model.Results.ChromCacheWriter..ctor(String cachePath, ILoadMonitor loader, IProgressStatus status, Action`2 completed) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Model\Results\ChromCacheWriter.cs:line 55
   at pwiz.Skyline.Model.Results.ChromCacheBuilder..ctor(SrmDocument document, ChromatogramCache cacheRecalc, String cachePath, MsDataFileUri msDataFilePath, ILoadMonitor loader, IProgressStatus status, Action`2 complete) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Model\Results\ChromCacheBuilder.cs:line 62
   at pwiz.Skyline.Model.Results.ChromatogramCache.Build(SrmDocument document, String documentFilePath, ChromatogramCache cacheRecalc, String cachePath, MsDataFileUri msDataFileUri, IProgressStatus status, ILoadMonitor loader, Action`2 complete) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Model\Results\ChromatogramCache.cs:line 618
 
Nick Shulman responded:  2021-10-26
Skyline is trying to create a temporary file in the same folder as the Skyline document (the file whose name ends in ".sky").
I imagine this would work if you moved your Skyline document to a local directory on your computer. You can leave your raw files where they are.

If you really need to make it work with your Skyline document on the Z: drive, you will probably have to troubleshoot this yourself.
You might want to see whether this works when your Skyline document is in the "Z:\" or the "Z:\paulovich" folder.
-- Nick
 
Jeff Whiteaker responded:  2021-10-27
yes, I think it is an issue with server access that has come about.

Thanks for your time in troubleshooting this Nick! Take care