Package qubx :: Module crash_rep
[hide private]
[frames] | no frames]

Module crash_rep

source code

Crash detection and reporting

Copyright 2012 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  CrashReportTask
Functions [hide private]
 
LogScriptable(expr) source code
 
Init() source code
 
Fini() source code
 
pid_exists(pid)
Check whether pid exists in the current process table.
source code
 
is_pid_running_on_windows(pid) source code
 
offer_report_crash(message='Error detected. Send a bug report?', logpath='') source code
 
report_crash(name='', email='', logpath='', logtext='', attach_model=True, attach_data=True) source code
Variables [hide private]
  MAX_CRASHREP_DATAPOINTS = 20000
  PIDFILE = 'pid.txt'
  State = {}
  __package__ = 'qubx'