https://kedro.org/ logo
Title
n

noklam

10/04/2022, 2:19 PM
let's move the discussion here.
from pathlib import Path
Path('certifai\\data\\09_tracking\\test_attributes_best_model.json').iterdir()
Does this gives you same error? Is this a valid path on Windows at all? would it work if you change all the
\\
to
/
?
t

TESSA_BEIJLOOS

10/04/2022, 2:22 PM
Its actually a path to S3 and I did use the exact same path with jsondataset and that wont give me the error
n

noklam

10/04/2022, 2:25 PM
What's the actual path then?
Is this the actual path you put in the catalog?
'certifai\\data\\09_tracking\\test_attributes_best_model.json'
t

TESSA_BEIJLOOS

10/04/2022, 2:27 PM
No it is s3://certifai/data/09_tracking/test_attributes_best_model.json
n

noklam

10/04/2022, 2:29 PM
Thanks
I think this is potentially a bug
https://github.com/kedro-org/kedro-viz/issues/new/choose Would you mind creating a new issue there? And tag me @noklam on GH
I suspect this won't be an issue, if you move the path to a local path instead of
s3
, can you try?
t

TESSA_BEIJLOOS

10/04/2022, 2:33 PM
Yes I will try it now!
n

noklam

10/04/2022, 2:37 PM
awesome
t

TESSA_BEIJLOOS

10/04/2022, 2:47 PM
If I move the path to a local path it indeed works fine
n

noklam

10/04/2022, 2:58 PM
Thanks for getting back, I think this is likely a bug
t

TESSA_BEIJLOOS

10/04/2022, 3:06 PM
Ive created an issue and tagged you
n

noklam

10/04/2022, 3:08 PM
Thank you.