-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error when starting notebook from a hidden folder #2382
Comments
(this started after I upgraded to 5.0, and it's also happening with jupyter lab FWIW |
I'm also seeing the same thing after updating a Windows install. But in my case the folder is not really hidden. I have a bunch of notebooks stored in my .ipython folder. When running
If you right-click properties on the .ipython folder it will look like the read-only box is checked. But this is true for all folders in windows and is misleading (it's not really readonly). This can be verified using:
Here's a copy of the server error message:
|
I think our 'is it hidden' check always respects the Unix convention (files starting with a . are hidden), as well as checking the hidden attribute on Windows. We probably shouldn't be checking the directory where you start the notebook server, though. |
On the windows side version the jupyter client 4.4.0 works fine with when starting in a directory with a leading . in the name). Something new was introduced in 5.0.0 that breaks this behavior. |
Error still present |
I have the same issue in my Mac book.
|
This error occurs if you set c.NotebookApp.notebook_dir in jupyter_notebook_config to a drive letter rather than a folder. See issue# 3133 ContinuumIO/anaconda-issues#3133 |
Thanks, after unhide folder it is working. |
even after checking hide folder in windows for anaconda folder im getting this message pls help |
i also mark anaconda folder as un hidden and read only but this does not resolve my problem |
And please keep it civil even when responding to other people who may not have been completely civil themselves. Sweary comments make everyone angry and unproductive. The comment I'm referring to has been deleted, but everyone who's commented on this issue got it by email already. So I wanted to post this before anyone feels the need to make their own angry response. Take a deep breath and move on. (I know this can be difficult - I bit back the urge to write something snarkier in my own response, and I could probably have bitten it further back than I did. Thanks @choldgraf for getting the discussion back on track after that.) |
I've opened #2907 to address this as we discussed, by allowing starting the notebook server in a hidden directory. Looking at the code, I wonder if this was actually an oversight all along; I think the |
* The root directory of the notebook server should never be hidden Closes gh-2382 * Test that root dir is not hidden
🎉 🎉 🎉 🎉 woooo @takluyver 🎉 🎉 🎉 🎉 |
I faced the same issue. Here is what I have done :
|
I am getting below error while opening 'jupyter notebook', i tried with other port also but it didn't work. Can anyone help me on this ? I am using windows 10.
[I 16:21:50.440 NotebookApp] Accepting one-time-token-authenticated connection from ::1 |
@goanpeca : Thanks for you quick response but it didn't help. When i installed Anaconda last week at that it worked but this week, suddenly i started getting this error. |
What does |
When I run anaconda-navigator , I am getting following issues. How can I solve this ?
|
I think the only bit there that's actually an error is the line about |
maybe you should try 'pip3 install --upgrade jupyter ' i solved it with this way |
@hichoe95 Thank you so much , I solved this proplem too .. |
just check if your directory is hidden |
I wanted to add that this error message also appears when you try to configure jupyter to use a directory where you don't have file access. For example,
where "notebooks" is a directory not accessible able to you. This unlikely scenario happened to me when IT copied a folder to my home directory but did not properly set the file permissions on it. |
I'm getting a 404 error when I start a jupyter notebook and point it to a hidden folder.
Note: this is resolved, see update below
For me this was enough to recreate the problem:
Update
This is not an error, but is expected behavior. Jupyter Notebooks don't serve hidden folders for safety reasons. Newer versions of the notebook server make it possible to launch the server from a hidden folder. Try running:
pip install --upgrade jupyter
The text was updated successfully, but these errors were encountered: