Skip to content

FSLeyes AttributeError: 'NoneType' object has no attribute 'decode' #146

@k892050089

Description

@k892050089

After successful installing FSL on my ubuntun virtual machines, I encountered following error when launching fsleyes. And fsleyes has not been correctly loaded. Why I got these message? And how to solve this problem? Thanks!

kang@kang:~$ fsleyes
Traceback (most recent call last):
File "/home/kang/fsl/lib/python3.12/site-packages/fsleyes/gl/init.py", line 793, in create
ready()
File "/home/kang/fsl/lib/python3.12/site-packages/fsleyes/main.py", line 604, in realCallback
fslgl.bootstrap(namespace.glversion)
File "/home/kang/fsl/lib/python3.12/site-packages/fsleyes/gl/init.py", line 457, in bootstrap
glver = GL.glGetString(GL.GL_VERSION).decode('latin1').split()[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'decode'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions