Actions
Bug #54
closedlttng-gen-tp: Display nice error message when we cannot write output file
Start date:
02/16/2012
Due date:
% Done:
0%
Estimated time:
Updated by Yannick Brosseau almost 13 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
Updated by Yannick Brosseau almost 13 years ago
- Status changed from New to Resolved
Resolved by commit: 44745fc1baf6eeb2559b5dd95b5eda428d29caae
Actions