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

1.0.0a1 shows blank screen in both firefox and chrome (windows 7) #3887

Closed
Norfeldt opened this issue Aug 3, 2013 · 16 comments
Closed

1.0.0a1 shows blank screen in both firefox and chrome (windows 7) #3887

Norfeldt opened this issue Aug 3, 2013 · 16 comments
Milestone

Comments

@Norfeldt
Copy link

Norfeldt commented Aug 3, 2013

I tried upgrading to the newest version (upgraded from 0.13.1 to 1.0.0a1) in order to be able to create pdf, but couldn't make it work since both "-f" and "-to latext" was not recognized flags. I eventually gave up and wanted to work on my notebook.

But when opening the IPython Dashboard it was totally blank white in all browsers. Tried a restart (well it is a windows machine) and it didn't help. I then downgraded to 0.13.2 and it worked.

@minrk
Copy link
Member

minrk commented Aug 3, 2013

Any information in the javascript console?

@Norfeldt
Copy link
Author

Norfeldt commented Aug 3, 2013

If you are talking about the cmd console then it looks normal.

Else I don't know where the JavaScript console is located.

I tried launching both a profile and default notebook but the results were
the same.

Venlig Hilsen / Yours Sincerely
Lasse Nørfeldt

Any information in the javascript console?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3887#issuecomment-22057138
.

@minrk
Copy link
Member

minrk commented Aug 4, 2013

In Chrome, it is View/Developer/Javascript Console
In Firefox, it is Tools/Web Developer/Web Console

@Norfeldt
Copy link
Author

Norfeldt commented Aug 4, 2013

[20:30:35.555] Expected declaration but found ''. Skipped to next
declaration. @ http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.555] Unknown property 'box-sizing'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.557] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.557] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.558] Unknown property 'speak'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1033
[20:30:35.558] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1042
[20:30:35.558] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1043
[20:30:35.558] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1044
[20:30:35.558] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1045
[20:30:35.558] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1046
[20:30:35.558] Expected declaration but found '
'. Skipped to next
declaration. @ http://127.0.0.1:8888/static/style/style.min.css:1062
[20:30:35.558] Expected declaration but found '*'. Skipped to next
declaration. @ http://127.0.0.1:8888/static/style/style.min.css:1063
[20:30:35.558] Error in parsing value for 'filter'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1065
[20:30:35.558] Error in parsing value for 'filter'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1066
[20:30:35.558] Error in parsing value for 'filter'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1067
[20:30:35.559] Unknown property 'box-sizing'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1372
[20:30:35.559] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1374
[20:30:35.559] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1374
[20:30:35.559] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1374
[20:30:35.559] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1375
[20:30:35.559] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1376
[20:30:35.559] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1376
[20:30:35.559] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1376
[20:30:35.559] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1377
[20:30:35.559] Unknown property 'box-direction'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1378
[20:30:35.559] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1379
[20:30:35.559] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1380
[20:30:35.559] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1381
[20:30:35.559] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1382
[20:30:35.559] Unknown property '-moz-box-flex-group'. Declaration
dropped. @ http://127.0.0.1:8888/static/style/style.min.css:1383
[20:30:35.559] Unknown property 'box-flex-group'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1383
[20:30:35.559] Unknown property '-moz-box-flex-group'. Declaration
dropped. @ http://127.0.0.1:8888/static/style/style.min.css:1384
[20:30:35.559] Unknown property 'box-flex-group'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1384
[20:30:35.559] Unknown property 'box-pack'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1385
[20:30:35.559] Unknown property 'box-pack'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1386
[20:30:35.559] Unknown property 'box-pack'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1387
[20:30:35.559] Expected color but found 'none'. Error in parsing value for
'background-color'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1403
[20:30:35.559] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1437
[20:30:35.559] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1437
[20:30:35.559] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1437
[20:30:35.559] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1457
[20:30:35.559] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1457
[20:30:35.559] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1457
[20:30:35.559] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1460
[20:30:35.559] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1460
[20:30:35.559] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1460
[20:30:35.559] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1461
[20:30:35.559] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1462
[20:30:35.559] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1462
[20:30:35.559] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1462
[20:30:35.559] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1464
[20:30:35.559] Expected url(), url-prefix(), or domain() in @-moz-document
rule but found '{'. @ http://127.0.0.1:8888/static/style/style.min.css:1468
[20:30:35.559] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1471
[20:30:35.559] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1472
[20:30:35.560] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1502
[20:30:35.560] Error in parsing value for 'display'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1513
[20:30:35.560] Unknown property 'box-orient'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1513
[20:30:35.560] Unknown property 'box-align'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1513
[20:30:35.560] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1514
[20:30:35.560] Unknown property 'box-flex'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1515
[20:30:35.560] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1567
[20:30:35.560] Unknown property '-moz-box-shadow'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1573
[20:30:35.560] Unknown property '-moz-border-radius'. Declaration dropped.
@ http://127.0.0.1:8888/static/style/style.min.css:1574
[20:30:35.586] ReferenceError: require is not defined @
http://127.0.0.1:8888/:29
[20:30:35.635] ReferenceError: $ is not defined @
http://127.0.0.1:8888/static/tree/js/main.js:13

Yours Sincerely / Venlig hilsen
Lasse Nørfeldt
*
*
MSc in Pharmaceutical Sciences
mobil : +45 42585002
mail: lasse@norfeldt.dk
twitter: @Norfeldt http://twitter.com/norfeldt

On Sun, Aug 4, 2013 at 3:29 AM, Min RK notifications@github.com wrote:

In Chrome, it is View/Developer/Javascript Console
In Firefox, it is Tools/Web Developer/Web Console


Reply to this email directly or view it on GitHubhttps://github.com//issues/3887#issuecomment-22065102
.

@Carreau
Copy link
Member

Carreau commented Aug 4, 2013

[20:30:35.555] Expected declaration but found '*'. Skipped to next
declaration. @ http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.555] Unknown property 'box-sizing'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1032

Css error, don't matter, If it annoys you you shoudl be able to deactivate them from Firebug, don't remember how though.

[20:30:35.586] ReferenceError: require is not defined @http://127.0.0.1:8888/:29
[20:30:35.635] ReferenceError: $ is not defined @http://127.0.0.1:8888/static/tree/js/main.js:13

This is more interesting. your browser seem to not load jQuery and require.js
can you try to manually access the 2 following urls ? Do you get a 404 or something

http://127.0.0.1:8888/static/components/jquery/jquery.min.js
http://127.0.0.1:8888/static/components/requirejs/require.js

Is there any chance that you have 2 version of IPython installed and that something picks up the wrong version ?

@Norfeldt
Copy link
Author

Norfeldt commented Aug 5, 2013

I uninstalled all my 0.13.X ipython and installed 1.0.1a

I now get this error when starting ipython notebook

WARNING:root:404 GET /static/components/requirejs/require.js (127.0.0.1)
1.00ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1)
1.00ms
WARNING:root:404 GET
/static/components/bootstrap/bootstrap/js/bootstrap.min.js(127.0.0.1) 0.00ms
WARNING:root:404 GET
/static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 0.00ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1)
1.00ms
WARNING:root:404 GET
/static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 1.00ms
WARNING:root:404 GET
/static/components/bootstrap/bootstrap/js/bootstrap.min.js(127.0.0.1) 0.00ms

Yours Sincerely / Venlig hilsen
Lasse Nørfeldt
*
*
MSc in Pharmaceutical Sciences
mobil : +45 42585002
mail: lasse@norfeldt.dk
twitter: @Norfeldt http://twitter.com/norfeldt

On Sun, Aug 4, 2013 at 10:33 PM, Matthias Bussonnier <
notifications@github.com> wrote:

[20:30:35.555] Expected declaration but found '*'. Skipped to next
declaration. @ http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.555] Unknown property 'box-sizing'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1032

Css error, don't matter, If it annoys you you shoudl be able to deactivate
them from Firebug, don't remember how though.

[20:30:35.586] ReferenceError: require is not defined @
http://127.0.0.1:8888/:29

[20:30:35.635] ReferenceError: $ is not defined @
http://127.0.0.1:8888/static/tree/js/main.js:13

This is more interesting. your browser seem to not load jQuery and
require.js
can you try to manually access the 2 following urls ? Do you get a 404 or
something

http://127.0.0.1:8888/static/components/jquery/jquery.min.jshttp://127.0.0.1:8888/static/components/requirejs/require.js

Is there any chance that you have 2 version of IPython installed and that
something picks up the wrong version ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3887#issuecomment-22078343
.

@Norfeldt
Copy link
Author

Norfeldt commented Aug 5, 2013

not IPython 1.0.1a but IPython 1.0.0a1

Yours Sincerely / Venlig hilsen
Lasse Nørfeldt
*
*
MSc in Pharmaceutical Sciences
mobil : +45 42585002
mail: lasse@norfeldt.dk
twitter: @Norfeldt http://twitter.com/norfeldt

On Mon, Aug 5, 2013 at 8:55 AM, Lasse Nørfeldt lasse@norfeldt.dk wrote:

I uninstalled all my 0.13.X ipython and installed 1.0.1a

I now get this error when starting ipython notebook

WARNING:root:404 GET /static/components/requirejs/require.js (127.0.0.1)
1.00ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1)
1.00ms
WARNING:root:404 GET
/static/components/bootstrap/bootstrap/js/bootstrap.min.js(127.0.0.1) 0.00ms
WARNING:root:404 GET
/static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 0.00ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1)
1.00ms
WARNING:root:404 GET
/static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 1.00ms
WARNING:root:404 GET
/static/components/bootstrap/bootstrap/js/bootstrap.min.js(127.0.0.1) 0.00ms

Yours Sincerely / Venlig hilsen
Lasse Nørfeldt
*
*
MSc in Pharmaceutical Sciences
mobil : +45 42585002
mail: lasse@norfeldt.dk
twitter: @Norfeldt http://twitter.com/norfeldt

On Sun, Aug 4, 2013 at 10:33 PM, Matthias Bussonnier <
notifications@github.com> wrote:

[20:30:35.555] Expected declaration but found '*'. Skipped to next
declaration. @ http://127.0.0.1:8888/static/style/style.min.css:1032
[20:30:35.555] Unknown property 'box-sizing'. Declaration dropped. @
http://127.0.0.1:8888/static/style/style.min.css:1032

Css error, don't matter, If it annoys you you shoudl be able to
deactivate them from Firebug, don't remember how though.

[20:30:35.586] ReferenceError: require is not defined @
http://127.0.0.1:8888/:29

[20:30:35.635] ReferenceError: $ is not defined @
http://127.0.0.1:8888/static/tree/js/main.js:13

This is more interesting. your browser seem to not load jQuery and
require.js
can you try to manually access the 2 following urls ? Do you get a 404 or
something

http://127.0.0.1:8888/static/components/jquery/jquery.min.jshttp://127.0.0.1:8888/static/components/requirejs/require.js

Is there any chance that you have 2 version of IPython installed and that
something picks up the wrong version ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3887#issuecomment-22078343
.

@Carreau
Copy link
Member

Carreau commented Aug 5, 2013

not IPython 1.0.1a but IPython 1.0.0a1

Yeah, we translated :-)

WARNING:root:404 GET /static/components/requirejs/require.js (127.0.0.1)
1.00ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1)
1.00ms
WARNING:root:404 GET
/static/components/bootstrap/bootstrap/js/bootstrap.min.js(127.0.0.1) 0.00ms
WARNING:root:404 GET
/static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 0.00ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1)
1.00ms
WARNING:root:404 GET
/static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 1.00ms
WARNING:root:404 GET
/static/components/bootstrap/bootstrap/js/bootstrap.min.js(127.0.0.1) 0.00ms

This mean IPython is not picking up files in the right place. How did you installed ? Pip ?
Do you have custom config ? How did you installed (pip?)

@minrk
Copy link
Member

minrk commented Aug 5, 2013

Can you try installing the RC?

pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0-rc1.tar.gz

@Norfeldt
Copy link
Author

Norfeldt commented Aug 6, 2013

That did the trick! Thank you very much

(what a fresh look the notebook just got :D )

Yours Sincerely / Venlig hilsen
Lasse Nørfeldt
*
*
MSc in Pharmaceutical Sciences
mobil : +45 42585002
mail: lasse@norfeldt.dk
twitter: @Norfeldt http://twitter.com/norfeldt

On Mon, Aug 5, 2013 at 6:57 PM, Min RK notifications@github.com wrote:

Can you try installing the RC?

pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0-rc1.tar.gz


Reply to this email directly or view it on GitHubhttps://github.com//issues/3887#issuecomment-22120002
.

@jdfreder
Copy link
Member

jdfreder commented Aug 7, 2013

Did you get ipython nbconvert *.ipynb --to latex --post pdf to work?

@minrk minrk closed this as completed Aug 7, 2013
@Norfeldt
Copy link
Author

@jdfreder Sorta... It made a lot of files and eventually a PDF, but the layout was not good and images were missing.
For now I believe that creating a pdf of the html print out is the best option.. Please see #3402

@jakobgager
Copy link
Contributor

When trying 1.1.0-dev (backport version) I get the same issue (not found js components) - blank dashboard.
The console says:

WARNING:root:404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (127.0.0.1) 0.54ms
WARNING:root:404 GET /static/components/requirejs/require.js (127.0.0.1) 0.46ms
WARNING:root:404 GET /static/components/jquery/jquery.min.js (127.0.0.1) 0.38ms
WARNING:root:404 GET /static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 0.44ms
WARNING:root:404 GET /static/components/bootstrap/bootstrap/js/bootstrap.min.js (127.0.0.1) 0.48ms

The strange thing is 1.0.0 works flawlessly besides #3968 (worked before upgrading and after removal of 1.1.0-dev).
Currently, I have a system-wide 0.13.1 installation and a user installation of 1.1.0-dev (easy_install --prefix...)

@jakobgager
Copy link
Contributor

Seems like the CodeMirror components didn't get copied with easy_install. I simply copied those from 1.0.0 and now it seems to work fine.

@Norfeldt
Copy link
Author

Also the PDF print out or just the .pynb code?

@jakobgager
Copy link
Contributor

PDFs are created using nbconvert and latex this works fine as well, however, this should be unrelated to the Codemirror Components issue.

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

No branches or pull requests

5 participants