Traceback (most recent call last): File "/usr/share/apport/package_hook", line 58, in pr.write(open(apport.fileutils.make_report_path(pr), 'w')) File "/usr/lib/python2.5/site-packages/problem_report.py", line 301, in write f = open(v[0]) # file name IOError: [Errno 21] Is a directory