Can not reopen deposited data

support
Can not reopen deposited data ingo wohlgemuth  2024-08-27 03:09:21
 
Dear Skyline team,
Sometimes I cannot reopen saved or Panorama deposited data. Same is true if colleagues who try to download and open these files from Panorama.
Please find the error message below.
Thanks for your help!

Best
Ingo



---------------------------
Skyline-daily
---------------------------
Failure opening F:\Multivariate Rep2\Rep2 32mikroM Apr\Rep2_32mikroM_Apr.sky.
Failure attempting to load the window layout file F:\Multivariate Rep2\Rep2 32mikroM Apr\Rep2_32mikroM_Apr.sky.view.
Rename or delete this file to restore the default layout.
Skyline may also need to be restarted.
---------------------------
OK More Info
---------------------------
Skyline-daily (64-bit) 23.1.1.503 (16f52e48b)

System.IO.IOException: Failure attempting to load the window layout file F:\Multivariate Rep2\Rep2 32mikroM Apr\Rep2_32mikroM_Apr.sky.view.
Rename or delete this file to restore the default layout.
Skyline may also need to be restarted. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at DigitalRune.Windows.Docking.DockPanelPersistor.LoadFromXml(DockPanel dockPanel, Stream stream, DeserializeDockableForm deserializeContent)
   at pwiz.Skyline.SkylineWindow.LoadLayoutLocked(Stream layoutStream) in C:\proj\pwiz\pwiz_tools\Skyline\SkylineGraphs.cs:line 527
   at pwiz.Skyline.SkylineWindow.LoadLayout(Stream layoutStream) in C:\proj\pwiz\pwiz_tools\Skyline\SkylineGraphs.cs:line 482
   at pwiz.Skyline.SkylineWindow.UpdateGraphUI(SrmSettings settingsOld, Boolean docIdChanged) in C:\proj\pwiz\pwiz_tools\Skyline\SkylineGraphs.cs:line 309
   --- End of inner exception stack trace ---
   at pwiz.Skyline.SkylineWindow.UpdateGraphUI(SrmSettings settingsOld, Boolean docIdChanged) in C:\proj\pwiz\pwiz_tools\Skyline\SkylineGraphs.cs:line 318
   at pwiz.Skyline.SkylineWindow.OnDocumentUIChanged(SrmDocument documentPrevious) in C:\proj\pwiz\pwiz_tools\Skyline\Skyline.cs:line 590
   at pwiz.Skyline.SkylineWindow.SetDocument(SrmDocument docNew, SrmDocument docOriginal) in C:\proj\pwiz\pwiz_tools\Skyline\Skyline.cs:line 708
   at pwiz.Skyline.SkylineWindow.RestoreDocument(SrmDocument docUndo) in C:\proj\pwiz\pwiz_tools\Skyline\Skyline.cs:line 905
   at pwiz.Skyline.SkylineWindow.SwitchDocument(SrmDocument document, String pathOnDisk) in C:\proj\pwiz\pwiz_tools\Skyline\Skyline.cs:line 863
   at pwiz.Skyline.SkylineWindow.OpenFile(String path, FormEx parentWindow) in C:\proj\pwiz\pwiz_tools\Skyline\SkylineFiles.cs:line 399
---------------------------
 
 
Vagisha Sharma responded:  2024-08-27 16:59:21
Hi Ingo,

Sorry about the errors you are getting when trying to open the Skyline document. The error is occurring because Skyline is having trouble reading the .sky.view file. This is the file that stores the state of the Skyline UI (e.g. window layout) when the file was last saved. I have requested someone on the Skyline team to take a look at your document.

In the mean time, you should be able to open the document after deleting the .sky.view file. When you open a .sky.zip file in Skyline, the contents of the zip file get extracted to a folder. For example, Rep2_32mikroM_Apr.sky.zip will get extracted to a folder named Rep2_32mikroM_Apr. You can delete Rep2_32mikroM_Apr.sky.view from this folder, and then double-click Rep2_32mikroM_Apr.sky to open it in Skyline. Without the sky.view file, Skyline will revert to the default layout settings. After adjusting the layout, please try uploading the document to Panorama again, or create a shared zip file (File > Share in Skyline). Let us know if the resulting sky.zip still has the same problem.

Thanks,
Vagisha