Skip to content

OpenGl no Context problem in ewoks3dxrd (that uses orange3) #4440

@abmajith

Description

@abmajith

------------------------------- Error Exception -------------------------------
Traceback (most recent call last):
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/silx/gui/_glutils/OpenGLWidget.py", line 237, in paintGL
parent.paintGL()
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/silx/gui/plot/backends/BackendOpenGL.py", line 466, in paintGL
self._paintFBOGL()
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/silx/gui/plot/backends/BackendOpenGL.py", line 399, in _paintFBOGL
self._plotFrame.render()
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/silx/gui/plot/backends/glutils/GLPlotFrame.py", line 784, in render
label.render(matProj, self.dotsPerInch)
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/silx/gui/plot/backends/glutils/GLText.py", line 278, in render
gl.glVertexAttribPointer(posAttrib, 2, gl.GL_FLOAT, gl.GL_FALSE, 0, vertices)
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/OpenGL/latebind.py", line 63, in call
return self.wrapperFunction( self.baseFunction, *args, **named )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 515, in glVertexAttribPointer
contextdata.setValue(key, array)
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
^^^^^^^^^^^^^^^^^^^^^
File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/OpenGL/contextdata.py", line 40, in getContext
raise error.Error(
OpenGL.error.Error: Attempt to retrieve context when no valid context

our environment (python)
annotated-types==0.7.0
anyio==4.11.0
AnyQt==0.2.1
asttokens==3.0.0
attrs==25.4.0
baycomp==1.0.3
Bottleneck==1.6.0
bslz4-to-sparse==0.0.15
cattrs==25.3.0
certifi==2025.10.5
cffi==2.0.0
chardet==5.2.0
charset-normalizer==3.4.4
click==8.3.0
cloudpickle==3.1.1
comm==0.2.3
commonmark==0.9.1
contourpy==1.3.3
cryptography==46.0.3
cycler==0.12.1
dask==2025.10.0
debugpy==1.8.17
decorator==5.2.1
dictdiffer==0.9.0
diffpy.structure==3.3.1
docutils==0.22.2
et_xmlfile==2.0.0
ewoks==2.0.1
-e git+ssh://git@gitlab.esrf.fr/workflow/ewoksapps/ewoks3dxrd.git@ac1239bf8854900fda8764b07b65c0f9d08524ec#egg=ewoks3dxrd
ewokscore==2.0.0
ewoksorange==2.0.1
ewoksutils==1.5.1
executing==2.2.1
fabio==2024.9.0
fast-histogram==0.14
fonttools==4.60.1
fsspec==2025.9.0
h11==0.16.0
h5py==3.15.1
hdf5plugin==6.0.0
httpcore==1.0.9
httpx==0.28.1
idna==3.11
ImageD11==2.1.2
imageio==2.37.0
iniconfig==2.3.0
ipykernel==7.0.1
ipython==9.6.0
ipython_pygments_lexers==1.1.1
jaraco.classes==3.4.0
jaraco.context==6.0.1
jaraco.functools==4.3.0
jedi==0.19.2
jeepney==0.9.0
joblib==1.5.2
jupyter_client==8.6.3
jupyter_core==5.9.1
keyring==25.6.0
keyrings.alt==5.0.2
kiwisolver==1.4.9
lazy_loader==0.4
llvmlite==0.45.1
locket==1.0.0
lxml==6.0.2
matplotlib==3.10.7
matplotlib-inline==0.2.1
matplotlib-scalebar==0.9.0
more-itertools==10.8.0
nest-asyncio==1.6.0
networkx==3.5
numba==0.62.1
numexpr==2.14.1
numpy==2.3.4
openpyxl==3.1.5
openTSNE==1.0.2
orange-canvas-core==0.2.6
orange-widget-base==4.26.0
Orange3==3.39.0
orix==0.13.3
packaging==25.0
pandas==2.3.3
parso==0.8.5
partd==1.4.2
pexpect==4.9.0
pillow==12.0.0
platformdirs==4.5.0
pluggy==1.6.0
ply==3.11
pooch==1.8.2
prettytable==3.16.0
prompt_toolkit==3.0.52
psutil==7.1.1
ptyprocess==0.7.0
pure_eval==0.2.3
PyCifRW==5.0.1
pycparser==2.23
pydantic==2.12.3
pydantic_core==2.41.4
pyFAI==2025.3.0
Pygments==2.19.2
PyOpenGL==3.1.10
pyopengltk==0.0.4
pyparsing==3.2.5
PyQt5==5.15.11
PyQt5-Qt5==5.15.17
PyQt5_sip==12.17.1
PyQt6==6.9.1
PyQt6-Qt6==6.9.2
PyQt6_sip==13.10.2
pyqtgraph==0.13.7
pytest==8.4.2
python-dateutil==2.9.0.post0
python-louvain==0.16
pytz==2025.2
PyYAML==6.0.3
pyzmq==27.1.0
qasync==0.28.0
QtAwesome==1.4.0
qtconsole==5.7.0
QtPy==2.4.3
requests==2.32.5
requests-cache==1.2.1
scikit-image==0.25.2
scikit-learn==1.7.2
scipy==1.16.2
SecretStorage==3.4.0
serverfiles==0.3.1
setuptools==80.9.0
silx==2.2.2
six==1.17.0
sniffio==1.3.1
stack-data==0.6.3
tabulate==0.9.0
threadpoolctl==3.6.0
tifffile==2025.10.16
toolz==1.1.0
tornado==6.5.2
tqdm==4.67.1
traitlets==5.14.3
truststore==0.10.4
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.2
url-normalize==2.2.1
urllib3==2.5.0
wcwidth==0.2.14
xfab==0.0.6
xgboost==2.0.3
xlrd==2.0.2
xlsxwriter==3.2.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions