vedo icon indicating copy to clipboard operation
vedo copied to clipboard

Bug: mesh.thumbnail hangs in docker container

Open JeffreyWardman opened this issue 1 year ago • 3 comments

I cannot run a pipeline in a docker container that takes a screenshot of the mesh.

JeffreyWardman avatar Apr 05 '24 01:04 JeffreyWardman

Have you started the xvffb? https://vedo.embl.es/autodocs/content/vedo/vedo/settings.html#Settings.start_xvfb

Also: https://vedo.embl.es/autodocs/content/vedo/vedo.html#running-in-a-docker-container

marcomusy avatar Apr 05 '24 18:04 marcomusy

starting xvfb (can take a minute) .../usr/bin/Xvfb
 xvfb started.
2024-04-08 02:23:28.772 (   4.613s) [    7F1F70AE9000]vtkXOpenGLRenderWindow.:456    ERR| vtkXOpenGLRenderWindow (0x55a69c64b300): bad X server connection. DISPLAY=99.0. Aborting.

It looks like running it in VSCode in debug mode doesn't work because set_xvfb.sh does not store the information in the debugger when it's run as a prelaunch task

JeffreyWardman avatar Apr 08 '24 02:04 JeffreyWardman

to be honest I'm not familiar enough with the xvbf machinery ... :(

marcomusy avatar Apr 09 '24 17:04 marcomusy