getting error while importing dataiku project.

Registered Posts: 1 ✭✭

while i am migrating dev to val, getting the below error. canyou please provide me with how can i fix it.

Importing archive...
Traceback (most recent call last):
File "/app/dss_install/dataiku-dss-13.2.2/python/dataikuapi/dssclient.py", line 1490, in _perform_http
response.raise_for_status()
File "/app/dss_install/dataiku-dss-13.2.2/python/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://127.0.0.1:11000/dip/publicapi/projects/import/app/9d0VMUoJZU0Ukx/process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/app/dss_install/dataiku-dss-13.2.2/python/dataiku/dascil/main.py", line 156, in <module>
args.fn(args, client)
File "/app/dss_install/dataiku-dss-13.2.2/python/dataiku/dascil/projects_commands.py", line 96, in project_import
ret = _execute_with_settings(args, client)
File "/app/dss_install/dataiku-dss-13.2.2/python/dataiku/dascil/utils.py", line 1781, in execute
return self._perform_http(method, path, params=params, body=body, files=files, stream=stream, raw_body=raw_body).json()
File "/app/dss_install/dataiku-dss-13.2.2/python/dataikuapi/dssclient.py", line 1506, in _perform_http
raise DataikuException("%s: %s" % (errorType, "Unknown error" if ex.get("detailedMessage") is None else ex.get("message")))
dataikuapi.utils.DataikuException: java.lang.IllegalArgumentException: No PYTHON code env for Python_39_MLF

Operating system used: linux

Operating system used: linux

Operating system used: linux

Answers

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,270 Dataiker

    Hi,
    The error suggests you are missing a code env

    dataikuapi.utils.DataikuException: java.lang.IllegalArgumentException: No PYTHON code env for Python_39_MLF

    Can you try creating or mapping to an existing code when trying to import the project?

    Thanks

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.