René's URL Explorer Experiment


Title: [TST]: Appveyor Qt tests failing · Issue #24394 · matplotlib/matplotlib · GitHub

Open Graph Title: [TST]: Appveyor Qt tests failing · Issue #24394 · matplotlib/matplotlib

X Title: [TST]: Appveyor Qt tests failing · Issue #24394 · matplotlib/matplotlib

Description: Summary Appveyor Qt sigint tests appear to be consistently failing due DLL loading Relevant log portion __________________________ test_sigint[show-kwargs0] __________________________ [gw0] win32 -- Python 3.8.13 C:\Miniconda3-x64\envs\t...

Open Graph Description: Summary Appveyor Qt sigint tests appear to be consistently failing due DLL loading Relevant log portion __________________________ test_sigint[show-kwargs0] __________________________ [gw0] win32 -...

X Description: Summary Appveyor Qt sigint tests appear to be consistently failing due DLL loading Relevant log portion __________________________ test_sigint[show-kwargs0] __________________________ [gw0] win32 -...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24394

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[TST]: Appveyor Qt tests failing","articleBody":"### Summary\n\nAppveyor Qt sigint tests appear to be consistently failing due DLL loading\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e Relevant log portion\u003c/summary\u003e\r\n\r\n\r\n```\r\n__________________________ test_sigint[show-kwargs0] __________________________\r\n[gw0] win32 -- Python 3.8.13 C:\\Miniconda3-x64\\envs\\test-environment\\python.exe\r\ntarget = 'show', kwargs = {'block': True}\r\n    @pytest.mark.backend('QtAgg', skip_on_importerror=True)\r\n    @pytest.mark.parametrize(\"target, kwargs\", [\r\n        ('show', {'block': True}),\r\n        ('pause', {'interval': 10})\r\n    ])\r\n    def test_sigint(target, kwargs):\r\n        backend = plt.get_backend()\r\n        proc = WaitForStringPopen(\r\n            [sys.executable, \"-c\",\r\n             inspect.getsource(_test_sigint_impl) +\r\n             f\"\\n_test_sigint_impl({backend!r}, {target!r}, {kwargs!r})\"])\r\n        try:\r\n            proc.wait_for('DRAW')\r\n\u003e           stdout, _ = proc.communicate(timeout=_test_timeout)\r\nlib\\matplotlib\\tests\\test_backend_qt.py:130: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\nC:\\Miniconda3-x64\\envs\\test-environment\\lib\\subprocess.py:1028: in communicate\r\n    stdout, stderr = self._communicate(input, endtime, timeout)\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\nself = \u003cmatplotlib.tests.test_backend_qt.WaitForStringPopen object at 0x0000004E17E65CD0\u003e\r\ninput = None, endtime = 526.437, orig_timeout = 60\r\n    def _communicate(self, input, endtime, orig_timeout):\r\n        # Start reader threads feeding into a list hanging off of this\r\n        # object, unless they've already been started.\r\n        if self.stdout and not hasattr(self, \"_stdout_buff\"):\r\n            self._stdout_buff = []\r\n            self.stdout_thread = \\\r\n                    threading.Thread(target=self._readerthread,\r\n                                     args=(self.stdout, self._stdout_buff))\r\n            self.stdout_thread.daemon = True\r\n            self.stdout_thread.start()\r\n        if self.stderr and not hasattr(self, \"_stderr_buff\"):\r\n            self._stderr_buff = []\r\n            self.stderr_thread = \\\r\n                    threading.Thread(target=self._readerthread,\r\n                                     args=(self.stderr, self._stderr_buff))\r\n            self.stderr_thread.daemon = True\r\n            self.stderr_thread.start()\r\n    \r\n        if self.stdin:\r\n            self._stdin_write(input)\r\n    \r\n        # Wait for the reader threads, or time out.  If we time out, the\r\n        # threads remain reading and the fds left open in case the user\r\n        # calls communicate again.\r\n        if self.stdout is not None:\r\n            self.stdout_thread.join(self._remaining_time(endtime))\r\n            if self.stdout_thread.is_alive():\r\n\u003e               raise TimeoutExpired(self.args, orig_timeout)\r\nE               subprocess.TimeoutExpired: Command '['C:\\\\Miniconda3-x64\\\\envs\\\\test-environment\\\\python.exe', '-c', \"def _test_sigint_impl(backend, target_name, kwargs):\\n    import sys\\n    import matplotlib.pyplot as plt\\n    import os\\n    import threading\\n\\n    plt.switch_backend(backend)\\n    from matplotlib.backends.qt_compat import QtCore  # noqa\\n\\n    def interrupter():\\n        if sys.platform == 'win32':\\n            import win32api\\n            win32api.GenerateConsoleCtrlEvent(0, 0)\\n        else:\\n            import signal\\n            os.kill(os.getpid(), signal.SIGINT)\\n\\n    target = getattr(plt, target_name)\\n    timer = threading.Timer(1, interrupter)\\n    fig = plt.figure()\\n    fig.canvas.mpl_connect(\\n        'draw_event',\\n        lambda *args: print('DRAW', flush=True)\\n    )\\n    fig.canvas.mpl_connect(\\n        'draw_event',\\n        lambda *args: timer.start()\\n    )\\n    try:\\n        target(**kwargs)\\n    except KeyboardInterrupt:\\n        print('SUCCESS', flush=True)\\n\\n_test_sigint_impl('QtAgg', 'show', {'block': True})\"]' timed out after 60 seconds\r\nC:\\Miniconda3-x64\\envs\\test-environment\\lib\\subprocess.py:1401: TimeoutExpired\r\n----------------------------- Captured log setup ------------------------------\r\nDEBUG    matplotlib.pyplot:pyplot.py:316 Loaded backend QtAgg version 5.15.7.\r\n---------------------------- Captured stderr call -----------------------------\r\nWindows fatal exception: code 0xc0000139\r\nCurrent thread 0x00000900 (most recent call first):\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 219 in _call_with_frames_removed\r\n  File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 1166 in create_module\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 556 in module_from_spec\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 657 in _load_unlocked\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 975 in _find_and_load_unlocked\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 991 in _find_and_load\r\n  File \"\u003cstring\u003e\", line 12 in interrupter\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 1254 in run\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 932 in _bootstrap_inner\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 890 in _bootstrap\r\nThread 0x00000344 (most recent call first):\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\backends\\qt_compat.py\", line 168 in _exec\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\backends\\backend_qt.py\", line 1022 in mainloop\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\backend_bases.py\", line 3554 in show\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\pyplot.py\", line 421 in show\r\n  File \"\u003cstring\u003e\", line 30 in _test_sigint_impl\r\n  File \"\u003cstring\u003e\", line 34 in \u003cmodule\u003e\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 932, in _bootstrap_inner\r\n    self.run()\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 1254, in run\r\n    self.function(*self.args, **self.kwargs)\r\n  File \"\u003cstring\u003e\", line 12, in interrupter\r\nImportError: DLL load failed while importing win32api: The specified procedure could not be found.\r\n---------------------------- Captured log teardown ----------------------------\r\nDEBUG    matplotlib.pyplot:pyplot.py:316 Loaded backend agg version v2.2.\r\n_________________________ test_sigint[pause-kwargs1] __________________________\r\n[gw0] win32 -- Python 3.8.13 C:\\Miniconda3-x64\\envs\\test-environment\\python.exe\r\ntarget = 'pause', kwargs = {'interval': 10}\r\n    @pytest.mark.backend('QtAgg', skip_on_importerror=True)\r\n    @pytest.mark.parametrize(\"target, kwargs\", [\r\n        ('show', {'block': True}),\r\n        ('pause', {'interval': 10})\r\n    ])\r\n    def test_sigint(target, kwargs):\r\n        backend = plt.get_backend()\r\n        proc = WaitForStringPopen(\r\n            [sys.executable, \"-c\",\r\n             inspect.getsource(_test_sigint_impl) +\r\n             f\"\\n_test_sigint_impl({backend!r}, {target!r}, {kwargs!r})\"])\r\n        try:\r\n            proc.wait_for('DRAW')\r\n            stdout, _ = proc.communicate(timeout=_test_timeout)\r\n        except:\r\n            proc.kill()\r\n            stdout, _ = proc.communicate()\r\n            raise\r\n        print(stdout)\r\n\u003e       assert 'SUCCESS' in stdout\r\nE       AssertionError: assert 'SUCCESS' in '\\n'\r\nlib\\matplotlib\\tests\\test_backend_qt.py:136: AssertionError\r\n----------------------------- Captured log setup ------------------------------\r\nDEBUG    matplotlib.pyplot:pyplot.py:316 Loaded backend QtAgg version 5.15.7.\r\n---------------------------- Captured stdout call -----------------------------\r\n---------------------------- Captured stderr call -----------------------------\r\nWindows fatal exception: code 0xc0000139\r\nCurrent thread 0x00000664 (most recent call first):\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 219 in _call_with_frames_removed\r\n  File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 1166 in create_module\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 556 in module_from_spec\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 657 in _load_unlocked\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 975 in _find_and_load_unlocked\r\n  File \"\u003cfrozen importlib._bootstrap\u003e\", line 991 in _find_and_load\r\n  File \"\u003cstring\u003e\", line 12 in interrupter\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 1254 in run\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 932 in _bootstrap_inner\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 890 in _bootstrap\r\nThread 0x00000538 (most recent call first):\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\backends\\qt_compat.py\", line 168 in _exec\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\backends\\backend_qt.py\", line 408 in start_event_loop\r\n  File \"c:\\projects\\matplotlib\\lib\\matplotlib\\pyplot.py\", line 557 in pause\r\n  File \"\u003cstring\u003e\", line 30 in _test_sigint_impl\r\n  File \"\u003cstring\u003e\", line 34 in \u003cmodule\u003e\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 932, in _bootstrap_inner\r\n    self.run()\r\n  File \"C:\\Miniconda3-x64\\envs\\test-environment\\lib\\threading.py\", line 1254, in run\r\n    self.function(*self.args, **self.kwargs)\r\n  File \"\u003cstring\u003e\", line 12, in interrupter\r\nImportError: DLL load failed while importing win32api: The specified procedure could not be found.\r\n---------------------------- Captured log teardown ----------------------------\r\nDEBUG    matplotlib.pyplot:pyplot.py:316 Loaded backend agg version v2.2.\r\n```\r\n\r\n\u003c/details\u003e\n\n### Proposed fix\n\n_No response_","author":{"url":"https://github.com/ksunden","@type":"Person","name":"ksunden"},"datePublished":"2022-11-07T19:34:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/24394/matplotlib/issues/24394"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:adfa267d-84ee-e05c-4e05-430da5ac7af9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA80C:14011B:9F6ABFF:E0B1BD8:6A51239F
html-safe-nonce424376f10cea4c7aa2a37753e200b775c457e33db253ac96a87b801687948322
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODBDOjE0MDExQjo5RjZBQkZGOkUwQjFCRDg6NkE1MTIzOUYiLCJ2aXNpdG9yX2lkIjoiODg4MjM3NjIwNjg0Mzk3ODY1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf66f57c38899604fe749499d52b54cf5e08691951f5ceb29a16b9b555aa8f2e3
hovercard-subject-tagissue:1438870290
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/24394/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7852095905b6db757c7ae2513d224cfb58c565d9c8e664c210584d0cf58c0652/matplotlib/matplotlib/issues/24394
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7852095905b6db757c7ae2513d224cfb58c565d9c8e664c210584d0cf58c0652/matplotlib/matplotlib/issues/24394
og:image:altSummary Appveyor Qt sigint tests appear to be consistently failing due DLL loading Relevant log portion __________________________ test_sigint[show-kwargs0] __________________________ [gw0] win32 -...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameksunden
hostnamegithub.com
expected-hostnamegithub.com
None689b683944b0d7f015d0e776452c970832fa81b82dc15284469b556ecced715b
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release942b51ed3bd5feee3d5e2719f890a5fe286edbbb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/24394#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F24394
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F24394
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/24394
Reloadhttps://github.com/matplotlib/matplotlib/issues/24394
Reloadhttps://github.com/matplotlib/matplotlib/issues/24394
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/24394
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/24394
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 409 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
#24397https://github.com/matplotlib/matplotlib/pull/24397
[TST]: Appveyor Qt tests failinghttps://github.com/matplotlib/matplotlib/issues/24394#top
#24397https://github.com/matplotlib/matplotlib/pull/24397
Maintenancehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Maintenance%22
topic: testinghttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20testing%22
v3.7.0https://github.com/matplotlib/matplotlib/milestone/70
https://github.com/ksunden
ksundenhttps://github.com/ksunden
on Nov 7, 2022https://github.com/matplotlib/matplotlib/issues/24394#issue-1438870290
Maintenancehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Maintenance%22
topic: testinghttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20testing%22
v3.7.0https://github.com/matplotlib/matplotlib/milestone/70
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.