pFindStudio / pGlyco3

Apache License 2.0
15 stars 4 forks source link

Processing error with the new release #31

Open lindaz711 opened 8 months ago

lindaz711 commented 8 months ago

@jalew188 I have not been able to process any files with the new release (build20231220 with python installer). I also tried updating the dot NET framework to version 8.0 But still got the same error messages: Error message part 1 Process ID=09408: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Base, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Process ID=09408: at CombineMS2.Program.Main(String[] args) Error message part 2: unable to open the mgf file that was generated by pParse Process ID=09408: [pGlyco Error] Open in CMGFReader: Could not open file: D:\data\wells\lz\raw\1\LZ-20240127-Wells-RatBrain-CST-Eluate-Pro-KRc-AV1pm-intsHCDpdETDc_HCDpdETXXDFT.mgf

Please see the complete log files here: pGlyco3.beforedotNETframework8.pythonbat.log pGlyco3.afterdotNETframework8.pythonexe.log

jalew188 commented 8 months ago

Please copy this file https://github.com/pFindStudio/pGlyco3/releases/download/pGlyco3.0_build20231220/Base.dll into pGlyco3 program folder with pGlycoSite.exe

Yungstedt commented 8 months ago

Thank you for the fix. I'm now able to run 3.1 version. Haven't tested the glycoworkbench conversion function.

dmbf0488 commented 7 months ago

image i got an error also using the new version my .net framework is 8.0.x

gaojing2024 commented 7 months ago

i got an error also using the new version my .net framework is 8.0.x 屏幕截图 2024-03-15 104622

jalew188 commented 7 months ago

It seems that there is a bug relating to Python.Runtime.dll, I will investigate what happended

mwfoster commented 7 months ago

Hi, are you still working on this? I'm getting a similar error. Thanks, Matt

[pGlyco] Starting task ... Process ID=11632: C:\pGlyco3.1_build20231220\bin>rem Process ID=11632: C:\pGlyco3.1_build20231220\bin>parse_raw.exe "D:\6010\NGlyco_test_010723\pFind\process1\pGlyco.cfg" Process ID=12200: C:\pGlyco3.1_build20231220\bin>rem Process ID=12200: C:\pGlyco3.1_build20231220\bin>parse_raw.exe "D:\6010\NGlyco_test_010723\pFind\process2\pGlyco.cfg" Process ID=15848: C:\pGlyco3.1_build20231220\bin>rem *** Process ID=15848: C:\pGlyco3.1_build20231220\bin>parse_raw.exe "D:\6010\NGlyco_test_010723\pFind\process3\pGlyco.cfg" Process ID=12200: Traceback (most recent call last): Process ID=12200: File "parse_raw.py", line 5, in Process ID=12200: File "", line 1007, in _find_and_load Process ID=12200: File "", line 986, in _find_and_load_unlocked Process ID=12200: File "", line 680, in _load_unlocked Process ID=12200: File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module Process ID=12200: File "RawFileReader.py", line 6, in Process ID=12200: File "", line 1007, in _find_and_load Process ID=12200: File "", line 986, in _find_and_load_unlocked Process ID=12200: File "", line 680, in _load_unlocked Process ID=12200: File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module Process ID=12200: File "clr.py", line 6, in Process ID=12200: File "pythonnet__init__.py", line 143, in load Process ID=12200: File "clr_loader\types.py", line 94, in get_function Process ID=12200: File "clr_loader\types.py", line 58, in init Process ID=12200: File "clr_loader\netfx.py", line 47, in _get_callable Process ID=12200: RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\pGlyco3.1_build20231220\bin_internal\pythonnet\runtime\Python.Runtime.dll Process ID=12200: [25788] Failed to execute script 'parse_raw' due to unhandled exception!

dmbf0488 commented 6 months ago

image i got an error also using the new version my .net framework is 8.0.x

i used the pGlyco3.1_setup.exe and it works.Thank you