Skip to content

Intermittent "MapView web canvas didn't initialize" error in Windows CI #2632

Description

@mhsmith

This isn't happening as often as the intermittent macOS failures (#2512 and #2631), but I've seen it at least 4 times over the last month. Here are the two most recent ones:

=================================== ERRORS ====================================
___________________ ERROR at setup of test_flex_widget_size ___________________
Traceback (most recent call last):
  File "D:\a\toga\toga\testbed\build\testbed\windows\app\src\app_packages\pytest_asyncio\plugin.py", line 299, in _asyncgen_fixture_wrapper
    result = event_loop.run_until_complete(setup())
  File "D:\a\toga\toga\testbed\build\testbed\windows\app\src\app\tests\conftest.py", line 96, in run_until_complete
    return asyncio.run_coroutine_threadsafe(coro, self.loop).result()
  File "concurrent\futures\_base.py", line 458, in result
  File "concurrent\futures\_base.py", line 403, in __get_result
  File "D:\a\toga\toga\testbed\build\testbed\windows\app\src\app_packages\pytest_asyncio\plugin.py", line 281, in setup
    res = await gen_obj.__anext__()
  File "D:\a\toga\toga\testbed\build\testbed\windows\app\src\app\tests\widgets\test_mapview.py", line 53, in widget
    raise RuntimeError("MapView web canvas didn't initialize")
RuntimeError: MapView web canvas didn't initialize
=========================== short test summary info ===========================
ERROR tests/widgets/test_mapview.py::test_flex_widget_size - RuntimeError: MapView web canvas didn't initialize
======= 417 passed, 45 skipped, 4 xfailed, 1 error in 218.74s (0:03:38) =======

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.linuxThe issue relates Linux support.windowsThe issue relates to Microsoft Windows support.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions