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

localrunner перестал работать с --no-gui на безголовом сервере #324

Open
ivan-filonov opened this issue Aug 7, 2019 · 0 comments

Comments

@ivan-filonov
Copy link

ivan-filonov commented Aug 7, 2019

Появилось с: 92d611e
Дано: безголовый сервер с ubuntu 18.04, localrunner
Действие: запуск localrunner с --no-gui
Ошибка:
Traceback (most recent call last): File "./localrunner.py", line 9, in <module> from pyglet.gl import * File "/home/user/.local/lib/python3.7/site-packages/pyglet/gl/__init__.py", line 239, in <module> import pyglet.window File "/home/user/.local/lib/python3.7/site-packages/pyglet/window/__init__.py", line 1896, in <module> gl._create_shadow_window() File "/home/user/.local/lib/python3.7/site-packages/pyglet/gl/__init__.py", line 208, in _create_shadow_window _shadow_window = Window(width=1, height=1, visible=False) File "/home/user/.local/lib/python3.7/site-packages/pyglet/window/xlib/__init__.py", line 166, in __init__ super(XlibWindow, self).__init__(*args, **kwargs) File "/home/user/.local/lib/python3.7/site-packages/pyglet/window/__init__.py", line 501, in __init__ display = get_platform().get_default_display() File "/home/user/.local/lib/python3.7/site-packages/pyglet/window/__init__.py", line 1845, in get_default_display return pyglet.canvas.get_display() File "/home/user/.local/lib/python3.7/site-packages/pyglet/canvas/__init__.py", line 82, in get_display return Display() File "/home/user/.local/lib/python3.7/site-packages/pyglet/canvas/xlib.py", line 86, in __init__ raise NoSuchDisplayException('Cannot connect to "%s"' % name) pyglet.canvas.xlib.NoSuchDisplayException: Cannot connect to "None"

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