Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Jamestown 2.3.0
-
Fix Version/s: Jamestown 2.3.0
-
Component/s: Other / Misc.
-
Labels:None
-
Sprint:Sprint 7, Sprint 8
Description
while running "produce-error-report.groovy" script with output directory argument (-o) as 'tmp', it throws exception FileNotFoundException.
Steps to reproduce:
1)groovy produce-error-report.groovy -d 3 -u root -p tar63t -h aml-qa4-mysql1 -l 3306 -o tmp -e qa4
Caught: java.io.FileNotFoundException: /home/atul.sanagar/Desktop/content-rejections.csv (No such file or directory)
java.io.FileNotFoundException: /home/atul.sanagar/Desktop/content-rejections.csv (No such file or directory)
at produce-error-report.run(produce-error-report.groovy:190)
2)After creating 'Desktop' directory home directory, the script runs fine and generates the output file "content-rejections.csv" under directory - /home/atul.sanagar/Desktop/ even though I had given -o
{o(longOpt: 'out-dir', 'output directory for csv file', type: String, args: 1, required: false)}