865 result["ErrorFile"]), |
865 result["ErrorFile"]), |
866 result["ErrorLine"]) |
866 result["ErrorLine"]) |
867 elif result["Error"] == "InterruptedTaskError": |
867 elif result["Error"] == "InterruptedTaskError": |
868 return True |
868 return True |
869 else: |
869 else: |
870 E5MessageBox.warning( |
870 from .ErrorDialog import ErrorDialog |
871 self.__ui, title, |
871 ErrorDialog( |
872 self.tr("Rope error: {0}").format( |
872 title, |
873 result["ErrorString"]) |
873 self.tr("Rope error: {0}").format(result["ErrorString"]), |
874 ) |
874 traceback=result["Traceback"], |
|
875 parent=self.__ui |
|
876 ).exec_() |
875 |
877 |
876 return False |
878 return False |
877 |
879 |
878 def __getOffset(self, editor, line, index): |
880 def __getOffset(self, editor, line, index): |
879 r""" |
881 r""" |