-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Description
Ubuntu 20.04, Python 3.7.8
Installed with Miniconda3:
conda create -n cadquery
conda activate cadquery
conda install -c conda-forge -c cadquery cadquery=master cq-editor=master
When I start cq-editor the center rendering pane is empty and showing my desktop background, instead of showing a model. The Log viewer has the following messages:
[2021-03-12 04:37:23.147485] ERROR: CQ GUI: Uncaught exception occurred
Traceback (most recent call last):
File "/opt/miniconda3/envs/cadquery/lib/python3.7/site-packages/cq_editor/widgets/occt_widget.py", line 131, in paintEvent
self._initialize()
File "/opt/miniconda3/envs/cadquery/lib/python3.7/site-packages/cq_editor/widgets/occt_widget.py", line 153, in _initialize
self.view.SetWindow(wins.get(platform,self._get_window_linux)(self.winId()))
OCP.Aspect.Aspect_GraphicDeviceDefinitionError: OpenGl_Window::CreateWindow: glXCreateContext failed.
[2021-03-12 04:37:23.168568] ERROR: CQ GUI: Uncaught exception occurred
Traceback (most recent call last):
File "/opt/miniconda3/envs/cadquery/lib/python3.7/site-packages/cq_editor/widgets/occt_widget.py", line 131, in paintEvent
self._initialize()
File "/opt/miniconda3/envs/cadquery/lib/python3.7/site-packages/cq_editor/widgets/occt_widget.py", line 153, in _initialize
self.view.SetWindow(wins.get(platform,self._get_window_linux)(self.winId()))
OCP.Aspect.Aspect_GraphicDeviceDefinitionError: OpenGl_Window::CreateWindow: glXCreateContext failed.
I can edit models and do all normal actions with the editor, except that I can't actually see any models being rendered.
Here's a screenshot showing the problem:
Here's a copy of the full installation log:
cadquery-installation.log
Metadata
Metadata
Assignees
Labels
No labels
