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

GLFW is not initialized #3

Closed
MaximilianKindshofer opened this issue Jan 7, 2017 · 1 comment
Closed

GLFW is not initialized #3

MaximilianKindshofer opened this issue Jan 7, 2017 · 1 comment

Comments

@MaximilianKindshofer
Copy link
Contributor

MaximilianKindshofer commented Jan 7, 2017

I tried to start kitty but I got:

python3 kitty
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "kitty/__main__.py", line 7, in <module>
    main()
  File "kitty/kitty/main.py", line 147, in main
    run_app(opts, args)
  File "kitty/kitty/main.py", line 92, in run_app
    boss = Boss(window, opts, args)
  File "kitty/kitty/boss.py", line 88, in __init__
    cell_size.width, cell_size.height = set_font_family(opts.font_family, opts.font_size)
  File "kitty/kitty/fonts/freetype.py", line 61, in set_font_family
    dpi = get_logical_dpi()
  File "kitty/kitty/utils.py", line 48, in get_logical_dpi
    raw = subprocess.check_output(['xdpyinfo']).decode('utf-8')
  File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 693, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'xdpyinfo'
[glfw error]  The GLFW library is not initialized

@kovidgoyal
Copy link
Owner

Install xdpyinfo and you will be fine (I should add it to the dependencies, but I was unaware that any X11 based system came without it already installed).

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