From Fedora Project Wiki
Description
Check that the abrt handles Python exceptions.
How to test
Configure abrt.conf so Python addon is enabled.
EnabledPlugins = Python
Having some reporter might be useful too
Python = Logger, Mailx
Restart service
service abrt restart
Find some .py file in system originally installed via RPM; e.g. /usr/share/doc/smolt-1.?/lite2my.py from smolt package.
cp /usr/share/doc/smolt-1.?/lite2my.py ~
Edit the file /usr/share/doc/smolt-1.?/lite2my.py to contain some invalid Python code
#!/usr/bin/python "11" + 11
Run it in terminal like this
python /usr/share/doc/smolt-1.?/lite2my.py
Get it back :)
cp lite2my.py /usr/share/doc/smolt-1.?/lite2my.py
Expected Results
- Python traceback should be generated
- ABRT catches it, check the report via abrt-gui whether the trace in report window is the same as in terminal