You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_qobject_is_valid (traitsui.qt4.tests.test_helper.TestWrapText) ... ok
test_wrap_text_basic (traitsui.qt4.tests.test_helper.TestWrapText) ... QGuiApplication::font(): no QGuiApplication instance and no application font set.
QFont::setPointSize: Point size <= 0 (-1), must be greater than 0
QGuiApplication::font(): no QGuiApplication instance and no application font set.
Windows fatal exception: access violation
Current thread 0x00002468 (most recent call first):
File "c:\Users\template\.edm\envs\build-env\lib\site-packages\traitsui\qt4\tests\test_helper.py", line 50 in test_wrap_text_basic
File "c:\Users\template\.edm\envs\build-env\lib\unittest\case.py", line 633 in _callTestMethod
File "c:\Users\template\.edm\envs\build-env\lib\unittest\case.py", line 676 in run
File "c:\Users\template\.edm\envs\build-env\lib\unittest\case.py", line 736 in __call__
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 122 in run
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 84 in __call__
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 122 in run
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 84 in __call__
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 122 in run
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 84 in __call__
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 122 in run
File "c:\Users\template\.edm\envs\build-env\lib\unittest\suite.py", line 84 in __call__
File "c:\Users\template\.edm\envs\build-env\lib\unittest\runner.py", line 176 in run
File "c:\Users\template\.edm\envs\build-env\lib\unittest\main.py", line 271 in runTests
File "c:\Users\template\.edm\envs\build-env\lib\unittest\main.py", line 101 in __init__
File "c:\Users\template\.edm\envs\build-env\lib\unittest\__main__.py", line 18 in <module>
File "c:\Users\template\.edm\envs\build-env\lib\runpy.py", line 87 in _run_code
File "c:\Users\template\.edm\envs\build-env\lib\runpy.py", line 194 in _run_module_as_main
FAIL
Environment:
EDM cp38 Windows 10 64bit
PySide6 6.2.3-7
traitsui 7.4.3
The text was updated successfully, but these errors were encountered:
Possible direction to explore - this test is using "Courier" font. I think Qt may play games with Courier:
In Windows a request for the "Courier" font is automatically changed to "Courier New", an improved version of Courier that allows for smooth scaling. The older "Courier" bitmap font can be selected by setting the PreferBitmap style strategy (see setStyleStrategy()).
Running the PySide6 test on windows sometimes segfaults when the
~/AppData/Local/Microsoft/Windows/Explorer
folder is not already populated.The script bellow will probably segfault once every 5 times.
The segfault is
Environment:
The text was updated successfully, but these errors were encountered: