commotion_client.GUI.crash_report.CrashReport Class Reference
Inheritance diagram for commotion_client.GUI.crash_report.CrashReport:
Public Member Functions | |
def | __init__ |
def | crash_alert |
def | check_restart |
def | check_quit |
def | generate_report |
def | update_countdown |
def | set_report |
def | save_report |
def | create_uuid |
Public Attributes | |
log | |
report_timer | |
error_msg | |
gatherer | |
countdown | |
countdown_timer | |
compiled_report | |
uuid | |
Static Public Attributes | |
tuple | crash_override = QtCore.pyqtSignal() |
tuple | crash_info = QtCore.pyqtSignal(str, dict) |
tuple | crash = QtCore.pyqtSignal(str) |
tuple | alert_user = QtCore.pyqtSignal(str) |
Member Function Documentation
def commotion_client.GUI.crash_report.CrashReport.save_report | ( | self | ) |
TODO ADD python-gnupg encryption to all data saved here.
References commotion_client.GUI.crash_report.CrashReport.compiled_report, and commotion_client.GUI.crash_report.CrashReport.uuid.
def save_report
Definition: crash_report.py:130
compiled_report
Definition: crash_report.py:108
def commotion_client.GUI.crash_report.CrashReport.set_report | ( | self | ) |
set_report creates and saves the current error report and then disconnects crash_info signal.
References commotion_client.GUI.crash_report.CrashReport.compiled_report.
Referenced by commotion_client.GUI.crash_report.CrashReport.update_countdown().
113 self.crash_report.setPlainText(QtCore.QCoreApplication.translate("A crash report could not be generated."))
122 printable_report.append("\n".join(['%s = %s' %(name, value) for name, value in results.items()]))
124 self.log.error(QtCore.QCoreApplication.translate("logs", "Failed to format crash report for user to view."))
def set_report
Definition: crash_report.py:101
compiled_report
Definition: crash_report.py:108
def commotion_client.GUI.crash_report.CrashReport.update_countdown | ( | self | ) |
Slot for countdown timer timeout that populates the graphical countdown if required.
References commotion_client.GUI.crash_report.CrashReport.countdown, and commotion_client.GUI.crash_report.CrashReport.set_report().
def set_report
Definition: crash_report.py:101
def update_countdown
Definition: crash_report.py:88