-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I recently ran into an issue where someone had permission issues with Xvfb and it couldn't start up. It seems this line caused an infinite loop in that case, but it was hard to tell what the issue was at first:
sphinxcontrib-drawio/sphinxcontrib/drawio/__init__.py
Lines 298 to 299 in 1f6d77c
| while fp.tell() == 0: | |
| sleep(0.01) # wait for Xvfb to start up |
I'm not quite sure the best approach, but do you think it would be a good idea to add a counter in the loop and output a "Xvfb is having difficulty starting" log message if it goes over a generous amount? I also don't know if it's possible (or a good idea) to kill the Sphinx process at the same time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels