--- a/eric7/eric7.py Sat May 22 11:14:43 2021 +0200 +++ b/eric7/eric7.py Sat May 22 12:46:57 2021 +0200 @@ -44,7 +44,8 @@ sys.exit(100) with contextlib.suppress(ImportError): - from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ __IGNORE_EXCEPTION__ + from PyQt6 import QtWebEngineWidgets + # __IGNORE_WARNING__ __IGNORE_EXCEPTION__ # some global variables needed to start the application args = None @@ -157,6 +158,11 @@ import Utilities import Globals + # Workaround for a strange issue with QScintilla + if str(excValue) == "unable to convert a QVariant back to a Python object": + return + # TODO: remove this workaround once issue is resolved + separator = '-' * 80 logFile = os.path.join(Globals.getConfigDir(), "eric7_error.log") notice = (