You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear community,
My problem is "can't use the class Viewer3d()from OCC.Display.OCCViewer import Viewer3d
viewer = Viewer3d() <-- Display3d.__init__(self) <-- _Visualization.Display3d_swiginit(self, _Visualization.new_Display3d()) RuntimeError: Aspect_DisplayConnectionDefinitionErrorCan not connect to the server "" raised from method Display3d of class Display3d
The version is pythonocc-core=7.7.2
I can do it in windows, but it can't work in linux. viewer = Viewer3d()
How to solve this problem for using in linux?
I wish for your help.
The text was updated successfully, but these errors were encountered:
Annoyingly though when I try to run this in a ubuntu:23.10 docker container with the exact same dependencies I get the above error. Would love to know a way around it so I can run workloads with it in docker.
Edit: I did actually get this working following this advice: #708 (comment)
The X virtual framebuffer (Xvfb) is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory.
Dear community,
My problem is "can't use the class
Viewer3d()
from OCC.Display.OCCViewer import Viewer3d
viewer = Viewer3d()
<--Display3d.__init__(self)
<--_Visualization.Display3d_swiginit(self, _Visualization.new_Display3d())
RuntimeError: Aspect_DisplayConnectionDefinitionErrorCan not connect to the server "" raised from method Display3d of class Display3d
The version is pythonocc-core=7.7.2
I can do it in windows, but it can't work in linux.
viewer = Viewer3d()
How to solve this problem for using in linux?
I wish for your help.
The text was updated successfully, but these errors were encountered: