ERROR RUNNING A RECIPE

bichngoc
bichngoc Registered Posts: 4 ✭✭✭
edited July 16 in Using Dataiku

Hello,

I created an environment Python36 and then a notebook for text analysis using Spacy and sklearn. My notebook runs perfectly but when I create a recipe from this notebook, The following ERROR occurs:

[2021/12/02-14:15:30.865] [FRT-33-FlowRunnable] [ERROR] [com.dataiku.dip.utils.JSON] - Error while parsing JSON file /home/dataiku/dss/code-envs/desc/python/spacy_win_comments/desc.json
java.io.FileNotFoundException: File '/home/dataiku/dss/code-envs/desc/python/spacy_win_comments/desc.json' does not exist
 at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:299)
 at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1711)
 at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1734)
 at com.dataiku.dip.utils.JSON.parseFile(JSON.java:309)
 at com.dataiku.dip.code.CodeEnvResolutionService.getPythonCmdAndGetBundleIdIfNull(CodeEnvResolutionService.java:183)
 at com.dataiku.dip.code.CodeEnvResolutionService.getPythonCmd(CodeEnvResolutionService.java:117)
 at com.dataiku.dip.dataflow.exec.AbstractPythonRecipeRunner.getPythonCmd(AbstractPythonRecipeRunner.java:28)
 at com.dataiku.dip.dataflow.exec.AbstractPythonRecipeRunner.executeScript(AbstractPythonRecipeRunner.java:43)
 at com.dataiku.dip.recipes.code.python.PythonRecipeRunner.run(PythonRecipeRunner.java:58)
 at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:380)

I think the problem comes from the package SPACY. I tried to rebuild the code environment by navigating to Administration > Code Envs > selecting the Rebuild env checkbox, and then clicking Update. But it doesn't work.

I use an instance DSS ver 7.0.3 on server cloud.app.azure

How can i resolve this problem ?

Thanks.

Best Answer

Answers

Setup Info
    Tags
      Help me…