Issue 835: Audit verification error after minimizing and sharing Skyline document

issues
Status:open
Assigned To:ritach
Type:Defect
Area:Skyline
Priority:3
Milestone: 
Opened:2021-09-09 by Josh Eckels
Changed:2021-09-09 by Josh Eckels
Resolved:
Resolution:
Closed:
2021-09-09 Josh Eckels
Title»Audit verification error after minimizing and sharing Skyline document
Assigned To»ritach
Notify»Brendan MacLean
Type»Defect
Area»Skyline
Priority»3
Repro on Skyline 21.1.0.146:

Download this Skyline document: https://skyline.ms/_webdav/home/support/file%20sharing/%40files/DIA-QE-Bruderer.sky.zip
Open the file.
Edit->Minimize Results. Accept defaults and choose Minimize in place (check discard unused, uncheck limit noise)
File->Share. Choose minimize and save.
Open the resulting Skyline document.

System.Reflection.TargetInvocationException: Error when loading document's audit log: D:\Skyline\DIA-QE-Bruderer\DIA-QE-Bruderer-minimized(1)\DIA-QE-Bruderer.sky. ---> pwiz.Skyline.Model.AuditLog.AuditLogException: Error when loading document's audit log: D:\Skyline\DIA-QE-Bruderer\DIA-QE-Bruderer-minimized(1)\DIA-QE-Bruderer.sky. ---> pwiz.Skyline.Model.AuditLog.AuditLogException: An exception occured while reading the audit log.

Deleting, renaming or moving the audit log file will prevent this error from occuring. You can also send the audit log to the Skyline team to have them attempt to manually fix the file.

For reference, the audit log is located here: "D:\Skyline\DIA-QE-Bruderer\DIA-QE-Bruderer-minimized(1)\DIA-QE-Bruderer.skyl" ---> pwiz.Skyline.Model.AuditLog.AuditLogException: The following audit log entries were modified:

Imported results from 21 files
Imported results from 3 files
Managed results
Imported results from 2 files
Picked 9 children for Biognosys standards > LFLQFGAQGSPFLK > 776.9298++
Picked 9 children for Biognosys standards > GTFIIDPAAVIR > 636.8692++
Picked 9 children for Biognosys standards > GTFIIDPGGVIR > 622.8535++
Picked 9 children for Biognosys standards > ADVTPADFSEWSK > 726.8357++
Picked 9 children for Biognosys standards > DGLDAASYYAPVR > 699.3384++
Picked 9 children for Biognosys standards > TPVITGAPYEYR > 683.8537++
Picked 9 children for Biognosys standards > TPVISGGPYEYR > 669.8381++
Picked 9 children for Biognosys standards > YILAGVENSK > 547.2980++
Picked 9 children for Biognosys standards > VEATFGVDESNAK > 683.8279++
Picked 9 children for Biognosys standards > GAGSSEPVTGLDAK > 644.8226++
Picked 9 children for Biognosys standards > LGGNEQVTR > 487.2567++
Transition Settings changed
Deleted target Decoys
Deleted target tr|C8Z659|C8Z659_YEAS8
Deleted target tr|C8ZBT8|C8ZBT8_YEAS8
Deleted target tr|C8ZGV7|C8ZGV7_YEAS8
Deleted target tr|D3UEZ5|D3UEZ5_YEAS8
Deleted target sp|P23246|SFPQ_HUMAN
Deleted target sp|P22314|UBA1_HUMAN
Deleted target sp|Q99536|VAT1_HUMAN
Deleted target sp|P62399|RL5_ECOLI
Deleted target sp|P0A7Z4|RPOA_ECOLI
Deleted target sp|P0A7V3|RS3_ECOLI
Deleted target sp|P63284|CLPB_ECOLI
Managed results
Imported a peptide search
Added spectral library "DIA-QE-tutorial"
   at pwiz.Skyline.Model.AuditLog.AuditLogList.VerifyHashValues() in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Model\AuditLog\AuditLogEntry.cs:line 368
   at pwiz.Skyline.Model.AuditLog.AuditLogList.ReadFromXmlTextReader(XmlTextReader reader, AuditLogList& result) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Model\AuditLog\AuditLogEntry.cs:line 334
   at pwiz.Skyline.Model.AuditLog.AuditLogList.ReadFromFile(String fileName, AuditLogList& result) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Model\AuditLog\AuditLogEntry.cs:line 276
   --- End of inner exception stack trace ---
   at pwiz.Skyline.Model.AuditLog.AuditLogList.ReadFromFile(String fileName, AuditLogList& result) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Model\AuditLog\AuditLogEntry.cs:line 282
   at pwiz.Skyline.Model.SrmDocument.ReadAuditLog(String documentPath, String expectedSkylineDocumentHash, Func`1 getDefaultEntry) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Model\SrmDocument.cs:line 2027
   at pwiz.Skyline.SkylineWindow.<>c__DisplayClass742_0.<OpenFile>b__0(IProgressMonitor progressMonitor) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\SkylineFiles.cs:line 335
   --- End of inner exception stack trace ---
   at pwiz.Skyline.SkylineWindow.<>c__DisplayClass742_0.<OpenFile>b__0(IProgressMonitor progressMonitor) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\SkylineFiles.cs:line 339
   at pwiz.Skyline.Controls.LongWaitDlg.RunWork(Action`1 performWork) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Controls\LongWaitDlg.cs:line 254
   --- End of inner exception stack trace ---
   at pwiz.Skyline.Util.Helpers.WrapAndThrowException(Exception x) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Util\Util.cs:line 1940
   at pwiz.Skyline.Controls.LongWaitDlg.PerformWork(Control parent, Int32 delayMillis, Action`1 performWork) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Controls\LongWaitDlg.cs:line 202
   at pwiz.Skyline.Controls.LongWaitDlg.PerformWork(Control parent, Int32 delayMillis, Action`1 performWork) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\Controls\LongWaitDlg.cs:line 140
   at pwiz.Skyline.SkylineWindow.OpenFile(String path, FormEx parentWindow) in C:\proj\skyline_21_1_x64\pwiz_tools\Skyline\SkylineFiles.cs:line 345