Loading bokeh js causes blank page in Firefox/Chrome

Hi…

i’m trying to use Bokeh but I can’t load the js file. The web browser shos a blank page when I open this html file (unless I cancel the js load):

<!DOCTYPE html>
<html >
  <head>
    <title>Bokeh test!!!</title>

    <link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" rel="stylesheet" type="text/css">
    <script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js">

</head>

<body>
<h1>Bokeh test!!!</h1>

</body>
</html>

Any help?

p.d.: I’ve tried with other versions (0.8.2) with the same results.

Hi,

···

On Thu, Sep 10, 2015 at 10:30 AM, [email protected] wrote:

Hi…

i’m trying to use Bokeh but I can’t load the js file. The web browser shos a blank page when I open this html file (unless I cancel the js load):

<!DOCTYPE html>
<html >
  <head>
    <title>Bokeh test!!!</title>

    <link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" rel="stylesheet" type="text/css">
    <script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js">

</head>

<body>
<h1>Bokeh test!!!</h1>

</body>
</html>

Any help?

You have to end . This one is obligatory. You don’t have to (or actually even shouldn’t) terminate tag (for example), because it doesn’t allow content, only attributes. If you wonder why you don’t see any content on the page, then the following is HTML as figured out by the web browser (chromium in this case):

Bokeh test!!!
          <link href="[http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css](http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css)" rel="stylesheet" type="text/css">
          <script src="[http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js](http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js)">

Bokeh test!!!

Notice where the inferred tag is.

On a side note, make sure to use the same version for bokeh’s javascript and CSS. Otherwise you may see some artefacts.

Mateusz

p.d.: I’ve tried with other versions (0.8.2) with the same results.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b98bf24b-d14f-43fc-be89-2986189cb1db%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Error in docs, issue filed here:

Bryan

···

On Sep 10, 2015, at 8:38 AM, Mateusz Paprocki <[email protected]> wrote:

Hi,

On Thu, Sep 10, 2015 at 10:30 AM, <[email protected]> wrote:
Hi...

i'm trying to use Bokeh but I can't load the js file. The web browser shos a blank page when I open this html file (unless I cancel the js load):

<!DOCTYPE html>
<html >
  <head>
    <title>Bokeh test!!!</title>
    
    <link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" rel="stylesheet" type="text/css">
    <script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js">
    
</h
>

<b
>

<h1>Bokeh test!!!</h
1>

</b
>

</h
>

Any help?

You have to end <script> tag with </script>. This one is obligatory. You don't have to (or actually even shouldn't) terminate <link> tag (for example), because it doesn't allow content, only attributes. If you wonder why you don't see any content on the page, then the following is HTML as figured out by the web browser (chromium in this case):

<html><head>
          <title>Bokeh test!!!</title>

              <link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" rel="stylesheet" type="text/css">
              <script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js">

</head>

<body>
<h1>Bokeh test!!!</h1>

</body>
</html>

</script>
</head><body></body></html>

Notice where the inferred </script> tag is.

On a side note, make sure to use the same version for bokeh's javascript and CSS. Otherwise you may see some artefacts.

Mateusz

p.d.: I've tried with other versions (0.8.2) with the same results.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b98bf24b-d14f-43fc-be89-2986189cb1db%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CANFzp8i4esWAr8JfJuH3cr5mtbntbERJm%3D35sgYGrS%3DjQ5k4uQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.