Building on windows

Hi,

I am interested in trying to understand Bokeh better. To this end I have been trying to build on windows
following the Getting Set Up instructions.

I have successfully built 0.12.4 and executed the Line
example from the Quick start page.

However when I try to build 0.12.5 I find that the above
Line example does not display and I get the following exception

SCRIPT5007: Unable to get property ‘Eq’ of undefined or
null reference

File: bokeh.js, Line: 2653, Column: 1

With the stack frame

Anonymous function [Line: 35, Col: 1], solver.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], side_panel.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], annotation.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 3, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 6, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], base.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], embed.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 5, Col: 1], main.js

newRequire [Line: 18, Col: 1], prelude.js

outer [Line: 26, Col: 1], prelude.js

Anonymous function [Line: 1, Col: 1], prelude.js

Global code [Line: 1, Col: 1], prelude.js

I think I read in a thread somewhere that you do not build
on windows so this may not be important to you. Otherwise if you wish I can
raise this on Github?

Cheers

Peter

Hi,

Have you been sure to run “npm update” after switching between release tags? The JS deps can change between releases and you must have node_modules completely up to date for the specific repo state you are building for.

Thanks,

Bryan

···

On May 4, 2017, at 13:42, Peter Anderson [email protected] wrote:

Hi,

I am interested in trying to understand Bokeh better. To this end I have been trying to build on windows
following the Getting Set Up instructions.

I have successfully built 0.12.4 and executed the Line
example from the Quick start page.

However when I try to build 0.12.5 I find that the above
Line example does not display and I get the following exception

SCRIPT5007: Unable to get property ‘Eq’ of undefined or
null reference

File: bokeh.js, Line: 2653, Column: 1

With the stack frame

Anonymous function [Line: 35, Col: 1], solver.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], side_panel.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], annotation.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 3, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 6, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], base.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], embed.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 5, Col: 1], main.js

newRequire [Line: 18, Col: 1], prelude.js

outer [Line: 26, Col: 1], prelude.js

Anonymous function [Line: 1, Col: 1], prelude.js

Global code [Line: 1, Col: 1], prelude.js

I think I read in a thread somewhere that you do not build
on windows so this may not be important to you. Otherwise if you wish I can
raise this on Github?

Cheers

Peter

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/024c2306-02e6-4e4a-a4d2-a83b7a0c3632%40continuum.io.

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

Hi,

···

On Fri, May 5, 2017 at 1:24 PM, Bryan Van de Ven [email protected] wrote:

Hi,

Have you been sure to run “npm update” after switching between release tags? The JS deps can change between releases and you must have node_modules completely up to date for the specific repo state you are building for.

one should run npm install; npm prune. The first command updates dependencies to package.json specification and the other removes unused packages. This is the most reliable approach next to removing node_modules, but also a lot faster.

Mateusz

Thanks,

Bryan

On May 4, 2017, at 13:42, Peter Anderson [email protected] wrote:

Hi,

I am interested in trying to understand Bokeh better. To this end I have been trying to build on windows
following the Getting Set Up instructions.

I have successfully built 0.12.4 and executed the Line
example from the Quick start page.

However when I try to build 0.12.5 I find that the above
Line example does not display and I get the following exception

SCRIPT5007: Unable to get property ‘Eq’ of undefined or
null reference

File: bokeh.js, Line: 2653, Column: 1

With the stack frame

Anonymous function [Line: 35, Col: 1], solver.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], side_panel.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], annotation.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 3, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 6, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], base.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], embed.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 5, Col: 1], main.js

newRequire [Line: 18, Col: 1], prelude.js

outer [Line: 26, Col: 1], prelude.js

Anonymous function [Line: 1, Col: 1], prelude.js

Global code [Line: 1, Col: 1], prelude.js

I think I read in a thread somewhere that you do not build
on windows so this may not be important to you. Otherwise if you wish I can
raise this on Github?

Cheers

Peter

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/024c2306-02e6-4e4a-a4d2-a83b7a0c3632%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/D3217080-2069-478D-849B-14890E683373%40continuum.io.

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

Hi,

···

On Thu, May 4, 2017 at 10:42 PM, Peter Anderson [email protected] wrote:

Hi,

I am interested in trying to understand Bokeh better. To this end I have been trying to build on windows
following the Getting Set Up instructions.

I have successfully built 0.12.4 and executed the Line
example from the Quick start page.

However when I try to build 0.12.5 I find that the above
Line example does not display and I get the following exception

SCRIPT5007: Unable to get property ‘Eq’ of undefined or
null reference

File: bokeh.js, Line: 2653, Column: 1

With the stack frame

Anonymous function [Line: 35, Col: 1], solver.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], side_panel.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], annotation.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 3, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 6, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], base.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], embed.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 5, Col: 1], main.js

newRequire [Line: 18, Col: 1], prelude.js

outer [Line: 26, Col: 1], prelude.js

Anonymous function [Line: 1, Col: 1], prelude.js

Global code [Line: 1, Col: 1], prelude.js

I think I read in a thread somewhere that you do not build
on windows so this may not be important to you. Otherwise if you wish I can
raise this on Github?

I can confirm that bokehjs master is being built badly on windows. Tests fail with similar error as shown above. Please report this bug on github.

Mateusz

Cheers

Peter

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/024c2306-02e6-4e4a-a4d2-a83b7a0c3632%40continuum.io.

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

Hi,

Thanks for taking the time to clarify this. I will post to Github when I gather a bit more info.

Cheers

Peter

···

On Friday, May 5, 2017 at 5:41:37 PM UTC+1, mateusz.paprocki wrote:

Hi,

On Thu, May 4, 2017 at 10:42 PM, Peter Anderson [email protected] wrote:

Hi,

I am interested in trying to understand Bokeh better. To this end I have been trying to build on windows
following the Getting Set Up instructions.

I have successfully built 0.12.4 and executed the Line
example from the Quick start page.

However when I try to build 0.12.5 I find that the above
Line example does not display and I get the following exception

SCRIPT5007: Unable to get property ‘Eq’ of undefined or
null reference

File: bokeh.js, Line: 2653, Column: 1

With the stack frame

Anonymous function [Line: 35, Col: 1], solver.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], side_panel.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 7, Col: 1], annotation.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 3, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 6, Col: 1], index.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], base.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 4, Col: 1], embed.js

newRequire [Line: 18, Col: 1], prelude.js

foo [Line: 14, Col: 1], prelude.js

Anonymous function [Line: 5, Col: 1], main.js

newRequire [Line: 18, Col: 1], prelude.js

outer [Line: 26, Col: 1], prelude.js

Anonymous function [Line: 1, Col: 1], prelude.js

Global code [Line: 1, Col: 1], prelude.js

I think I read in a thread somewhere that you do not build
on windows so this may not be important to you. Otherwise if you wish I can
raise this on Github?

I can confirm that bokehjs master is being built badly on windows. Tests fail with similar error as shown above. Please report this bug on github.

Mateusz

Cheers

Peter

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/024c2306-02e6-4e4a-a4d2-a83b7a0c3632%40continuum.io.

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