Rev 192 | Blame | Compare with Previous | Last modification | View Log | RSS feed
EVENT=post-create type=Python3 remote!=1
# (For now this has no effect since python hook doesn't save environ)
if grep -q ^ABRT_IGNORE_ALL=1 environ \
|| grep -q ^ABRT_IGNORE_PYTHON=1 environ \
; then
echo "ABRT_IGNORE variable is 1 - not saving the crash"
# abrtd will delete the problem directory when we exit nonzero:
exit 1
fi
abrt-action-analyze-python
# save Python3 package version
for line in $(rpm -qf $(which $(cut -d' ' -f1 < cmdline)) 2>/dev/null); do
echo -n $line > interpreter
done
EVENT=report_Bugzilla type=Python3 component!=anaconda
test -f component || abrt-action-save-package-data
reporter-bugzilla -b \
-c /etc/libreport/plugins/bugzilla.conf \
-F /etc/libreport/plugins/bugzilla_format.conf \
-A /etc/libreport/plugins/bugzilla_formatdup.conf
# Send micro report
EVENT=report_uReport type=Python3
/usr/libexec/abrt-action-ureport
# update ABRT database after successful report to bugzilla
EVENT=post_report type=Python3
reporter-ureport -A -B
# Reporting of python exceptions
EVENT=report-gui type=Python3 component!=anaconda
report-gtk -- "$DUMP_DIR"
EVENT=report-cli type=Python3 component!=anaconda
report-cli -- "$DUMP_DIR"