Closed takluyver closed 2 months ago
New failure, this one at least seems to be repeatable:
_________________________________ test_editor __________________________________
CALL ERROR: Exceptions caught in Qt event loop:
________________________________________________________________________________
Traceback (most recent call last):
File "/home/runner/work/DAMNIT/DAMNIT/damnit/gui/main_window.py", line 849, in <lambda>
QtCore.QTimer.singleShot(100, lambda: self._error_widget.setText(text))
RuntimeError: wrapped C/C++ object of type QsciScintilla has been deleted
________________________________________________________________________________
Traceback (most recent call last):
File "/home/runner/work/DAMNIT/DAMNIT/damnit/gui/main_window.py", line 849, in <lambda>
QtCore.QTimer.singleShot(100, lambda: self._error_widget.setText(text))
RuntimeError: wrapped C/C++ object of type QsciScintilla has been deleted
________________________________________________________________________________
----------------------------- Captured Qt messages -----------------------------
QtWarningMsg: libpng warning: iCCP: known incorrect sRGB profile
QtWarningMsg: libpng warning: iCCP: known incorrect sRGB profile
QtWarningMsg: QProcess: Destroyed while process ("/opt/hostedtoolcache/Python/3.10.15/x64/bin/python3") is still running.
QtWarningMsg: QProcess: Destroyed while process ("/opt/hostedtoolcache/Python/3.10.15/x64/bin/python3") is still running.
----------------------------- Captured stderr call -----------------------------
Exceptions caught in Qt event loop:
________________________________________________________________________________
Traceback (most recent call last):
File "/home/runner/work/DAMNIT/DAMNIT/damnit/gui/main_window.py", line 849, in <lambda>
QtCore.QTimer.singleShot(100, lambda: self._error_widget.setText(text))
RuntimeError: wrapped C/C++ object of type QsciScintilla has been deleted
________________________________________________________________________________
Exceptions caught in Qt event loop:
________________________________________________________________________________
Traceback (most recent call last):
File "/home/runner/work/DAMNIT/DAMNIT/damnit/gui/main_window.py", line 849, in <lambda>
QtCore.QTimer.singleShot(100, lambda: self._error_widget.setText(text))
RuntimeError: wrapped C/C++ object of type QsciScintilla has been deleted
________________________________________________________________________________
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 75.30%. Comparing base (
d3f0211
) to head (c7dacaa
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I hope this fixes the abort during tests seen in this CI run on PR #313:
I've also checked the rest of the tests - everywhere we create a
MainWindow
in the tests, we now register it with qtbot shortly afterwards.