Community Conundrum 28: News Engagement is live! Read More

Ipython notebook: 400 bad request

Level 1
Ipython notebook: 400 bad request

Hi, I had a Ipython notebook called "oldName" but since I renamed it with "% oldName" I can not open it anymore and the following error appears "'400 bad request". I can not rename it because I can not enter in it and I have an important script inside of it, so it would really be a waste of time if I lost the job I have done on it. Any idea on how to get the script back ?



Thank's

0 Kudos
4 Replies
Dataiker
Dataiker
Hi,

This could be done by renaming the file directly.

The ipython notebook file will be located in DSS_DIR/config/ipython_notebooks/PROJECT where DSS_DIR is the home of the studio and project is the key of your project (the one you can see in the studio url for example).

Rename it to clean the % sign. For example if you are using linux type in terminal :

cd DSS_DIR/config/ipython_notebooks/PROJECT

mv mypythonnotebookwith_%.ipynb mypythonnotebookwith_percent.ipynb
0 Kudos
Level 1
Author
How can I find the DSS_DIR ? Because I can't find it.
0 Kudos
Dataiker
Dataiker
in a new ipython notebook run the following
! echo $DIP_HOME
this will give you your dss home.
0 Kudos
Dataiker
Dataiker
More about DATA DIR: https://www.dataiku.com/learn/guide/getting-started/dss-concepts/the-dss-datadir.html
Jeremy, Product Manager at Dataiku
0 Kudos
Labels (2)
A banner prompting to get Dataiku DSS