eric7/eric7.py

branch
eric7
changeset 8352
879dc528461f
parent 8351
7d13e08ddb3f
child 8354
12ebd3934fef
diff -r 7d13e08ddb3f -r 879dc528461f eric7/eric7.py
--- 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 = (

eric ide

mercurial