-
Notifications
You must be signed in to change notification settings - Fork 29
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
BUG: Launching cmpbidsappmanager v3.0.4 fails on Ubuntu #206
Comments
Dear Milad, Checking at some forums such as https://bbs.archlinux.org/viewtopic.php?id=259275, it seems that this might be caused by conflicting versions of PyQt5 or Qt5. I suspect that mrtrix3 is installing its own version, which might conflict with the version installed explicitly in the connectomemapper3/conda/environment.yml Line 25 in 2ce5619
Please could you tell me what the output is when you enter in the terminal with the environment activated I am gonna try to reproduce it on my end and compare the list of packages. Best |
Dear Sebastian Thanks for your answer. The command's outputs are as following: (py37cmp-gui) sn@mph5:~$ conda list packages in environment at /home/sn/miniconda3/envs/py37cmp-gui:Name Version Build Channel_libgcc_mutex 0.1 conda_forge conda-forge Best regards, -Milad |
Thanks Milad! It seems there is some variations in the version that can explain why it raised the error on your ubuntu machine. What is surprising is that a similar environment in working on Mac (See similar issue #171) i tried to install the environment in a VM with Ubuntu 20.04 that I already has using the version corresponding to the v3.0.4 release: $ conda env create --debug -f environment.yml which indeed failed to complete, with a different error, though. I did hang for some time with the following output and interrupted at some point with no error message 🤔:
By investigating one by one each package of the environment, it seems that In the end, I managed to complete the whole installation and launch the GUI. Here is the content of my new
Please could you test it on your side?
Let me know if this works, and I will proceed with a pull request that integrates the changes. And if so, you can remove your old $ conda env remove -n py37cmp-gui |
Dear Sebastian Sorry for delay in responding and thanks to your helps But the problem remains and I have some errors when trying to create the new py39cmp-gui environment. Here are the errors: mn@mn-HP-Z840-Workstation:~$ conda env create -f /home/mn/environment.yml Pip subprocess error: × Getting requirements to build wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. failed CondaEnvException: Pip failed I also tried to obtain outputs of "conda list -n py39cmp-gui" command. Here are the outputs: (py39cmp-gui) mn@mn-HP-Z840-Workstation:~$ conda list -n py39cmp-gui packages in environment at /home/mn/miniconda3/envs/py39cmp-gui:Name Version Build Channel_libgcc_mutex 0.1 conda_forge conda-forge How can I solve this problem? Thanks in advance to your helps Best regards, -Milad |
Dear Sebastian
I tried to update the cmp3 to the latest version (v3.0.4) in another PC ( Ubuntu 18.04, 64 GB RAM) and followed all the installation steps. After completing the installation, There is an error when running the GUI as follow :
Connectome Mapper v3.0.4 - BIDS App Manager
Copyright (C) 2009-2022, Ecole Polytechnique Federale de Lausanne (EPFL) the University Hospital Center and University of Lausanne (UNIL-CHUV), Switzerland, and Contributors, All rights reserved.
.. INFO: Use qt (5.15.2) / pyqt5 (5.15.6) for graphical backend
Fatal Python error: Segmentation fault
Current thread 0x00007f0bb680d740 (most recent call first):
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/ui_base.py", line 321 in display_ui
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/ui_live.py", line 75 in _ui_dialog
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/ui_live.py", line 53 in ui_live
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/toolkit.py", line 173 in ui_live
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/ui.py", line 238 in ui
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/view.py", line 454 in ui
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/extra/qt_view.py", line 61 in ui
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/view_application.py", line 136 in init
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/view_application.py", line 94 in view_application
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traitsui/qt4/toolkit.py", line 243 in view_application
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/traits/has_traits.py", line 2181 in configure_traits
File "/home/sn/miniconda3/envs/py37cmp-gui/lib/python3.7/site-packages/cmp/cli/cmpbidsappmanager.py", line 160 in main
File "/home/sn/miniconda3/envs/py37cmp-gui/bin/cmpbidsappmanager", line 8 in
Segmentation fault (core dumped)
Do you have any suggestion on how to solve this error?
Thanks in advance to your helps,
Best regards,
-Milad
The text was updated successfully, but these errors were encountered: