Package Details: fsleyes 1.12.6-1

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.000000
First Submitted: 2017-10-11 11:10 (UTC)
Last Updated: 2024-10-12 17:21 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

tobac commented on 2021-05-04 12:46 (UTC)

Fixed in fsleyes*; thanks.

keiichiiownsu12 commented on 2021-05-03 23:31 (UTC) (edited on 2021-05-03 23:41 (UTC) by keiichiiownsu12)

Source URL, https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/repository/archive.tar.gz?ref=${pkgver}, redirects towards a login page. This URL, https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz, allows the tar.gz file to be downloaded.

A similar issue appears to be affecting the fslpy package as well...

keiichiiownsu12 commented on 2020-12-08 02:14 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC) (edited on 2020-11-03 14:18 (UTC) by Feakster)

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 (UTC)

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

Feakster commented on 2020-09-29 17:17 (UTC)

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 (UTC) (edited on 2020-09-29 16:12 (UTC) by Feakster)

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.