<div dir="ltr">Hi Larry,<br><br>I might start by configuring abrt to process these events by enabling exception handling in unpackaged software. According to the latest docs [1], this is done in /etc/abrt/abrt-action-save-package-data.conf by setting 'ProcessUnpackaged = yes'. Disclaimer: I'm not familiar with how abrt handles such events, what information can be saved, or even if this is safe to set system-wide. I would consult the docs or the source before doing this on a production system myself - this is a lmgtfy answer in which I did the search for you, sorry for the lack of authoritative info :)<br><br>This isn't what you asked and may be overly pedantic (apologies if so), but I would personally not rely only on abrt to catch and report on failures of custom Python applications. Python has very good built-in exception handling capabilities. Custom exception classes are a good way to capture useful data like tracebacks (see traceback and cgitb modules). When combined with the logging module, one can easily relay such failures through syslog or another logging vehicle. Abrt has its place, and if the Python interpreter has died without executing exception handling then this paragraph is moot. A good set of examples are at [2].<br><br>Eli<br><br>[1] <a href="http://abrt.readthedocs.org/en/latest/conf.html#abrt-specific-configuration">http://abrt.readthedocs.org/en/latest/conf.html#abrt-specific-configuration</a><br>[2] <a href="https://doughellmann.com/blog/2009/06/19/python-exception-handling-techniques/">https://doughellmann.com/blog/2009/06/19/python-exception-handling-techniques/</a><br><br><br>(From abrt docs)<div><br>"""<br><br>ProcessUnpackaged = yes/no<br><br>This directive tells ABRT whether to process crashes in executables that do not belong to any package. The default setting is no.<br><br>"""<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 6, 2016 at 1:51 PM, Larry Martell <span dir="ltr"><<a href="mailto:larry.martell@gmail.com" target="_blank">larry.martell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a python script that periodically terminates with no output -<br>
no errors, no exceptions, nothing.<br>
<br>
Looking in the logs I see this:<br>
<br>
python: detected unhandled Python exception in<br>
'/home/prod_user/python/make_workitem_list.py'<br>
abrt-server: Executable '/home/prod_user/python/make_workitem_list.py'<br>
doesn't belong to any package and ProcessUnpackaged is set to 'no'<br>
abrt-server: 'post-create' on<br>
'/var/spool/abrt/Python-<a href="tel:2016-04-06-08" value="+12016040608">2016-04-06-08</a>:12:25-26141' exited with 1<br>
abrt-server: Deleting problem directory<br>
'/var/spool/abrt/Python-<a href="tel:2016-04-06-08" value="+12016040608">2016-04-06-08</a>:12:25-26141'<br>
<br>
I see what I think is just the default abrt files in /etc/libreport<br>
and events.d.<br>
<br>
What can I do get abrt to give me more info on this crash?<br>
<br>
_______________________________________________<br>
rhelv6-list mailing list<br>
<a href="mailto:rhelv6-list@redhat.com">rhelv6-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rhelv6-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rhelv6-list</a><br>
</blockquote></div><br></div></div>