question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug When I first installed ADS a few months ago, I remember trying out fsleyes and installing the plugin. Everything worked fine from what I recall. I volunteered to write some doc for the plugin (#473) but now I can’t open fsleyes anymore… I get the following error:

Traceback (most recent call last):
  File "/home/herman/.conda/envs/ads_venv/lib/python3.7/site-packages/fsl/utils/idle.py", line 576, in __idleLoop
    task.task(*task.args, **task.kwargs)
  File "/home/herman/.conda/envs/ads_venv/lib/python3.7/site-packages/fsleyes/gl/__init__.py", line 612, in create
    self.__createWXGLContext()
  File "/home/herman/.conda/envs/ads_venv/lib/python3.7/site-packages/fsleyes/gl/__init__.py", line 746, in __createWXGLContext
    self.__context = wxgl.GLContext(self.__canvas)
wx._core.wxAssertionError: C++ assertion ""tempContext"" failed at /home/conda/feedstock_root/build_artifacts/wxpython_1616628589829/work/ext/wxWidgets/src/unix/glx11.cpp(498) in wxGLContext(): glXCreateContext failed

To Reproduce

$ conda activate ads_venv
$ fsleyes

Platform (please complete the following information):

  • OS: Manjaro 21.0.7 Ornara (kernel: x86_64 Linux 5.10.35-1-rt39-MANJARO)
  • AxonDeepSeg version number: 3.2.0 (master)

I am aware that there are issues installing fsleyes on Linux. I feel like I’m in a deadend right now because there doesn’t seem to be a pre-release wxPython build for my distro and getting it up and running looks like a potential nightmare. I’ll update this issue if I find anything useful.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jcohenadadcommented, Jul 30, 2021

is fsleyes really the GUI option we want to maintain? I know there were efforts to find a more stable software for ADS integration.

nope! 😊 see: #404

I was told fsleyes is still somewhat widely used, so maybe it is still a good approach.

it depends on the community. It is widely used by the MRI community and it is absolutely not used by the microscopy community. As @Stoyan-I-A said in https://github.com/neuropoly/axondeepseg/issues/544#issuecomment-889929672 we used FSLeyes because we know it, but it is not a good enough reason to keep it if it is not a good long term solution.

1reaction
Stoyan-I-Acommented, Jul 30, 2021

is fsleyes really the GUI option we want to maintain?

Ideally, no. I would prefer something with more compatibility across operating systems.

FSLeyes was used because it was fairly simple to integrate ADS on it as a plugin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting — FSLeyes 1.5.0 documentation
This page describes some problems which you may encounter when using FSLeyes. If you are having a problem which is not listed here,...
Read more >
FSLeyes on Twitter: "@blaisefrederick Good to hear you fixed ...
A new FSLeyes is out, with some fixes and small new features: depth picking on ... with the libffi package - downgrading it...
Read more >
Problem with FSLeyes - SCT - Spinalcordmri.org
In order to do that I write the command: fsleyes & Commands and ... script /home/ali/sct/contrib/fsl_integration/sct_plugin.py has crashed!
Read more >
FSL Archives - JISCMail
Re: GUI crashing issues on version 6.0.4 ... limited graphics capabilities (but has no problem running graphical applications like FSLeyes)
Read more >
MRview crashing on big sur - MRtrix3 Community
After restarting mrview crashes everytime, as does freeview from Freesurfer. fsleyes is not doing this issue.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found