3D view of large 2D image in GL14
WARNING idle.py 349: _wxIdleLoop - Idle task doRefresh crashed - UnboundLocalError: local variable 'texDtype' referenced before assignment
Traceback (most recent call last):
File "fsl/utils/memoize.py", line 140, in __call__
KeyError: (None, <class 'numpy.uint32'>, 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "fsleyes_widgets/utils/status.py", line 160, in reportIfError
File "fsleyes_widgets/utils/status.py", line 181, in wrapper
File "fsleyes/gl/textures/texture.py", line 883, in genData
File "fsleyes/gl/textures/texture.py", line 1012, in __determineTextureType
File "fsl/utils/memoize.py", line 147, in __call__
File "fsleyes/gl/textures/data.py", line 328, in getTextureType
UnboundLocalError: local variable 'texDtype' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "fsl/utils/memoize.py", line 140, in __call__
KeyError: (None, <class 'numpy.uint32'>, 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "fsl/utils/idle.py", line 346, in _wxIdleLoop
File "fsleyes/gl/__init__.py", line 979, in doRefresh
File "fsleyes/gl/__init__.py", line 1132, in Refresh
File "fsleyes/gl/__init__.py", line 1035, in drawWrapper
File "fsleyes/gl/scene3dcanvas.py", line 607, in _draw
File "fsleyes/gl/glvolume.py", line 732, in draw3D
File "fsleyes/gl/textures/rendertexture.py", line 261, in shape
File "fsleyes/gl/textures/texture.py", line 664, in shape
File "fsleyes/gl/textures/texture.py", line 827, in set
File "fsleyes/gl/textures/texture.py", line 930, in refresh
File "fsleyes_widgets/utils/status.py", line 181, in wrapper
File "fsleyes/gl/textures/texture.py", line 883, in genData
File "fsleyes/gl/textures/texture.py", line 1012, in __determineTextureType
File "fsl/utils/memoize.py", line 147, in __call__
File "fsleyes/gl/textures/data.py", line 328, in getTextureType
UnboundLocalError: local variable 'texDtype' referenced before assignment
Edited by Paul McCarthy