##// END OF EJS Templates
catch *any* exception importing qt in profile...
MinRK -
Show More
@@ -168,7 +168,10 b' class ProfileCreate(BaseIPythonApplication):'
168 168 apps = [TerminalIPythonApp]
169 169 try:
170 170 from IPython.frontend.qt.console.qtconsoleapp import IPythonQtConsoleApp
171 except ImportError:
171 except Exception:
172 # this should be ImportError, but under weird circumstances
173 # this might be an AttributeError, or possibly others
174 # in any case, nothing should cause the profile creation to crash.
172 175 pass
173 176 else:
174 177 apps.append(IPythonQtConsoleApp)
General Comments 0
You need to be logged in to leave comments. Login now