Managed folder name not found: "folder_name' in "Project_key"
Hi,
When I try to create a folder from a python recipe I get following error message :
and a lot more messages with same content "Managed Folder not found"
Context :
I've created a python recipe and I want to save the result "an image" into a specific folder.
When we create a python Recipe, we specified, Input/Output dataset, which means Output Dataset will be file system managed and type CSV
We can change this settings after create Recipe but the issue remain the same.
Let me give an example, if you load Variables for Coders Tutorial, you will have this flow :
Opening the python recipe you can see in this line, the folder is already filled with value "dy9hOjP1"
# -------------------------------------------------------------------------------- NOTEBOOK-CELL: CODE
folder_for_plot = dataiku.Folder("dy9hOjP1")
Now, try to create a new Recipe as image below :
A output Filesystem will be requested
Copy the code from previous recipe and replace with "your_folder_name
# -------------------------------------------------------------------------------- NOTEBOOK-CELL: CODE
folder_for_plot = dataiku.Folder("your_folder_name")
Validate, Save an Run and we get error message "Managed folder not found"
Below 2 more screenshots comparing settings between 2 managed Folder (dy9hOjP1 vs images)
dy9hOjP1
Images
Questions:
How can we solve this issue considering working in a "real" production environment I need to store graphics in a file system ?
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,225 Dataiker
Hi @Carl
,"Images" is a dataset and not a folder.
When you create your python Recipe you should select to create a folder.
As you already the recipe go to the input/outputs tab + Add + Create Folder at the bottom, of t
Then you will see the output folder ID in the recipe:
Within a folder, you can store images and interact with the folder using read/write APIs
https://knowledge.dataiku.com/latest/courses/folders/managed-folders.html
Let me know if that helps.