Error in python process
I was trying to build a plugin recipe while training under the Hands-on: Plugin Store module, when I got this error:
Error in python process: At line 11: <class 'NameError'>: name 'logging' is not defined
How can I solve this issue?
Answers
-
Sean Dataiker, Alpha Tester, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer Posts: 168 Dataiker
Hi @ral-haddad
, you can start by following these instructions in the product documentation for investigating a failed job.Just by looking at the screenshot, I would suspect there might be an issue with the plugin's code environment.
A few other questions to help you debug:
- What version of Dataiku are you using? You can find this by clicking the question mark in the top right and then clicking "About".
- Are you using Dataiku Online or an on-prem instance?
- If using an on-prem instance, what version of the census plugin are you using? You can find this in the installed tab of the plugin store.
- If you're on an on-prem instance, go to Administration > Code envs, and find the one for "plugin_census-us_managed".
-
Reem Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 ✭✭✭
Hi Sean,
- I'm using Dataiku version 9.0.3
- I'm using on-prem instance of Dataiku
- The version of the US census plugin that I'm using is 0.3.3
I believe the issue is mainly with the census plugin, but couldn't figure out how to get around it.
-
Sean Dataiker, Alpha Tester, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer Posts: 168 Dataiker
Hi @ral-haddad
, from your screenshot I suspect it has to do with the plugin's code env. If you're an admin, go to Administration > Code Envs. Find the plugin's code env (likely named plugin_census-us_managed. Open it. Click "Rebuild env" and then update to rebuild the code env from scratch. -
Sean Dataiker, Alpha Tester, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer Posts: 168 Dataiker
Hi @ral-haddad
, if your admin is unable to debug the plugin, I can see only two alternatives:- Download the free version of Dataiku (where you will be the admin).
- Use Dataiku Online and add the plugin to your launchpad.