Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62867
| References | <0253dd5f-f8f3-45e7-84b0-92023c0924c9@googlegroups.com> |
|---|---|
| Date | 2013-12-30 08:34 +1100 |
| Subject | Re: abrt: detected unhandled Python exception |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4706.1388352882.18130.python-list@python.org> (permalink) |
On Mon, Dec 30, 2013 at 6:35 AM, <smilesonisamal@gmail.com> wrote: > Hi all, > I am facing a script issue whenever i run my script in /var/log/messages and it gives error something as below: > > > abrt: detected unhandled Python exception in xxxxx.py. > > Can anybody help me figuring out how do i know which line number has thrown the python exception? Google results suggest that this is a Red Hat thing: abrt = Automatic Bug Reporting Tool. https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-abrt.html I'm not a Red Hat person myself (I use Debian), so I can't really much help; but my suspicion is that it'll be logging the full traceback somewhere (some of the posts I found referred to it sending mail, so you might find it in your /var/spool/mail). Alternatively, are you able to simply run the script from the command line? That ought to make the traceback come to your console. Not possible if it's a CGI script or something, though. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
abrt: detected unhandled Python exception smilesonisamal@gmail.com - 2013-12-29 11:35 -0800 Re: abrt: detected unhandled Python exception Chris Angelico <rosuav@gmail.com> - 2013-12-30 08:34 +1100
csiph-web