Project

General

Profile

Bug #54

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

Added by Yannick Brosseau over 8 years ago. Updated over 8 years ago.

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

0%

Estimated time:
#1

Updated by Yannick Brosseau over 8 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

#2

Updated by Yannick Brosseau over 8 years ago

  • Status changed from New to Resolved

Resolved by commit: 44745fc1baf6eeb2559b5dd95b5eda428d29caae

Also available in: Atom PDF