xvfbwrapper
xvfbwrapper copied to clipboard
Manage headless displays with Xvfb (X virtual framebuffer)
``` [ 84s] [ 84s] ====================================================================== [ 84s] FAIL: test_start_fails_with_unknown_kwargs (test_xvfb.TestXvfb) [ 84s] ---------------------------------------------------------------------- [ 84s] Traceback (most recent call last): [ 84s] File "/home/abuild/rpmbuild/BUILD/xvfbwrapper-0.2.9/test_xvfb.py", line 89, in test_start_fails_with_unknown_kwargs [...
this code is from the start() method in xvfbwrapper.py: ``` # give Xvfb time to start time.sleep(self.__class__.SLEEP_TIME_BEFORE_START) ret_code = self.proc.poll() ``` It uses a fixed time.sleep(.1) to wait for Xvfb...
File "C:\Users\xxxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\xvfbwrapper.py", line 15, in import fcntl Using windows 11, and cant import.
I have already installed it in my conda environment, but when I use ```vdisplay = Xvfb()``` , I get this error `OSError: Can not find Xvfb. Please install it and...