I have been trying to add input/ouput with the read and write script lines to the Python tool, the following error occurs :
Cached data unavailable -- run the workflow to make the input data available in Jupyter notebook (\\Mac\Home\Desktop\Missions\Dassault prédictif\Playground - Alteryx\Data\jupyterPipes.json)
the error suggests to run the flow, I did that several times, no change. The strange thing is that when I isolate the 'Alteryx.read("#1") alone in another python tool ( see following picture) it works well :
This error occurred for the "Alteryx.write" as well and I have tried to downgrade Alteryx version from 2020.3 to 2020.2, it didn't resolve the problem. It's quite random. Does anyone have idea how to resolve this and why is it occurring ?
@WilliamR, When testing the problem, the error seems to occur when we redefine a directory in the python code with the 'os.chdir()', It is possible to work without this commande in the code as a temporary solution, is there an explanation or a better solution ? I leave you attached an example of the workflow.
To be able to reproduce the error please change the file path to a valid one inside the os.chdir()
Has anyone gotten any reply or resolution on the above issue? This seems to be an issue with many. I am facing the same error, and have experienced the same as all above - 2019.2 worked way better than 2021.3(which I am using currently). I will be honest - Python tool has been working very very very badly and being in a corporate, and an able Python developer, I feel Alteryx is an unreliable software to even use Python in any scenario. Not sure if Alteryx is vocal about it. But, the product is sh**ty(sorry for my language here) as it has been frustrating with such an incompatible tool.