When I click on an ipynb file in Jupyter, a new tab opens but is completely blank. Nothing appears unless I manually refresh the browser page at least twice.
Try using Jupyter lab instead of Jupyter notebook. It'll load smoothly in lab.
Related
I've just encountered a strange issue with google-colab notebooks I shared: After clicking, instead of opening the notebook in the Colab app, only raw code is displayed:
In some cases one could open the notebook by clicking on the link given on top of the picture. In other cases, the code had to be downloaded and then manually imported into Colab. I find this strange because previously I could simply click on the links and notebooks were correctly opened inside the Colab app. I've set sharing permissions appropriately so that anyone with the share link can view it.
Has there been a change to this or is this some sort of bug? Thanks!
It is because it is displayed using Drive Preview, if you click the 'open with Google Colaboratory', the code will be displayed normally.
When I launch Jupyter with jupyter-notebook I get a redirect screen with the contents
This page should redirect to Jupyter Notebook. If it doesn't, click here to go to Jupyter.
I am then redirected to the Jupyter home screen that I expected to land on in the first place. After that everything seems to work fine.
Why am I being redirected when I launch Jupyter? Is there a way to prevent this from happening?
The page redirection is because of the recent security update to Jupyter notebook in merged pull request #4260: Launch the browser with a redirect file. From now on, the Jupyter will open the file, which will redirect to the browser thus passing the token without putting it in a command-line argument, which may be visible to other users otherwise.
This avoids putting the authentication token into a command-line argument to launch the browser, where it's visible to other users. Filesystem permissions should ensure that only the user who started the notebook can use this route to authenticate.
The new file included in PR is notebook/templates/browser-open.html:
{# This template is not served, but written as a file to open in the browser,
passing the token without putting it in a command-line argument. #}
I ran Jupyter notebook from Windows 10 cmd, and I get web page in browser on localhost. Now, when trying to open one file (.ipynb, size 1KB) from menu,
I get blank browser, It looks like page is loading, but It never happens. What can be problem ?
I have been setting up some IPython Notebooks on public servers for training purposes.
Once logged in, you are taken to the default landing page where you can choose the Notebook you want, create a new one and since IPython 2.0 navigate directories.
I would however like to serve a default Notebook upon logging in. This would make it possible for the student to log in and automatically be taken to a notebook that was set up with some instructions.
Of course he/she could just click on the link but it would just make it easier and better looking if it could start with a default page.
On pre 2.0 IPython clicking on a notebook link took you to a temporary kernel address (e.g. http://127.0.0.1:8889/10327f95-f1f6-4016-80f0-e23c477edbfe).
Since 2.0 these links are permanent so you can just provide direct notebook links to your students, e.g. http://127.0.0.1:8888/notebooks/Test.ipynb
I have been working in a current session in R for a few days now, however the console has become somewhat unresponsive. I cannot get the command prompt to become 'active', though I can click on some of the menus from the menu bar. However, the "save workspace" menu option is unresponsive. Is there a way to access and save the objects I have saved in my current R session? Maybe trying to access the folder R temporarily stores data in???
THanks