abrt 1.0.9 detected a crash. architecture: i686 cmdline: /usr/bin/python /usr/bin/pep8 --repeat translate/lang/th.py comment: The program should probably exit more elegantly when it is asked to run over a non-existant file. component: python-pep8 executable: /usr/bin/pep8 kernel: 2.6.32.11-99.fc12.i686.PAE package: python-pep8-0.4.2-2.fc12 reason: pep8.py:703:__init__:IOError: [Errno 2] No such file or directory: 'translate/lang/th.py' release: Fedora release 12 (Constantine) backtrace ----- pep8.py:703:__init__:IOError: [Errno 2] No such file or directory: 'translate/lang/th.py' Traceback (most recent call last): File "/usr/bin/pep8", line 8, in <module> load_entry_point('pep8==0.4.2', 'console_scripts', 'pep8')() File "/usr/lib/python2.6/site-packages/pep8.py", line 1149, in _main input_file(path) File "/usr/lib/python2.6/site-packages/pep8.py", line 906, in input_file errors = Checker(filename).check_all() File "/usr/lib/python2.6/site-packages/pep8.py", line 703, in __init__ self.lines = open(filename).readlines() IOError: [Errno 2] No such file or directory: 'translate/lang/th.py' Local variables in innermost frame: self: <pep8.Checker instance at 0x928c36c> filename: 'translate/lang/th.py' How to reproduce ----- 1. Try to run pep8 against any non-existant file
Created attachment 411346 [details] File: backtrace
This is not a bug -- pylint isn't written to have a nice error message when you run it on a file that doesn't exist; a traceback is expected.