Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "ERRO[08:36:50] Cannot decode packed binary. XML syntax error on line 3631: unexpected EOF" #807

Closed
Maithy15 opened this issue Aug 25, 2022 · 14 comments
Assignees

Comments

@Maithy15
Copy link

Maithy15 commented Aug 25, 2022

Hi,

I got the following error "ERRO[08:36:50] Cannot decode packed binary. XML syntax error on line 3631: unexpected EOF", and fragpipe stopped. I have attached the whole log file for you. I checked the previous issues, and it seems this error means there is some special char. in the interact XML file.

Please let me know how to solve this problem. Is restarting the search enough?

log file
log_2022-08-25_08-57-27.zip
)

@prvst
Copy link

prvst commented Aug 25, 2022

@Maithy15 you are processing temporary PeptideProphet files. I suggest you clean your directory, remove all temporary or intermediary files, and give another try.

@anesvi
Copy link
Collaborator

anesvi commented Sep 6, 2022

@Maithy15 can you confirm there were 'xml.tmp' files, and you were able to run the tools after cleaning the folder?

@Maithy15
Copy link
Author

Maithy15 commented Sep 6, 2022

@anesvi Sorry for not updating! The XML.tmp files were there. I restarted after cleaning the folder and it worked!

Thanks
Maithy

@anesvi
Copy link
Collaborator

anesvi commented Sep 6, 2022

@prvst can we print an informative error message when this error happens and there are 'tmp.xml' files in the directory. I am not sure though if we can figure out why they are present. We should discuss internally.

@prvst
Copy link

prvst commented Sep 6, 2022

already done!

@fcyu
Copy link
Member

fcyu commented Oct 27, 2022

We have the pre-release versions of FragPipe and MSFragger than fixes the multi-threading issue in PTMProphet.

Please contact us for the pre-release versions if you want to have a try.

Best,

Fengchao

@ougochu
Copy link

ougochu commented Nov 4, 2022

Note: I'm running FragPipe 18.0 / MS Fragger 3.5 / IonQuant 1.8.0 / Philosopher 4.4.0 / Python 3.9.12 on a Windows 8.1 machine.

@Maithy15 @prvst when you all refer to XML.tmp files existing in a directory, to which directory are you referring? The directory containing the .mzML files / .raw files? The output directory? I'm having very similar issues to @Maithy15 but was not able to find any .tmp files.

Attached you'll find 2 log files: the earliest one was automatically generated when the run stopped. The later one was user-generated, and includes the error code.

Thanks for any help,

OU
221103_Run1_Logs.zip

@Maithy15
Copy link
Author

Maithy15 commented Nov 4, 2022

If I remember correctly, they were in the output folder.

@fcyu
Copy link
Member

fcyu commented Nov 4, 2022

Hi @ougochu ,

Your crash is different from @Maithy15 's. It is not because of the tmp file left from PTMProphet. You did not run PTMProphet.

Hi Felipe @prvst , can you take a look? The error messages are

INFO[05:18:32] 1+ Charge profile                             decoy=0 target=0
INFO[05:18:32] 2+ Charge profile                             decoy=5410 target=182987
INFO[05:18:32] 3+ Charge profile                             decoy=4423 target=258715
INFO[05:18:32] 4+ Charge profile                             decoy=1319 target=44999
INFO[05:18:32] 5+ Charge profile                             decoy=353 target=4584
INFO[05:18:32] 6+ Charge profile                             decoy=98 target=551
INFO[05:18:35] Database search results                       ions=197240 peptides=143408 psms=503509
INFO[05:18:36] Converged to 1.00 % FDR with 475136 PSMs      decoy=4796 threshold=0.723073 total=479932
INFO[05:18:36] Converged to 1.00 % FDR with 123840 Peptides  decoy=1250 threshold=0.892011 total=125090
INFO[05:18:36] Converged to 1.00 % FDR with 176057 Ions      decoy=1777 threshold=0.854113 total=177834
panic: Cannot decode packed binary. XML syntax error on line 1153751: unexpected EOF

goroutine 1 [running]:
philosopher/lib/msg.callLogrus({0xc004f82820, 0x4d}, {0xb312c0, 0x1?})
	/workspace/philosopher/lib/msg/msg.go:319 +0x354
philosopher/lib/msg.DecodeMsgPck({0xc80040?, 0xc0035f6480?}, {0xb312c0, 0x5})
	/workspace/philosopher/lib/msg/msg.go:120 +0x6e
philosopher/lib/spc.(*ProtXML).Parse(0xc02202f8e0, {0xc00001c200, 0x3a})
	/workspace/philosopher/lib/spc/spc.go:91 +0x20e
philosopher/lib/id.(*ProtXML).Read(0xc02202fb88, {0xc00001c200?, 0x20ca680?})
	/workspace/philosopher/lib/id/pro.go:121 +0x85
philosopher/lib/fil.ReadProtXMLInput({0xc00001c200?, 0xd?}, {0xc000018128, 0x4}, 0x3ff0000000000000)
	/workspace/philosopher/lib/fil/fil.go:507 +0x9f
philosopher/lib/fil.Run({{0xc0001acc60, 0x24}, {0xc0001acc90, 0x2f}, {0xc0001b2640, 0x49}, {0xc0001aa900, 0x3e}, {0xc0001aa940, 0x35}, ...})
	/workspace/philosopher/lib/fil/fil.go:80 +0x77a
philosopher/cmd.glob..func5(0x20d4040?, {0xb30ca0?, 0xb?, 0xb?})
	/workspace/philosopher/cmd/filter.go:43 +0x390
github.com/spf13/cobra.(*Command).execute(0x20d4040, {0xc0000e6790, 0xb, 0xb})
	/home/prvst/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:844 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0x20d2b40)
	/home/prvst/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x37c
github.com/spf13/cobra.(*Command).Execute(...)
	/home/prvst/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885
philosopher/cmd.Execute()
	/workspace/philosopher/cmd/root.go:35 +0x25
main.main()
	/workspace/philosopher/main.go:25 +0x90
ERRO[05:18:52] Cannot decode packed binary. XML syntax error on line 1153751: unexpected EOF 

Best,

Fengchao

@prvst
Copy link

prvst commented Nov 4, 2022

@ougochu can you share your prot.xml file ?

@ougochu
Copy link

ougochu commented Nov 4, 2022

@fcyu thank you, understood.

@prvst my combined.prot.xml file for "Run 1" (for which the error logs are pasted) is attached -- thank you!
221103_Run1_combined.prot.zip

@prvst
Copy link

prvst commented Nov 4, 2022

@ougochu your file is corrupted, the writing stopped midway down, looks like a large chunk is just missing.

@ougochu
Copy link

ougochu commented Nov 4, 2022

@prvst agreed. I haven't been able to reproduce the error on subsequent runs with fewer batches/samples. I'll see if, and under what conditions, it happens again when running the same dataset.

@fcyu
Copy link
Member

fcyu commented Dec 3, 2022

We have released a new version that fixes this issue. Please download it from https://github.com/Nesvilab/FragPipe/releases/tag/19.0

Best,

Fengchao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants