Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when DISPLAY is empty #39

Open
vog opened this issue Sep 27, 2019 · 1 comment
Open

Failure when DISPLAY is empty #39

vog opened this issue Sep 27, 2019 · 1 comment

Comments

@vog
Copy link

vog commented Sep 27, 2019

This is possibly related to #27.

If DISPLAY is an empty string (rather than being unset), xvfbwrapper fails with the following exception:

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "/usr/lib/python3/dist-packages/xvfbwrapper.py", line 50, in __init__
    self.orig_display = os.environ['DISPLAY'].split(':')[1]
IndexError: list index out of range
@ags-dy
Copy link

ags-dy commented May 17, 2022

I am also affected by this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants