-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Lots of "XIO: fatal IO error 0 (Success)" errors when running tests under Xvfb #17085
Comments
This will be fixed once we manage to make our test suite pass with PyQt 5.15. |
That will be amazing, thanks! Most of the test suite does pass already with PyQt 5.15.2, as I have discovered; I think I've reported all of the "obviously" failing tests. Please do let me know if there's anything I can do to help; once the nbconvert bug (jupyter/nbconvert#1685) is resolved, it would be great to get Spyder 5.x into Debian! |
Hi just recently I learnt of spyder python IDE. I was quite impressed with the layout and its functionality and its ipython console. However when I tried running it remotely executed from my CentOS machine connected from my ubuntu notebook I get the following error: (20:37 admpy@ThermalBox anaconda3) > bin/spyder
|
Hi @juliangilbey I was checking this and seems like uninstalling or deactivating spyder/.github/scripts/install.sh Lines 36 to 37 in b3c292d
Could you check if that helps? Also, hi @admanero thank you for your feeback! I'm not totally sure but maybe it could be caused by the Spyder screen resolution preferences set on your CentOS machine. It could be also related with incompatibility with drivers or graphics cards as in #8057 . If you get any other info let us know! |
Hi @dalthviz - thanks, that's it exactly - good catch! Removing |
It'll be closed when PR #16409 is merged. |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
When I run the whole test suite or almost any collection of tests within it under
xvfb
(as I have to in the non-interactive testingautopkgtest
environment), I consistently get an error at the very end like the following:That means that I can't actually determine easily whether the tests have been successful or not, as this error causes
pytest
to exit with an error code whether or not all of the individual tests have passed; this is clearly a spurious error. It is also well-known: The-Compiler/pytest-xvfb#11. The best suggestion there so far is to ensure that all windows are closed before finishing the test. This probably affects hundreds of the tests in the spyder test suite, so I wonder whether there is an easy way to close all open windows inconftest.py
, perhaps using some sort of general teardown function that applies to every test? I don't yet know enough about howqtbot
etc works to be able to do this myself, I'm afraid, but it would be a right pain to have to modify every single test to achieve this. Do you have any ideas?What steps reproduce the problem?
(possibly with some tests excluded; I also have to specify the HOME directory and some other inconsequential tweaks).
A smaller example is this; here
/tmp/tmp.lzQBAqxWji
is a temporary initially-empty directory created for this set of tests:Versions
Dependencies
The text was updated successfully, but these errors were encountered: