Missing error dialog on unknown exception
#6731 (closed) removed the call to error() on unknown exception because it relied on the sys.excepthook to do it. But in many places, the code catch silently the exceptions because it relies on process_exception to raise the popup.
I think we should popup the error dialog in process_exception even if in some cases the exception will be displayed twice (better than None).