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

broken css and js in file:///run/ local file. #4598

Open
jkotra opened this issue Apr 30, 2019 · 1 comment
Open

broken css and js in file:///run/ local file. #4598

jkotra opened this issue Apr 30, 2019 · 1 comment

Comments

@jkotra
Copy link

jkotra commented Apr 30, 2019

Issue:

Broken css on page opened when jupyter notebook is executed.(automatically opened)

  • http://localhost:8888/ works just fine.

Log:

(AI) [jagadeesh@maxfunc ~]$ jupyter notebook
[I 14:39:42.300 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
[I 14:39:43.659 NotebookApp] Serving notebooks from local directory: /home/jagadeesh
[I 14:39:43.659 NotebookApp] The Jupyter Notebook is running at:
[I 14:39:43.660 NotebookApp] http://localhost:8888/?token=038aec47d4d27edbd623aeafef0c58e32ad3ba477b9c5c9e
[I 14:39:43.660 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:39:43.761 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///run/user/1000/jupyter/nbserver-3144-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=038aec47d4d27edbd623aeafef0c58e32ad3ba477b9c5c9e
[I 14:43:53.826 NotebookApp] Kernel started: 3d404127-2f27-4d04-b4d8-adb108db7df5
[I 14:43:54.840 NotebookApp] Adapting to protocol v5.1 for kernel 3d404127-2f27-4d04-b4d8-adb108db7df5

This automatically opens file:///run/user/1000/jupyter/nbserver-3144-open.html where css is broken.

environment

Linux maxfunc 5.0.9-2-MANJARO #1 SMP PREEMPT Sun Apr 21 07:11:08 UTC 2019 x86_64 GNU/Linux

Server Information:

You are using Jupyter notebook.

The version of the notebook server is: 5.7.8
The server is running on this version of Python:

Python 3.7.3 (default, Mar 27 2019, 22:11:17) 
[GCC 7.3.0]

Current Kernel Information:

Python 3.7.3 (default, Mar 27 2019, 22:11:17) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

Browser : Firefox Developer Edition 67.0b12 (64-bit)

Additional info

Firefox js console output:

Loading failed for the <script> with source “file:///static/components/es6-promise/promise.min.js?v=f004a16cb856e0ff11781d01ec5ca8fe”. nbserver-3144-open.html:18:1
Loading failed for the <script> with source “file:///static/components/preact/index.js?v=00a2fac73c670ce39ac53d26640eb542”. nbserver-3144-open.html:19:1
Loading failed for the <script> with source “file:///static/components/proptypes/index.js?v=c40890eb04df9811fcc4d47e53a29604”. nbserver-3144-open.html:20:1
Loading failed for the <script> with source “file:///static/components/preact-compat/index.js?v=aea8f6660e54b18ace8d84a9b9654c1c”. nbserver-3144-open.html:21:1
Loading failed for the <script> with source “file:///static/components/requirejs/require.js?v=951f856e81496aaeec2e71a1c2c0d51f”. nbserver-3144-open.html:22:1
ReferenceError: require is not defined nbserver-3144-open.html:24:7
Loading failed for the <script> with source “file:///static/tree/js/main.min.js?v=255071046c54ea22f16c5bbbdcb5fca8”. nbserver-3144-open.html:347:1

screenshot:

Screenshot

@jkotra jkotra changed the title broken css in local file. broken css and js in file:///run/ local file. Apr 30, 2019
@jkotra
Copy link
Author

jkotra commented May 3, 2019

upon further testing,this is just problem specific to browser.

it's redirecting fine in chromium and firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant