Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Try running GUI tests on all platforms on Azure.#16921

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
anntzer wants to merge2 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromanntzer:azureguitests

Conversation

anntzer
Copy link
Contributor

@anntzeranntzer commentedMar 26, 2020
edited
Loading

... including the osx backend on osx.

-- just doing some test runs on azure for now.

Edit: looks like macos works "as is" on travis, so let's split that out first.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@QuLogic
Copy link
Member

On Windows, the error seems to be that thesigint test times out. On Linux, the error appears to be:

----------------------------- Captured stderr call -----------------------------qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.Fatal Python error: AbortedCurrent thread 0x00007ff66bc72740 (most recent call first):  File "/home/vsts/work/1/s/lib/matplotlib/backends/backend_qt.py", line 145 in _create_qApp  File "/home/vsts/work/1/s/lib/matplotlib/backends/backend_qt.py", line 206 in __init__  File "/home/vsts/work/1/s/lib/matplotlib/backend_bases.py", line 2849 in create_with_canvas  File "/home/vsts/work/1/s/lib/matplotlib/backend_bases.py", line 1722 in new_manager  File "/home/vsts/work/1/s/lib/matplotlib/backend_bases.py", line 3572 in new_figure_manager_given_figure  File "/home/vsts/work/1/s/lib/matplotlib/backend_bases.py", line 3567 in new_figure_manager  File "/home/vsts/work/1/s/lib/matplotlib/pyplot.py", line 383 in new_figure_manager  File "/home/vsts/work/1/s/lib/matplotlib/pyplot.py", line 807 in figure  File "/home/vsts/work/1/s/lib/matplotlib/_api/deprecation.py", line 454 in wrapper  File "<string>", line 20 in _test_sigint_impl  File "<string>", line 34 in <module>Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, matplotlib._c_internal_utils, PIL._imaging, matplotlib._path, kiwisolver._cext, matplotlib._image, PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets (total: 21)

Are we using system Qt? Do we just need to install something else?

@anntzer
Copy link
ContributorAuthor

anntzer commentedDec 15, 2022
edited
Loading

let's see if qt_debug_plugins can tell us something.
edit: I saw it complain that libxcb-icccm4 was missing; I installed it but now the subprocess just crashes.

@QuLogic
Copy link
Member

It's the same crash, I think, just with a different library:

QLibraryPrivate::loadPlugin failed on "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so" : "Cannot load library /opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so: (libxcb-image.so.0: cannot open shared object file: No such file or directory)"

@QuLogic
Copy link
Member

QuLogic commentedDec 17, 2022
edited
Loading

Now it's

Cannot load library /opt/hostedtoolcache/Python/3.10.9/x64/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so: (libxcb-keysyms.so.1: cannot open shared object file: No such file or directory)

I couldn't find alibxcb that might install all of them. Maybe'libxcb-*0' 'libxcb-*1' 'libxcb-*2' is good enough? Unfortunately,libxcb-* would also install a bunch of-dev and doc tools.

@QuLogic
Copy link
Member

Actually, looking atrdepends, maybe you can installlibqt5gui5 which will get everything that Qt needs?

@anntzer
Copy link
ContributorAuthor

@QuLogic Can you take over this PR? TBH I had kind of abandoned it... (Or close it and reopen another one yourself.)

@QuLogicQuLogicforce-pushed theazureguitests branch 2 times, most recently fromb57419a to6137069CompareDecember 20, 2022 09:57
@QuLogic
Copy link
Member

QuLogic commentedDec 22, 2022
edited
Loading

I'm not sure why only one test crashes in_create_qApp, but perhaps this is something related to the Qt problem in the#24770.

On Windows, it looks like our SIGINT handler (or at least its trigger in the test) isn't working somehow.

@github-actions
Copy link

Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it.

@github-actionsgithub-actionsbot added the status: inactiveMarked by the “Stale” Github Action labelJul 17, 2023
@ksundenksunden modified the milestones:v3.8.0,future releasesAug 8, 2023
@github-actionsgithub-actionsbot removed the status: inactiveMarked by the “Stale” Github Action labelAug 9, 2023
@github-actions
Copy link

Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it.

@github-actionsgithub-actionsbot added the status: inactiveMarked by the “Stale” Github Action labelOct 13, 2023
@github-actionsgithub-actionsbot added status: needs rebase and removed status: inactiveMarked by the “Stale” Github Action labelsDec 20, 2023
@QuLogicQuLogicforce-pushed theazureguitests branch 2 times, most recently from8d93854 tob17237fCompareMay 14, 2025 22:49
@QuLogicQuLogicforce-pushed theazureguitests branch 5 times, most recently from584a5be toa329b63CompareMay 15, 2025 09:22
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
future releases
Development

Successfully merging this pull request may close these issues.

4 participants
@anntzer@QuLogic@tacaswell@ksunden

[8]ページ先頭

©2009-2025 Movatter.jp