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
Errors when running scripts/xephyr #1425
Comments
Hmm, it seems the AttributeError exception is caused by the wrong order of installing dependencies, check out issue #994 |
Thank you, it is better now. I fixed the
I still get this traceback though:
And the xephyr window looks like this: The terminal within the window is working, but then the test suite gets a lot of ERROR and FAILED (and it's kinda slow, don't know if it's normal): % pytest
=============== test session starts ===============
platform linux -- Python 3.7.4,
pytest-5.1.2, py-1.8.0, pluggy-0.12.0 --
/home/pawamoy/data/isolated/virtualenvs/qtile/bin/python
cachedir: .pytest_cache
rootdir: /media/data/dev/forks/qtile,
inifile: setup.cfg, testpaths: test
plugins: cov-2.7.1
collected 380 items
test/test_bar.py::test_completion PASSED [ 0%]
test/test_bar.py::test_draw[GBConfig] ERROR [ 0%]
test/test_bar.py::test_prompt[GBConfig] ERROR [ 0%]
test/test_bar.py::test_event[GBConfig] ERROR [ 1%]
test/test_bar.py::test_textbox[GBConfig] ERROR [ 1%]
test/test_bar.py::test_textbox_errors[GBConfig] ERROR [ 1%]
test/test_bar.py::test_groupbox_button_press[GBConfig] ERROR [ 1%]
test/test_bar.py::test_geometry[GeomConf] ERROR [ 2%]
test/test_bar.py::test_resize[GeomConf] ERROR [ 2%]
test/test_bar.py::test_incompatible_widget FAILED [ 2%]
test/test_bar.py::test_multiple_stretches FAILED [ 2%]
test/test_bar.py::test_basic FAILED [ 3%]
test/test_bar.py::test_singlespacer FAILED [ 3%]
test/test_bar.py::test_nospacer FAILED [ 3%]
test/test_command.py::test_layout_filter[CallConfig] ERROR [ 3%]
test/test_command.py::test_doc PASSED [ 4%]
test/test_command.py::test_commands PASSED [ 4%]
test/test_command.py::test_command PASSED [ 4%]
test/test_command.py::test_cmd_commands[ServerConfig] ERROR [ 5%]
test/test_command.py::test_call_unknown[ServerConfig] ERROR [ 5%]
... |
It seems the errors are all caused by the same thing: Typical pytest log:
|
It took me about 50 minutes last time I ran the test suites with a docker container (Here is the Dockerfile in case you're interested ), and I tried to speed it up with
I encountered this before, you can patch it with #1404 . |
Alright, thank you very much @whatacold, I think I'm setup now 🙂 Your patch made the test suite work again. I'll close this issue and split it into new relevant ones. |
Just pasting the log if it talks to anybody.
I see missing fonts, unsupported keycode, error in cairo, and fatal error with xterm/x. Any idea how to fix that on my end? Did anyone encounter these kind of errors before?
The text was updated successfully, but these errors were encountered: