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

Get ScreenShot Error under docker. #29

Open
lyyiangang opened this issue Apr 22, 2019 · 0 comments
Open

Get ScreenShot Error under docker. #29

lyyiangang opened this issue Apr 22, 2019 · 0 comments

Comments

@lyyiangang
Copy link

Hi Sir,

When I run python3 main.py in docker, I get following errors.

root@2e21e243668f:~/project/deepeye/src# python main.py
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/root/project/deepeye/src/driving_assistant/user_interface/GUI.py", line 700, in mainLoop
    window_height = height)
  File "/root/project/deepeye/src/driving_assistant/DrivingAssistant.py", line 69, in __init__
    self.window_manager = mss.mss()
  File "/usr/local/lib/python3.5/dist-packages/mss/factory.py", line 38, in mss
    return MSS(**kwargs)
  File "/usr/local/lib/python3.5/dist-packages/mss/linux.py", line 209, in __init__
    raise ScreenShotError("No Xrandr extension found.")
mss.exception.ScreenShotError: No Xrandr extension found.
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

1 participant