Question about Bokeh server not generating graphs

Hi,
So I installed bokeh 0.9.2 on my Debian 8 remotely, and I got the bokeh server up and running. However, when I tried an example file with the server on my local PC, it shows the document but does not generate graph when I click on it. Here’s the example file that I used:

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

I’m not sure if I’m missing some packages or it’s the bokeh server’s problem or both, but the server log shows 200. Could someone explain what I’m missing? Thanks!

Ben

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

Hi Ben,

As Caroline mentioned you are using push instead of show. show push internally and also auto shows the plot you have just created while push won’t. There some other small other issues on the example that are worth mentioning:

···

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

You don’t need to explicitly create a session here, unless you have specific needs (which doesn’t seem to be the case), the plotting interface (that you are using) is taking care of that for you as it implicitly creates a session.

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

output_server doesn’t get an html filename as first argument but instead the name of the document that is going to hold the plots and other objects you’ll create. Imagine it as just a namespace where those objects are specified and is used by bokeh to serialize and pass objects from python to javascript and back…

Again, following up on what said about sessions, you don’t need to pass session here unless you have specific needs that I can’t think about right now…

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

yeap, use show :wink:

I hope it’s helpful

Thanks

Fabio

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/cd28a03c-d377-4bf0-bc0e-2b4abcb7d8e7%40continuum.io.

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

Fabio Pliger

Hi thanks for replying to me!
I tried show first actually but it didn’t work. The show() will make the terminal become a ‘dead’ one with ‘link to this’ on top, so I checked around and found push() would basically do the same thing without making the terminal ‘dead’.

Also, the reason I added the session part is because when I run the file, it tells me that:

Using saved session configuration for http://10.8.5.244:5006/

To override, pass ‘load_from_config=False’ to Session

So I added the session part to avoid this.

In case my explanation is confusing, I uploaded 2 pics to show what happens when I click on the document. The only thing that changes is the url, but no plot is showing on the server.

在 2015年7月27日星期一 UTC-7上午2:53:54,Fabio Pliger写道:

···

Hi Ben,

As Caroline mentioned you are using push instead of show. show push internally and also auto shows the plot you have just created while push won’t. There some other small other issues on the example that are worth mentioning:

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

You don’t need to explicitly create a session here, unless you have specific needs (which doesn’t seem to be the case), the plotting interface (that you are using) is taking care of that for you as it implicitly creates a session.

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

output_server doesn’t get an html filename as first argument but instead the name of the document that is going to hold the plots and other objects you’ll create. Imagine it as just a namespace where those objects are specified and is used by bokeh to serialize and pass objects from python to javascript and back…

Again, following up on what said about sessions, you don’t need to pass session here unless you have specific needs that I can’t think about right now…

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

yeap, use show :wink:

I hope it’s helpful

Thanks

Fabio

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/cd28a03c-d377-4bf0-bc0e-2b4abcb7d8e7%40continuum.io.

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


Fabio Pliger

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

···

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

···

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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

Fabio Pliger

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

···

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

Just to add a bit more detail. I’m running bokeh-server via ssh on a remote machine. On the remote machine I run 'bokeh-server --ip “0.0.0.0” and then run the code:

from bokeh.plotting import cursession, figure, output_server, show, push

output_server(“line2”)

p = figure(plot_width=400, plot_height=400)

add a line renderer

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

I then direct my local browser to remote_ip:5006 and I can see ‘Bokeh documents for defaultuser’ and below that a link ‘Document: line 2’. However when I click on the link the url changes but I still see the same document listing page, ie. I don’t see the plot.

Any help would be very welcome as this has been bugging me for several days now. Thanks.

Steve

···

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

Hi,

I have faced the same problem with bokeh-server 0.9.2, but then I’ve installed
0.8.2 version and now everything works correctly.

···

On Tuesday, August 18, 2015 at 6:09:52 AM UTC-4, Steven Hutt wrote:

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

Hi,

Mmmm… that’s weird. In that case it seems that it’s not a configuration issue. Can you open an issue providing as much information as possible to reproduce the problem so we can better triage, track and make plans for this?

Thank you

Fabio

···

On Tue, Aug 18, 2015 at 1:47 PM, qashqay.sol [email protected] wrote:

Hi,

I have faced the same problem with bokeh-server 0.9.2, but then I’ve installed
0.8.2 version and now everything works correctly.

On Tuesday, August 18, 2015 at 6:09:52 AM UTC-4, Steven Hutt wrote:

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

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/a88e68d7-494a-41c0-be44-5113a818314d%40continuum.io.

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

Fabio Pliger

Senior Software Engineer, Bokeh

Will do.

···

On Tuesday, August 18, 2015 at 2:28:03 PM UTC+1, Fabio Pliger wrote:

Hi,

Mmmm… that’s weird. In that case it seems that it’s not a configuration issue. Can you open an issue providing as much information as possible to reproduce the problem so we can better triage, track and make plans for this?

Thank you

Fabio

On Tue, Aug 18, 2015 at 1:47 PM, qashqay.sol [email protected] wrote:

Hi,

I have faced the same problem with bokeh-server 0.9.2, but then I’ve installed
0.8.2 version and now everything works correctly.

On Tuesday, August 18, 2015 at 6:09:52 AM UTC-4, Steven Hutt wrote:

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

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/a88e68d7-494a-41c0-be44-5113a818314d%40continuum.io.

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


Fabio Pliger

Senior Software Engineer, Bokeh

Before I lodge an issue, wanted to check that the warning in bokeh-server start up wasn’t a problem. Complains about blaze. I’m using bokeh as defaultuser.

ubuntu:~$ bokeh-server --ip “0.0.0.0”

Bokeh Server Configuration

···

==========================

python version : 2.7.6

bokeh version : 0.9.2

listening : 0.0.0.0:5006

backend : memory

python options : debug:OFF, verbose:OFF, filter-logs:OFF, multi-user:OFF

js options : splitjs:OFF, debugjs:OFF

2015-08-18 14:14:35,292:INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt

2015-08-18 14:14:35,309:INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt

/usr/local/lib/python2.7/dist-packages/bokeh/server/blaze/init.py:21: UserWarning: could not import multiuser blaze server No module named mbs.views. This is fine if you do not intend to use blaze capabilities in the bokeh server

warnings.warn(msg)

On Tuesday, August 18, 2015 at 2:53:31 PM UTC+1, Steven Hutt wrote:

Will do.

On Tuesday, August 18, 2015 at 2:28:03 PM UTC+1, Fabio Pliger wrote:

Hi,

Mmmm… that’s weird. In that case it seems that it’s not a configuration issue. Can you open an issue providing as much information as possible to reproduce the problem so we can better triage, track and make plans for this?

Thank you

Fabio

On Tue, Aug 18, 2015 at 1:47 PM, qashqay.sol [email protected] wrote:

Hi,

I have faced the same problem with bokeh-server 0.9.2, but then I’ve installed
0.8.2 version and now everything works correctly.

On Tuesday, August 18, 2015 at 6:09:52 AM UTC-4, Steven Hutt wrote:

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

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/a88e68d7-494a-41c0-be44-5113a818314d%40continuum.io.

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


Fabio Pliger

Senior Software Engineer, Bokeh

No, this warning shouldn’t have anything to do with the issue and is just related to a recent change to remove an old and specific dependency (multiuserblazeserver).

Thanks again.

Fabio

···

On Tue, Aug 18, 2015 at 4:17 PM, Steven Hutt [email protected] wrote:

Before I lodge an issue, wanted to check that the warning in bokeh-server start up wasn’t a problem. Complains about blaze. I’m using bokeh as defaultuser.

ubuntu:~$ bokeh-server --ip “0.0.0.0”

Bokeh Server Configuration

==========================

python version : 2.7.6

bokeh version : 0.9.2

listening : 0.0.0.0:5006

backend : memory

python options : debug:OFF, verbose:OFF, filter-logs:OFF, multi-user:OFF

js options : splitjs:OFF, debugjs:OFF

2015-08-18 14:14:35,292:INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt

2015-08-18 14:14:35,309:INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt

/usr/local/lib/python2.7/dist-packages/bokeh/server/blaze/init.py:21: UserWarning: could not import multiuser blaze server No module named mbs.views. This is fine if you do not intend to use blaze capabilities in the bokeh server

warnings.warn(msg)

On Tuesday, August 18, 2015 at 2:53:31 PM UTC+1, Steven Hutt wrote:

Will do.

On Tuesday, August 18, 2015 at 2:28:03 PM UTC+1, Fabio Pliger wrote:

Hi,

Mmmm… that’s weird. In that case it seems that it’s not a configuration issue. Can you open an issue providing as much information as possible to reproduce the problem so we can better triage, track and make plans for this?

Thank you

Fabio

On Tue, Aug 18, 2015 at 1:47 PM, qashqay.sol [email protected] wrote:

Hi,

I have faced the same problem with bokeh-server 0.9.2, but then I’ve installed
0.8.2 version and now everything works correctly.

On Tuesday, August 18, 2015 at 6:09:52 AM UTC-4, Steven Hutt wrote:

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

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/a88e68d7-494a-41c0-be44-5113a818314d%40continuum.io.

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


Fabio Pliger

Senior Software Engineer, Bokeh

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/5614e4d5-7837-4502-8045-d56bb3db6947%40continuum.io.

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

Fabio Pliger

Senior Software Engineer, Bokeh

thanks

···

On Tuesday, August 18, 2015 at 3:29:42 PM UTC+1, Fabio Pliger wrote:

No, this warning shouldn’t have anything to do with the issue and is just related to a recent change to remove an old and specific dependency (multiuserblazeserver).

Thanks again.

Fabio

On Tue, Aug 18, 2015 at 4:17 PM, Steven Hutt [email protected] wrote:

Before I lodge an issue, wanted to check that the warning in bokeh-server start up wasn’t a problem. Complains about blaze. I’m using bokeh as defaultuser.

ubuntu:~$ bokeh-server --ip “0.0.0.0”

Bokeh Server Configuration

==========================

python version : 2.7.6

bokeh version : 0.9.2

listening : 0.0.0.0:5006

backend : memory

python options : debug:OFF, verbose:OFF, filter-logs:OFF, multi-user:OFF

js options : splitjs:OFF, debugjs:OFF

2015-08-18 14:14:35,292:INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt

2015-08-18 14:14:35,309:INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt

/usr/local/lib/python2.7/dist-packages/bokeh/server/blaze/init.py:21: UserWarning: could not import multiuser blaze server No module named mbs.views. This is fine if you do not intend to use blaze capabilities in the bokeh server

warnings.warn(msg)

On Tuesday, August 18, 2015 at 2:53:31 PM UTC+1, Steven Hutt wrote:

Will do.

On Tuesday, August 18, 2015 at 2:28:03 PM UTC+1, Fabio Pliger wrote:

Hi,

Mmmm… that’s weird. In that case it seems that it’s not a configuration issue. Can you open an issue providing as much information as possible to reproduce the problem so we can better triage, track and make plans for this?

Thank you

Fabio

On Tue, Aug 18, 2015 at 1:47 PM, qashqay.sol [email protected] wrote:

Hi,

I have faced the same problem with bokeh-server 0.9.2, but then I’ve installed
0.8.2 version and now everything works correctly.

On Tuesday, August 18, 2015 at 6:09:52 AM UTC-4, Steven Hutt wrote:

Hi,

I have exactly the same problem as Ben - did anyone find a solution?

Thanks,

Steve

On Tuesday, August 4, 2015 at 10:17:25 AM UTC+1, Fabio Pliger wrote:

Hi Ben,

I’m not sure about the current status of this… but it definitely works for me locally. Please let me know if you still have questions.

Cheers

Fabio

On Mon, Jul 27, 2015 at 7:32 PM, Ben [email protected] wrote:

Hi, thanks for replying to me!
I tried the show way at first but it didn’t work for me. Since push and show both push it to the server and I need to check the plot remotely, I switched from show to push.

在 2015年7月25日星期六 UTC-7下午7:10:17,Caroline Dikibo写道:

Hi Ben,

I’m new to Bokeh, but it seems that you didn’t call out “show”. I think that should generate your graph.

from bokeh.plotting import figure, output_server, show, push

from bokeh.session import Session

session = Session(root_url=‘http://10.8.5.244:5006/’, load_from_config=False)

output_server(“test.html”, url=‘http://10.8.5.244:5006/’, session=session)

p = figure()

p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)

push()

show§

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/550a6854-c55c-4f9e-8c15-b5d2fe53b34f%40continuum.io.

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


Fabio Pliger

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/a88e68d7-494a-41c0-be44-5113a818314d%40continuum.io.

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


Fabio Pliger

Senior Software Engineer, Bokeh

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/5614e4d5-7837-4502-8045-d56bb3db6947%40continuum.io.

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


Fabio Pliger

Senior Software Engineer, Bokeh