cancel
Showing results for 
Search instead for 
Did you mean: 

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

venu
New Contributor II

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"

venu_0-1651734848994.png

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\""

1 ACCEPTED SOLUTION

Michaela
Community Manager Community Manager
Community Manager

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.

Spoiler
save `$ORIG_HOME,"/badTrades.csv"

Thanks,

Michaela

View solution in original post

2 REPLIES 2

Michaela
Community Manager Community Manager
Community Manager

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.

Spoiler
save `$ORIG_HOME,"/badTrades.csv"

Thanks,

Michaela

venu
New Contributor II

Got it! Thanks for the quick reply.