Package Details: fsleyes 0.34.2-3

Git Clone URL: https://aur.archlinux.org/fsleyes.git (read-only, click to copy)
Package Base: fsleyes
Description: FSLeyes is the FSL image viewer
Upstream URL: https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes
Licenses: Apache
Submitter: tobac
Maintainer: tobac
Last Packager: tobac
Votes: 5
Popularity: 0.139727
First Submitted: 2017-10-11 11:10
Last Updated: 2020-11-22 21:01

Latest Comments

1 2 3 4 Next › Last »

keiichiiownsu12 commented on 2020-12-08 02:14

Thanks @tobac. Looks like reinstalling previous aur python packages (haphazardly installed them all) did the trick. There was also an issue about a missing "dataclasses" module. Reinstalling python-dataclasses fixed said issue.

tobac commented on 2020-12-05 10:54

@keiichiiownsu12: Yes, previous Python packages from the AUR need to be reinstalled, including fslpy, which (probably) causes your error.

keiichiiownsu12 commented on 2020-12-03 22:03

Hello,

After a recent python update, the console has been displaying the following error when starting fsleyes (using X11):

Traceback (most recent call last):
  File "/usr/bin/fsleyes", line 33, in <module>
    sys.exit(load_entry_point('fsleyes==0.34.2', 'gui_scripts', 'fsleyes')())
  File "/usr/bin/fsleyes", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/fsleyes/__init__.py", line 206, in <module>
    from   fsl.utils.platform import platform as fslplatform
ModuleNotFoundError: No module named 'fsl'

Thought the "fsl" module was found in nipype. Installed nipype via pip, but that did not solve anything. Should I maybe reinstall previous python packages?

Feakster commented on 2020-11-02 14:57

Would it be possible to make a patch that creates a small shell script to launch fsleyes after setting the following environmental variable:

GDK_BACKEND=x11

This would then allow fsleyes to run under XWayland on Wayland desktop sessions.

Alternatively, some sort of alias might work:

alias fsleyes='GDK_BACKEND=x11 fsleyes'

EDIT: On second thoughts I'm not sure this is such a good idea. However, I'll leave my initial suggestions up here in case anyone is struggling to run this on Wayland.

tobac commented on 2020-09-29 18:35

Thanks for pointing these two issues out. Fixed in 0.34.2-2.

Feakster commented on 2020-09-29 17:17

I also received the following error when trying to reinstall fsleyes:

==> ERROR: Failure while downloading https://git.fmrib.ox.ac.uk/uploads/-/system/group/avatar/85/icon_512x512.png
    Aborting...

Feakster commented on 2020-09-29 16:11

Hi @tobac,

Just tried to run fsleyes for the first time since the update. It wouldn't launch, and threw this error when launched from the terminal:

Traceback (most recent call last):
  File "/usr/bin/fsleyes", line 33, in <module>
    sys.exit(load_entry_point('fsleyes==0.34.2', 'gui_scripts', 'fsleyes')())
  File "/usr/lib/python3.8/site-packages/fsleyes/filtermain.py", line 204, in main
    result = fm.main(args)
  File "/usr/lib/python3.8/site-packages/fsleyes/main.py", line 214, in main
    fsleyes.initialise()
  File "/usr/lib/python3.8/site-packages/fsleyes/__init__.py", line 253, in initialise
    import fsleyes.plugins as plugins
  File "/usr/lib/python3.8/site-packages/fsleyes/plugins.py", line 173, in <module>
    import            pkg_resources
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3239, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 567, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 884, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 770, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'certifi>=2020.06.20' distribution was not found and is required by matplotlib

I installed python-certifi via pacman, then all was well. You should probably add the package to the depends array of the PKGBUILD.

Feakster commented on 2020-04-09 10:51

Seems like you're running Wayland. Have you tried reverting back to Xorg?

My bad. You're right. All was fine. I was just using Wayland instead of Xorg.

tobac commented on 2020-04-08 19:03

Seems like you're running Wayland. Have you tried reverting back to Xorg?

Feakster commented on 2020-04-08 08:27

On startup or in a specific usage situation?

It's on startup.

Have you tried reinstalling fslpy/fsleyes?

I've just tried reinstalling both fslpy and fsleyes. Get the following output when running fsleyes from the terminal:

Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.
Gdk-Message: 09:21:26.819: Window 0x562a3a8dc2b0 is a temporary window without parent, application will not be able to position it on screen.

Segmentation fault (core dumped)