Skip to content
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 : Not Found when trying to open a png file #272

Closed
ivsanro1 opened this issue Mar 14, 2024 · 1 comment · Fixed by #287
Closed

404 : Not Found when trying to open a png file #272

ivsanro1 opened this issue Mar 14, 2024 · 1 comment · Fixed by #287
Labels
bug Something isn't working

Comments

@ivsanro1
Copy link

Description

When I try to open a png file using the jupyter file explorer (while using nbclassic), it says:

404 : Not Found

You are requesting a page that does not exist!

image

But as soon as I remove nbclassic from the url, it works properly, showing the image.

Reproduce

  1. Launch jupyter with nbclassic: jupyter nbclassic
  2. Create a png picture and put it where you can access with the explorer from jupyter
  3. Be sure that you're using the explorer with nbclassic (url has to be like this: http://localhost:3025/nbclassic/view/repo/image.png
  4. Try to open it with jupyter explorer (nbclassic)
  5. Once it says 404 not found, remove nbclassic form url to use original jupyter explorer, and it shows the image properly

Expected behavior

Image shows fine, not indicating a 404 error. Just like it works using original jupyter explorer

Context

Operating system (server):

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

Libraries:

jupyter==1.0.0
nbclassic==1.0.0

Python

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
@RRosio
Copy link
Collaborator

RRosio commented May 29, 2024

I wanted to note here that I can replicate this behavior after launching NbClassic when Notebook 7 has been installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants