Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1361116 - `detected unhandled Python exception` error could be of more use
`detected unhandled Python exception` error could be of more use
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: abrt (Show other bugs)
7.3
x86_64 Linux
unspecified Severity medium
: rc
: ---
Assigned To: Martin Kutlak
Martin Kyral
:
Depends On: 1361112 1437956
Blocks: 1420851 1474754
  Show dependency treegraph
 
Reported: 2016-07-28 07:16 EDT by Piyush Bhoot
Modified: 2018-04-10 13:43 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1361112
Environment:
Last Closed: 2018-04-10 13:41:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2601051 None None None 2016-09-05 06:35 EDT
Red Hat Product Errata RHBA-2018:0949 None None None 2018-04-10 13:43 EDT

  None (edit)
Description Piyush Bhoot 2016-07-28 07:16:16 EDT
+++ This bug was initially created as a clone of Bug #1361112 +++

Description of problem:
The "detected unhandled Python exception" message could be more verbose.
It denotes Python exceptions raised in interactive python or python executing script via "python -c "...""

Version-Release number of selected component (if applicable):
abrt-2.0.8-40.el6.x86_64
abrt-python-2.0.8-40.el6.x86_64

How reproducible:
Always


Steps to Reproduce:
1.'python -c "1/0"'
2. check /var/log/messages
3.

Actual results:
abrt: detected unhandled Python exception

Expected results:
Origin of exception may be?
Comment 2 Martin Kutlak 2017-04-03 08:50:05 EDT
As with bug 1361112 we could change the message from the current form to:

"detected unhandled Python exception in 'interactive mode (python -c)'"
when "python -c ..." is executed, and:

"detected unhandled Python exception in 'interactive mode'"
when "python" or "python -i".


In RHEL 7 you can get more information about the origin of the exception from systemd journal by typing:
journalctl -a -S '1 day ago' -o verbose _COMM=python | grep 'MESSAGE\|_CMDLINE'

This will print out log messages and commands that were launched and in which unhandled Python exception occurred.

"MESSAGE=detected unhandled Python exception"
"_CMDLINE=python -c 1/0"
Comment 10 errata-xmlrpc 2018-04-10 13:41:30 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0949

Note You need to log in before you can comment on or make changes to this bug.