Title: Capstone Project Issue | 3. Data Analytics and Reporting | No such file or directory

https://learninghub.kx.com/forums/topic/title-capstone-project-issue-3-data-analytics-and-reporting-no-such-file-or-directory

Hi,

I have created the following file as part of Capstone Project using the commands given below. Looks like the file been successfully created in expected folder as its visible on KX Project Development environement (screenshot attached)

/developer-1.5.0-linux/workspace/nouser/funds_capstone/ORIG_HOME/badTrades.csv

save `:ORIG_HOME/badTrades.csv
hsym `$ORIG_HOME"/badTrades.csv"

 

However, the test 3.4 is keep failing with the below error. How can we check what exactly is missing and how it can be resolved?

→ Error

exercise3.4 Fail “abort” “abort in before block due to error “/developer-1.5.0-linux/workspace/nouser/funds_capstone/badTrades.csv. OS reports: No such file or directory””

Hi Venu,

The issue here is likely to do with the filepath. When i try to resolve what you have above first without using save you can see what the filepath is.

q)`:ORIG_HOME/badTrades.csv

:ORIG_HOME/badTrades.csv // ORIG_HOME is a variable so needs to be joined accordingly q)hsym $ORIG_HOME"/badTrades.csv"

`:d n // this is closer! just missing the join operator between the first and second part..

You can check out the Working with Files module to learn more about creating filepaths and using hsym.

I will add a hint below if you are still stuck - hope this helps.

save `$ORIG_HOME,“/badTrades.csv”

Thanks,

Michaela