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/>.
|
|
|
|
|
|
|
pid_exists(pid)
Check whether pid exists in the current process table. |
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
|
|
|
MAX_CRASHREP_DATAPOINTS = 20000
|
|
PIDFILE = ' pid.txt '
|
|
State = {}
|
|
__package__ = ' qubx '
|