Ipython notebook: 400 bad request

Lรฉa
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
PGutierrez
Dataiker Alumni
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
Lรฉa
Level 1
Author
How can I find the DSS_DIR ? Because I can't find it.
0 Kudos
PGutierrez
Dataiker Alumni
in a new ipython notebook run the following
! echo $DIP_HOME
this will give you your dss home.
0 Kudos
jereze
Community Manager
Community Manager
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