Bokeh Spectrogram Example Error

Hi,

I was trying to run Bokeh spectrogram example using bokeh server but facing the below error.

Inline image 1

016-11-02 12:36:16,075 404 POST /jsnlog.logger (::1) 32.00ms

016-11-02 12:36:16,153 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,262 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,371 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,480 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,588 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,698 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,808 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:16,917 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,026 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,134 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,244 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,354 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,463 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,572 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,680 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,790 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:17,900 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:18,009 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:18,118 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:18,226 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:18,336 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

016-11-02 12:36:18,446 Error thrown from periodic callback: TypeError("‘NoneType’ object is not iterable",)

Can anyone please help on this?

···

Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

Also with the surface3d example I am not able see anything on the web application. There is no error as such but while I am starting the application using bokeh serve --show main.py I am seeing the below output on the Command Line.

2016-11-02 12:45:30,368 Starting Bokeh server version 0.12.2

2016-11-02 12:45:30,398 Starting Bokeh server on port 5006 with applications at paths [‘/main’]

2016-11-02 12:45:30,398 Starting Bokeh server with process id: 11620

2016-11-02 12:45:31,319 200 GET /main (::1) 110.00ms

2016-11-02 12:45:32,395 WebSocket connection opened

2016-11-02 12:45:32,395 ServerConnection created

2016-11-02 12:45:32,490 404 POST /jsnlog.logger (::1) 110.00ms

2016-11-02 12:45:54,967 200 GET /main (::1) 32.00ms

2016-11-02 12:45:54,999 WebSocket connection closed: code=1001, reason=None

2016-11-02 12:45:55,875 WebSocket connection opened

2016-11-02 12:45:55,875 ServerConnection created

2016-11-02 12:45:55,907 404 POST /jsnlog.logger (::1) 47.00ms

Not sure what is the issue? Novice on bokeh so please bear with my basic questions.

···

On Wed, Nov 2, 2016 at 12:39 PM, Saurabh Heda [email protected] wrote:

Hi,

I was trying to run Bokeh spectrogram example using bokeh server but facing the below error.

016-11-02 12:36:16,075 404 POST /jsnlog.logger (::1) 32.00ms

016-11-02 12:36:16,153 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,262 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,371 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,480 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,588 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,698 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,808 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,917 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,026 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,134 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,244 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,354 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,463 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,572 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,680 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,790 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,900 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,009 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,118 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,226 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,336 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,446 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

Can anyone please help on this?

Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

Are you using the examples from the "master" branch on GitHub? If so, the master branch always has the very latest. If you are running an older release then that means the master branch examples might have code or features that are too new for you. If you are running an older release, you should check out the branch specific to your release, e.g

  https://github.com/bokeh/bokeh/tree/0.12.2/examples

Thanks,

Bryan

···

On Nov 2, 2016, at 2:20 AM, Saurabh Heda <[email protected]> wrote:

Also with the surface3d example I am not able see anything on the web application. There is no error as such but while I am starting the application using bokeh serve --show main.py I am seeing the below output on the Command Line.
2016-11-02 12:45:30,368 Starting Bokeh server version 0.12.2
2016-11-02 12:45:30,398 Starting Bokeh server on port 5006 with applications at paths ['/main']
2016-11-02 12:45:30,398 Starting Bokeh server with process id: 11620
2016-11-02 12:45:31,319 200 GET /main (::1) 110.00ms
2016-11-02 12:45:32,395 WebSocket connection opened
2016-11-02 12:45:32,395 ServerConnection created
2016-11-02 12:45:32,490 404 POST /jsnlog.logger (::1) 110.00ms
2016-11-02 12:45:54,967 200 GET /main (::1) 32.00ms
2016-11-02 12:45:54,999 WebSocket connection closed: code=1001, reason=None
2016-11-02 12:45:55,875 WebSocket connection opened
2016-11-02 12:45:55,875 ServerConnection created
2016-11-02 12:45:55,907 404 POST /jsnlog.logger (::1) 47.00ms

Not sure what is the issue? Novice on bokeh so please bear with my basic questions.

On Wed, Nov 2, 2016 at 12:39 PM, Saurabh Heda <[email protected]> wrote:

Hi,
I was trying to run Bokeh spectrogram example using bokeh server but facing the below error.

<image.png>

016-11-02 12:36:16,075 404 POST /jsnlog.logger (::1) 32.00ms
016-11-02 12:36:16,153 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,262 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,371 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,480 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,588 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,698 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,808 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:16,917 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,026 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,134 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,244 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,354 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,463 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,572 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,680 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,790 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:17,900 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:18,009 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:18,118 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:18,226 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:18,336 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
016-11-02 12:36:18,446 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)

Can anyone please help on this?

--
Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

--
Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

--
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/CAKVzR9BfB2WzGEqWdA%3DeDR80LG8xufDUCpazBOgnxivrxrZGBQ%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hi Bryan,
Thanks for feedback. Initially I downloaded the example set from the master branch but now I downloaded 0.12.2 example set still not able to run surface3d example. Getting the same error.

2016-11-03 10:39:36,854 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:36,959 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,066 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,168 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,197 received invalid integer in pong ‘’

Traceback (most recent call last):

File “D:\Anaconda2\lib\site-packages\bokeh\server\views\ws.py”, line 167, in on_pong

self.latest_pong = int(codecs.decode(data, ‘utf-8’))

ValueError: invalid literal for int() with base 10: ‘’

2016-11-03 10:39:37,273 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,378 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,482 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,588 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,694 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,799 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,901 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,002 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,104 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,209 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,312 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,411 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,512 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,611 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,717 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

···

On Wed, Nov 2, 2016 at 6:33 PM, Bryan Van de Ven [email protected] wrote:

Are you using the examples from the “master” branch on GitHub? If so, the master branch always has the very latest. If you are running an older release then that means the master branch examples might have code or features that are too new for you. If you are running an older release, you should check out the branch specific to your release, e.g

    [https://github.com/bokeh/bokeh/tree/0.12.2/examples](https://github.com/bokeh/bokeh/tree/0.12.2/examples)

Thanks,

Bryan

On Nov 2, 2016, at 2:20 AM, Saurabh Heda [email protected] wrote:

Also with the surface3d example I am not able see anything on the web application. There is no error as such but while I am starting the application using bokeh serve --show main.py I am seeing the below output on the Command Line.

2016-11-02 12:45:30,368 Starting Bokeh server version 0.12.2

2016-11-02 12:45:30,398 Starting Bokeh server on port 5006 with applications at paths [‘/main’]

2016-11-02 12:45:30,398 Starting Bokeh server with process id: 11620

2016-11-02 12:45:31,319 200 GET /main (::1) 110.00ms

2016-11-02 12:45:32,395 WebSocket connection opened

2016-11-02 12:45:32,395 ServerConnection created

2016-11-02 12:45:32,490 404 POST /jsnlog.logger (::1) 110.00ms

2016-11-02 12:45:54,967 200 GET /main (::1) 32.00ms

2016-11-02 12:45:54,999 WebSocket connection closed: code=1001, reason=None

2016-11-02 12:45:55,875 WebSocket connection opened

2016-11-02 12:45:55,875 ServerConnection created

2016-11-02 12:45:55,907 404 POST /jsnlog.logger (::1) 47.00ms

Not sure what is the issue? Novice on bokeh so please bear with my basic questions.

On Wed, Nov 2, 2016 at 12:39 PM, Saurabh Heda [email protected] wrote:

Hi,

I was trying to run Bokeh spectrogram example using bokeh server but facing the below error.

<image.png>

016-11-02 12:36:16,075 404 POST /jsnlog.logger (::1) 32.00ms

016-11-02 12:36:16,153 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,262 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,371 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,480 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,588 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,698 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,808 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,917 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,026 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,134 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,244 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,354 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,463 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,572 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,680 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,790 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,900 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,009 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,118 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,226 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,336 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,446 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

Can anyone please help on this?

Regards

Saurabh Heda

www.pg4research.blogspot.com

home.iitj.ac.in/~saurabh.heda

Regards

Saurabh Heda

www.pg4research.blogspot.com

home.iitj.ac.in/~saurabh.heda

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/CAKVzR9BfB2WzGEqWdA%3DeDR80LG8xufDUCpazBOgnxivrxrZGBQ%40mail.gmail.com.

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/231C64CE-74C1-49BA-B1B0-7D861078568C%40continuum.io.

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

Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

Hi,

I just noticed it looks like you ran "bokeh serve surface3d/main.py", is that correct? To run "directory style" apps, you need to start by passing the *directory* to bokeh server, i.e.

  bokeh serve surface3d

Apart from that, I am not sure. I just tested the app in both python 2 and python 3 environments with bokeh 0.12.2 installed, and they functioned as expected.

Bryan

···

On Nov 3, 2016, at 12:23 AM, Saurabh Heda <[email protected]> wrote:

Hi Bryan,
Thanks for feedback. Initially I downloaded the example set from the master branch but now I downloaded 0.12.2 example set still not able to run surface3d example. Getting the same error.

2016-11-03 10:39:36,854 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:36,959 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,066 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,168 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,197 received invalid integer in pong ''
Traceback (most recent call last):
  File "D:\Anaconda2\lib\site-packages\bokeh\server\views\ws.py", line 167, in on_pong
    self.latest_pong = int(codecs.decode(data, 'utf-8'))
ValueError: invalid literal for int() with base 10: ''
2016-11-03 10:39:37,273 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,378 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,482 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,588 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,694 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,799 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:37,901 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,002 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,104 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,209 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,312 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,411 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,512 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,611 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
2016-11-03 10:39:38,717 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)

On Wed, Nov 2, 2016 at 6:33 PM, Bryan Van de Ven <[email protected]> wrote:
Are you using the examples from the "master" branch on GitHub? If so, the master branch always has the very latest. If you are running an older release then that means the master branch examples might have code or features that are too new for you. If you are running an older release, you should check out the branch specific to your release, e.g

        https://github.com/bokeh/bokeh/tree/0.12.2/examples

Thanks,

Bryan

> On Nov 2, 2016, at 2:20 AM, Saurabh Heda <[email protected]> wrote:
>
> Also with the surface3d example I am not able see anything on the web application. There is no error as such but while I am starting the application using bokeh serve --show main.py I am seeing the below output on the Command Line.
> 2016-11-02 12:45:30,368 Starting Bokeh server version 0.12.2
> 2016-11-02 12:45:30,398 Starting Bokeh server on port 5006 with applications at paths ['/main']
> 2016-11-02 12:45:30,398 Starting Bokeh server with process id: 11620
> 2016-11-02 12:45:31,319 200 GET /main (::1) 110.00ms
> 2016-11-02 12:45:32,395 WebSocket connection opened
> 2016-11-02 12:45:32,395 ServerConnection created
> 2016-11-02 12:45:32,490 404 POST /jsnlog.logger (::1) 110.00ms
> 2016-11-02 12:45:54,967 200 GET /main (::1) 32.00ms
> 2016-11-02 12:45:54,999 WebSocket connection closed: code=1001, reason=None
> 2016-11-02 12:45:55,875 WebSocket connection opened
> 2016-11-02 12:45:55,875 ServerConnection created
> 2016-11-02 12:45:55,907 404 POST /jsnlog.logger (::1) 47.00ms
>
> Not sure what is the issue? Novice on bokeh so please bear with my basic questions.
>
>
>
>
>
> On Wed, Nov 2, 2016 at 12:39 PM, Saurabh Heda <[email protected]> wrote:
>
> Hi,
> I was trying to run Bokeh spectrogram example using bokeh server but facing the below error.
>
> <image.png>
>
> 016-11-02 12:36:16,075 404 POST /jsnlog.logger (::1) 32.00ms
> 016-11-02 12:36:16,153 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,262 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,371 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,480 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,588 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,698 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,808 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:16,917 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,026 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,134 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,244 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,354 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,463 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,572 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,680 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,790 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:17,900 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:18,009 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:18,118 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:18,226 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:18,336 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
> 016-11-02 12:36:18,446 Error thrown from periodic callback: TypeError("'NoneType' object is not iterable",)
>
> Can anyone please help on this?
>
> --
> Regards
> Saurabh Heda
> www.pg4research.blogspot.com
> home.iitj.ac.in/~saurabh.heda
>
>
>
> --
> Regards
> Saurabh Heda
> www.pg4research.blogspot.com
> home.iitj.ac.in/~saurabh.heda
>
> --
> 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/CAKVzR9BfB2WzGEqWdA%3DeDR80LG8xufDUCpazBOgnxivrxrZGBQ%40mail.gmail.com\.
> 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/231C64CE-74C1-49BA-B1B0-7D861078568C%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda

--
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/CAKVzR9AKT6JRnh_ixPUOmYWBSa9t3nvQ%3DzBAOs_1%3DKq2Dg7K_Q%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Bryan I did not know to run directories examples in this way.

But for other examples like movies I could not face any issue. I could view the application using bokeh serve --show main.py.

By following the suggested way for execution I was able to execute.

Thanks

···

On Fri, Nov 4, 2016 at 11:20 PM, Bryan Van de Ven [email protected] wrote:

Hi,

I just noticed it looks like you ran “bokeh serve surface3d/main.py”, is that correct? To run “directory style” apps, you need to start by passing the directory to bokeh server, i.e.

    bokeh serve surface3d

Apart from that, I am not sure. I just tested the app in both python 2 and python 3 environments with bokeh 0.12.2 installed, and they functioned as expected.

Bryan

On Nov 3, 2016, at 12:23 AM, Saurabh Heda [email protected] wrote:

Hi Bryan,

Thanks for feedback. Initially I downloaded the example set from the master branch but now I downloaded 0.12.2 example set still not able to run surface3d example. Getting the same error.

2016-11-03 10:39:36,854 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:36,959 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,066 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,168 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,197 received invalid integer in pong ‘’

Traceback (most recent call last):

File “D:\Anaconda2\lib\site-packages\bokeh\server\views\ws.py”, line 167, in on_pong

self.latest_pong = int(codecs.decode(data, 'utf-8'))

ValueError: invalid literal for int() with base 10: ‘’

2016-11-03 10:39:37,273 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,378 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,482 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,588 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,694 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,799 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:37,901 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,002 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,104 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,209 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,312 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,411 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,512 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,611 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

2016-11-03 10:39:38,717 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

On Wed, Nov 2, 2016 at 6:33 PM, Bryan Van de Ven [email protected] wrote:

Are you using the examples from the “master” branch on GitHub? If so, the master branch always has the very latest. If you are running an older release then that means the master branch examples might have code or features that are too new for you. If you are running an older release, you should check out the branch specific to your release, e.g

    [https://github.com/bokeh/bokeh/tree/0.12.2/examples](https://github.com/bokeh/bokeh/tree/0.12.2/examples)

Thanks,

Bryan

On Nov 2, 2016, at 2:20 AM, Saurabh Heda [email protected] wrote:

Also with the surface3d example I am not able see anything on the web application. There is no error as such but while I am starting the application using bokeh serve --show main.py I am seeing the below output on the Command Line.

2016-11-02 12:45:30,368 Starting Bokeh server version 0.12.2

2016-11-02 12:45:30,398 Starting Bokeh server on port 5006 with applications at paths [‘/main’]

2016-11-02 12:45:30,398 Starting Bokeh server with process id: 11620

2016-11-02 12:45:31,319 200 GET /main (::1) 110.00ms

2016-11-02 12:45:32,395 WebSocket connection opened

2016-11-02 12:45:32,395 ServerConnection created

2016-11-02 12:45:32,490 404 POST /jsnlog.logger (::1) 110.00ms

2016-11-02 12:45:54,967 200 GET /main (::1) 32.00ms

2016-11-02 12:45:54,999 WebSocket connection closed: code=1001, reason=None

2016-11-02 12:45:55,875 WebSocket connection opened

2016-11-02 12:45:55,875 ServerConnection created

2016-11-02 12:45:55,907 404 POST /jsnlog.logger (::1) 47.00ms

Not sure what is the issue? Novice on bokeh so please bear with my basic questions.

On Wed, Nov 2, 2016 at 12:39 PM, Saurabh Heda [email protected] wrote:

Hi,

I was trying to run Bokeh spectrogram example using bokeh server but facing the below error.

<image.png>

016-11-02 12:36:16,075 404 POST /jsnlog.logger (::1) 32.00ms

016-11-02 12:36:16,153 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,262 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,371 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,480 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,588 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,698 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,808 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:16,917 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,026 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,134 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,244 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,354 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,463 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,572 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,680 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,790 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:17,900 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,009 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,118 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,226 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,336 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

016-11-02 12:36:18,446 Error thrown from periodic callback: TypeError(“‘NoneType’ object is not iterable”,)

Can anyone please help on this?

Regards

Saurabh Heda

www.pg4research.blogspot.com

home.iitj.ac.in/~saurabh.heda

Regards

Saurabh Heda

www.pg4research.blogspot.com

home.iitj.ac.in/~saurabh.heda

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/CAKVzR9BfB2WzGEqWdA%3DeDR80LG8xufDUCpazBOgnxivrxrZGBQ%40mail.gmail.com.

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/231C64CE-74C1-49BA-B1B0-7D861078568C%40continuum.io.

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

Regards

Saurabh Heda

www.pg4research.blogspot.com

home.iitj.ac.in/~saurabh.heda

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/CAKVzR9AKT6JRnh_ixPUOmYWBSa9t3nvQ%3DzBAOs_1%3DKq2Dg7K_Q%40mail.gmail.com.

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/2086D04D-CD75-4D61-8064-B7C0033B0CD4%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Regards
Saurabh Heda
www.pg4research.blogspot.com
home.iitj.ac.in/~saurabh.heda