Project

General

Profile

Actions

Bug #54

closed

lttng-gen-tp: Display nice error message when we cannot write output file

Added by Yannick Brosseau about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Yannick Brosseau
Target version:
Start date:
02/16/2012
Due date:
% Done:

0%

Estimated time:
Actions #1

Updated by Yannick Brosseau about 12 years ago

This is what we get currently:
Traceback (most recent call last):
File "/usr/local/bin/lttng-gen-tp", line 215, in <module>
sys.exit(main())
File "/usr/local/bin/lttng-gen-tp", line 205, in main
doth.write()
File "/usr/local/bin/lttng-gen-tp", line 61, in write
outputFile = open(self.outputFilename,"w")
IOError: [Errno 13] Permission denied: 'sample_tracepoint.h'
make: *** [sample_tracepoint.h] Erreur 1

Actions #2

Updated by Yannick Brosseau about 12 years ago

  • Status changed from New to Resolved

Resolved by commit: 44745fc1baf6eeb2559b5dd95b5eda428d29caae

Actions

Also available in: Atom PDF