Skip to content

AttributeError: 'PyQt5Window' object has no attribute '_ctx' #219

@Julius-ZCJ

Description

@Julius-ZCJ

Here is my python env:
moderngl 5.12.0
moderngl-window 3.1.1
pyglet 2.1.4
pyglm 2.8.2
PyOpenGL 3.1.9
PyOpenGL-accelerate 3.1.9
PyQt5 5.15.11
PyQt5-Qt5 5.15.16
PyQt5_sip 12.17.0
PySocks 1.7.1
PyWavelets 1.6.0
aitviewer 1.13.0
chumpy 0.70

When I aitviewer to show a simulation interface, then I got this error:
Traceback (most recent call last):
File "/home/xxx/miniconda3/envs/torch_gpu/lib/python3.9/site-packages/moderngl_window/context/pyqt5/window.py", line 237, in resize
if self._ctx:
AttributeError: 'PyQt5Window' object has no attribute '_ctx'

I search "self._ctx" in window.py, and not find define code

what can I do to fix this bug?
thanks

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