vdemichev / DiaNN

DIA-NN - a universal automated software suite for DIA proteomics data analysis.
Other
283 stars 53 forks source link

Linux 'std::length_error' what(): basic_string::_M_create #1157

Closed Gambrian closed 2 months ago

Gambrian commented 2 months ago

Hello, since diann 1.9.1 can't display correctly when the OS language is set to Chinese. I tried to use the linux system as an alternative. But it also gave some errors, can you help me? Thanks a lot.

At the beginning, it reported "Thermo RAW file format not supported." But it can run on the windows version (I have tested the same data), I browsed diann's Issues, I changed its format to mzML, it worked. But when it started "Cross-Run Analysis", it gave some errors as follows:

[11:20] Cross-run analysis [11:20] Reading quantification information: 2 files [11:22] Quantifying peptides [11:28] Assembling protein groups [11:30] Quantifying proteins [11:30] Calculating q-values for protein and gene groups [11:30] Calculating global q-values for protein and gene groups [11:30] Protein groups with global q-value <= 0.01: 5051 [11:31] Compressed report saved to /mypath/report-first-pass.parquet. Use R 'arrow' or Python 'PyArrow' package to process [11:31] Writing report [11:33] Report saved to /mypath/report-first-pass.tsv. [11:33] Saving precursor levels matrix [11:33] Precursor levels matrix (1% precursor and protein group FDR) saved to /mypath/report-first-pass.pr_matrix.tsv. [11:33] Manifest saved to /mypath/report-first-pass.manifest.txt terminate called after throwing an instance of 'std::length_error' what(): basic_string::_M_create

I googled it and it told me that it is a common C++ error, but logs didn't report the cause of this error, so I need help, this is my environment:

Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
anyio                     4.4.0                    pypi_0    pypi
archspec                  0.2.3              pyhd8ed1ab_0    conda-forge
argon2-cffi               23.1.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0          py310h7f8727e_0    defaults
arrow                     1.3.0                    pypi_0    pypi
asttokens                 2.0.5              pyhd3eb1b0_0    defaults
async-lru                 2.0.4                    pypi_0    pypi
attrs                     24.2.0                   pypi_0    pypi
babel                     2.16.0                   pypi_0    pypi
beautifulsoup4            4.12.3          py310h06a4308_0    defaults
bleach                    6.1.0                    pypi_0    pypi
boltons                   24.0.0             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0           py310hc6cd4ac_1    conda-forge
bzip2                     1.0.8                hd590300_5    conda-forge
c-ares                    1.28.1               hd590300_0    conda-forge
ca-certificates           2024.7.2             h06a4308_0    defaults
certifi                   2024.7.4        py310h06a4308_0    defaults
cffi                      1.16.0          py310h2fee648_0    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
comm                      0.2.1           py310h06a4308_0    defaults
conda                     24.3.0          py310hff52083_0    conda-forge
conda-libmamba-solver     24.1.0             pyhd8ed1ab_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
debugpy                   1.6.7           py310h6a678d5_0    defaults
decorator                 5.1.1              pyhd3eb1b0_0    defaults
defusedxml                0.7.1              pyhd3eb1b0_0    defaults
distro                    1.9.0              pyhd8ed1ab_0    conda-forge
entrypoints               0.4             py310h06a4308_0    defaults
exceptiongroup            1.2.0           py310h06a4308_0    defaults
executing                 0.8.3              pyhd3eb1b0_0    defaults
fastjsonschema            2.20.0                   pypi_0    pypi
fmt                       10.2.1               h00ab1b0_0    conda-forge
fqdn                      1.5.1                    pypi_0    pypi
h11                       0.14.0                   pypi_0    pypi
httpcore                  1.0.5                    pypi_0    pypi
httpx                     0.27.0                   pypi_0    pypi
icu                       73.2                 h59595ed_0    conda-forge
idna                      3.6                pyhd8ed1ab_0    conda-forge
ipykernel                 6.29.5                   pypi_0    pypi
ipython                   8.25.0          py310h06a4308_0    defaults
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                8.1.5                    pypi_0    pypi
isoduration               20.11.0                  pypi_0    pypi
jedi                      0.19.1          py310h06a4308_0    defaults
jinja2                    3.1.4           py310h06a4308_0    defaults
json5                     0.9.25                   pypi_0    pypi
jsonpatch                 1.33               pyhd8ed1ab_0    conda-forge
jsonpointer               2.4             py310hff52083_3    conda-forge
jsonschema                4.23.0                   pypi_0    pypi
jsonschema-specifications 2023.12.1                pypi_0    pypi
jupyter                   1.0.0                    pypi_0    pypi
jupyter-console           6.6.3                    pypi_0    pypi
jupyter-lsp               2.2.5                    pypi_0    pypi
jupyter-server            2.14.2                   pypi_0    pypi
jupyter-server-terminals  0.5.3                    pypi_0    pypi
jupyter_client            7.4.9           py310h06a4308_0    defaults
jupyter_core              5.7.2           py310h06a4308_0    defaults
jupyter_events            0.10.0          py310h06a4308_0    defaults
jupyter_server            2.14.1          py310h06a4308_0    defaults
jupyter_server_terminals  0.4.4           py310h06a4308_1    defaults
jupyterlab                4.2.4                    pypi_0    pypi
jupyterlab-pygments       0.3.0                    pypi_0    pypi
jupyterlab-server         2.27.3                   pypi_0    pypi
jupyterlab-widgets        3.0.13                   pypi_0    pypi
jupyterlab_pygments       0.2.2           py310h06a4308_0    defaults
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.21.2               h659d440_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libarchive                3.7.2                h2aa1ff5_1    conda-forge
libcurl                   8.7.1                hca28451_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 hd590300_2    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 13.2.0               h807b86a_5    conda-forge
libgomp                   13.2.0               h807b86a_5    conda-forge
libiconv                  1.17                 hd590300_2    conda-forge
libmamba                  1.5.8                had39da4_0    conda-forge
libmambapy                1.5.8           py310h39ff949_0    conda-forge
libnghttp2                1.58.0               h47da74e_1    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libsodium                 1.0.18               h7b6447c_0    defaults
libsolv                   0.7.28               hfc55251_2    conda-forge
libsqlite                 3.45.2               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              13.2.0               h7e041cc_5    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libxml2                   2.12.6               h232c23b_1    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
mamba                     1.5.8           py310h51d5547_0    conda-forge
markupsafe                2.1.5                    pypi_0    pypi
matplotlib-inline         0.1.6           py310h06a4308_0    defaults
menuinst                  2.0.2           py310hff52083_0    conda-forge
mistune                   3.0.2                    pypi_0    pypi
nb_conda_kernels          2.3.1           py310h06a4308_0    defaults
nbclassic                 1.1.0           py310h06a4308_0    defaults
nbclient                  0.10.0                   pypi_0    pypi
nbconvert                 7.16.4               hd8ed1ab_1    conda-forge
nbconvert-core            7.16.4             pyhd8ed1ab_1    conda-forge
nbconvert-pandoc          7.16.4               hd8ed1ab_1    conda-forge
nbformat                  5.10.4                   pypi_0    pypi
ncurses                   6.4.20240210         h59595ed_0    conda-forge
nest-asyncio              1.6.0           py310h06a4308_0    defaults
notebook                  7.2.1                    pypi_0    pypi
notebook-shim             0.2.4                    pypi_0    pypi
openssl                   3.2.1                hd590300_1    conda-forge
overrides                 7.7.0                    pypi_0    pypi
packaging                 24.0               pyhd8ed1ab_0    conda-forge
pandoc                    2.12                 h06a4308_3    defaults
pandocfilters             1.5.1                    pypi_0    pypi
parso                     0.8.3              pyhd3eb1b0_0    defaults
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pip                       24.0               pyhd8ed1ab_0    conda-forge
platformdirs              4.2.0              pyhd8ed1ab_0    conda-forge
pluggy                    1.4.0              pyhd8ed1ab_0    conda-forge
prometheus-client         0.20.0                   pypi_0    pypi
prometheus_client         0.14.1          py310h06a4308_0    defaults
prompt-toolkit            3.0.43          py310h06a4308_0    defaults
prompt_toolkit            3.0.43               hd3eb1b0_0    defaults
psutil                    5.9.0           py310h5eee18b_0    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pure_eval                 0.2.2              pyhd3eb1b0_0    defaults
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.6           py310h2372a71_0    conda-forge
pycparser                 2.22               pyhd8ed1ab_0    conda-forge
pygments                  2.15.1          py310h06a4308_1    defaults
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.10.14         hd12c33a_0_cpython    conda-forge
python-dateutil           2.9.0post0      py310h06a4308_2    defaults
python-fastjsonschema     2.16.2          py310h06a4308_0    defaults
python-json-logger        2.0.7           py310h06a4308_0    defaults
python_abi                3.10                    4_cp310    conda-forge
pyyaml                    6.0.2                    pypi_0    pypi
pyzmq                     25.1.2          py310h6a678d5_0    defaults
qtconsole                 5.5.2                    pypi_0    pypi
qtpy                      2.4.1                    pypi_0    pypi
readline                  8.2                  h8228510_1    conda-forge
referencing               0.35.1                   pypi_0    pypi
reproc                    14.2.4.post0         hd590300_1    conda-forge
reproc-cpp                14.2.4.post0         h59595ed_1    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
rfc3339-validator         0.1.4           py310h06a4308_0    defaults
rfc3986-validator         0.1.1           py310h06a4308_0    defaults
rpds-py                   0.20.0                   pypi_0    pypi
ruamel.yaml               0.18.6          py310h2372a71_0    conda-forge
ruamel.yaml.clib          0.2.8           py310h2372a71_0    conda-forge
send2trash                1.8.3                    pypi_0    pypi
setuptools                69.5.1             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyhd3eb1b0_1    defaults
sniffio                   1.3.1                    pypi_0    pypi
soupsieve                 2.6                      pypi_0    pypi
stack_data                0.2.0              pyhd3eb1b0_0    defaults
terminado                 0.18.1                   pypi_0    pypi
tinycss2                  1.3.0                    pypi_0    pypi
tk                        8.6.13          noxft_h4845f30_101    conda-forge
tomli                     2.0.1                    pypi_0    pypi
tornado                   6.4.1           py310h5eee18b_0    defaults
tqdm                      4.66.2             pyhd8ed1ab_0    conda-forge
traitlets                 5.14.3          py310h06a4308_0    defaults
truststore                0.8.0              pyhd8ed1ab_0    conda-forge
types-python-dateutil     2.9.0.20240821           pypi_0    pypi
typing-extensions         4.11.0          py310h06a4308_0    defaults
typing_extensions         4.11.0          py310h06a4308_0    defaults
tzdata                    2024a                h0c530f3_0    conda-forge
uri-template              1.3.0                    pypi_0    pypi
urllib3                   2.2.1              pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webcolors                 24.8.0                   pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
websocket-client          1.8.0           py310h06a4308_0    defaults
wheel                     0.43.0             pyhd8ed1ab_1    conda-forge
widgetsnbextension        4.0.13                   pypi_0    pypi
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7b6447c_0    defaults
yaml-cpp                  0.8.0                h59595ed_0    conda-forge
zeromq                    4.3.5                h6a678d5_0    defaults
zstandard                 0.22.0          py310h1275a96_0    conda-forge
zstd                      1.5.5                hfc55251_0    conda-forge
vdemichev commented 2 months ago

Hi,

This is a known error on Linux, will be fixed in 1.9.2. Currently, please just disable matrix output (i.e. don't use --matrices) when analysing on Linux.

Best, Vadim

Gambrian commented 2 months ago

It worked , thanks! Looking forward to updates.

Best