FragPipe icon indicating copy to clipboard operation
FragPipe copied to clipboard

Got a "FileNotFoundError" when using the split DB

Open huiyinc opened this issue 2 years ago • 3 comments

Describe the bug

Hi Fengchao,

I got a "FileNotFoundError" when using the split DB. Attached is my log file. Can you please take a look and let me know if there is anything I miss? Thanks a lot!

Huiyin

log_2022-04-18_18-39-52.txt

huiyinc avatar Apr 18 '22 11:04 huiyinc

Hi Hui-Yin,

FileNotFoundError: [WinError 206] 檔名或副檔名太長。 I think it is because the command is too long for Windows.

FragPipe splits the files into different batches if the command is too long. With split database, I guess the additional split_peptide_index_tempdir directory makes the command longer than the limit again.

@guoci , we need to figure out a smart idea to solve this problem. Maybe we can put all files' paths into a file like what we did for ProteinProphet.

Best,

Fengchao

fcyu avatar Apr 18 '22 13:04 fcyu

Yes, use the file list in a file method, and remove the workaround code in FragPipe.

guoci avatar Apr 18 '22 14:04 guoci

Hi Fengchao and Guo Ci,

Thanks for the prompt reply. I will try to shorten the folder/file names, hoping it solve the issue. Please let me know if there is an updated release. I am happy to give it a try.

Huiyin

Guo Ci @.***> 於 2022年4月18日 下午10:55 寫道:



Yes, use the file list in a file method, and remove the workaround code in FragPipe.

— Reply to this email directly, view it on GitHub https://github.com/Nesvilab/FragPipe/issues/653#issuecomment-1101471642, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAWWA22AGQNJMS5QENEEUDVFVZV5ANCNFSM5TVTG5IA . You are receiving this because you authored the thread.Message ID: @.***>

huiyinc avatar Apr 19 '22 01:04 huiyinc