☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

New devel build available!

Community Support
Damian_Avila
Damian_Avila

All,

We have a new late Friday dev release today. It contains all the bug fixes merged during the last week.

As you probably know, these builds are being made available on binstar.org. If you are using Anaconda, you can install with conda by issuing:

conda install -c [http://conda.binstar.org/bokeh/channel/dev](http://conda.binstar.org/bokeh/channel/dev) bokeh

Alternatively you can install with pip:

pip install --pre -i [https://pypi.binstar.org/bokeh/channel/dev/simple](https://pypi.binstar.org/bokeh/channel/dev/simple) bokeh --extra-index-url [https://pypi.python.org/simple/](https://pypi.python.org/simple/)

Thanks to everyone and enjoy it!

Damián.

⌁   Link to post
Armen_Alexanian
Armen_Alexanian

Hi Damián,

I updated my version of Bokeh using “conda install -c http://conda.binstar.org/bokeh/channel/dev bokeh” and it worked fine. I was able to get the sin curve widget example to work properly, but when I run the male female location by year example, the blue and purple graph, it returns the error: “5 is not JSON serializable”. I pasted the full IPython console error message below.

Thanks again for your help with this!

Armen

In [1]: runfile(‘H:/Work Files/Python Programming/Scripts/Widgets_Test.py’, wdir=‘H:/Work Files/Python Programming/Scripts’)

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

To override, pass ‘load_from_config=False’ to Session

Traceback (most recent call last):

File “”, line 1, in

runfile('H:/Work Files/Python Programming/Scripts/Widgets_Test.py', wdir='H:/Work Files/Python Programming/Scripts')

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 585, in runfile

execfile(filename, namespace)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 48, in execfile

exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 147, in

update_data()

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 122, in update_data

session.store_document(document)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 404, in store_document

self.push(*json_objs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 358, in push

data = protocol.serialize_json(jsonobjs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 103, in serialize_json

return json.dumps(obj, cls=encoder, **kwargs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json_init_.py”, line 237, in dumps

**kw).encode(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 192, in encode

chunks = self.iterencode(o, _one_shot=True)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 250, in iterencode

return _iterencode(o, 0)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 100, in default

return self.transform_python_types(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 81, in transform_python_types

return super(BokehJSONEncoder, self).default(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 173, in default

raise TypeError(repr(o) + " is not JSON serializable")

TypeError: 5 is not JSON serializable

···

On Fri, Aug 1, 2014 at 3:58 PM, Damian Avila damian.avila@continuum.io wrote:

All,

We have a new late Friday dev release today. It contains all the bug fixes merged during the last week.

As you probably know, these builds are being made available on binstar.org. If you are using Anaconda, you can install with conda by issuing:

conda install -c [http://conda.binstar.org/bokeh/channel/dev](http://conda.binstar.org/bokeh/channel/dev) bokeh

Alternatively you can install with pip:

pip install --pre -i [https://pypi.binstar.org/bokeh/channel/dev/simple](https://pypi.binstar.org/bokeh/channel/dev/simple) bokeh --extra-index-url [https://pypi.python.org/simple/](https://pypi.python.org/simple/)

Thanks to everyone and enjoy it!

Damián.

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3GdRP3a2xT9oWkitSWqxGEvVC6nLXzsTK-SnxK2oxLkYQ%40mail.gmail.com.

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

⌁   Link to post
Damian_Avila
Damian_Avila

It seems something recently modified, can you file an issue at Github so we can track the problem? If you can’t let me know and I will open it for you… Thanks.

Damian

···

On Mon, Aug 4, 2014 at 3:55 PM, Armen Alexanian armenalexanian@gmail.com wrote:

Hi Damián,

I updated my version of Bokeh using “conda install -c http://conda.binstar.org/bokeh/channel/dev bokeh” and it worked fine. I was able to get the sin curve widget example to work properly, but when I run the male female location by year example, the blue and purple graph, it returns the error: “5 is not JSON serializable”. I pasted the full IPython console error message below.

Thanks again for your help with this!

Armen

In [1]: runfile(‘H:/Work Files/Python Programming/Scripts/Widgets_Test.py’, wdir=‘H:/Work Files/Python Programming/Scripts’)

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

To override, pass ‘load_from_config=False’ to Session

Traceback (most recent call last):

File “”, line 1, in

runfile('H:/Work Files/Python Programming/Scripts/Widgets_Test.py', wdir='H:/Work Files/Python Programming/Scripts')

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 585, in runfile

execfile(filename, namespace)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 48, in execfile

exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 147, in

update_data()

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 122, in update_data

session.store_document(document)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 404, in store_document

self.push(*json_objs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 358, in push

data = protocol.serialize_json(jsonobjs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 103, in serialize_json

return json.dumps(obj, cls=encoder, **kwargs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json_init_.py”, line 237, in dumps

**kw).encode(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 192, in encode

chunks = self.iterencode(o, _one_shot=True)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 250, in iterencode

return _iterencode(o, 0)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 100, in default

return self.transform_python_types(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 81, in transform_python_types

return super(BokehJSONEncoder, self).default(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 173, in default

raise TypeError(repr(o) + " is not JSON serializable")

TypeError: 5 is not JSON serializable

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CALLGW%3Dyz217R6Krjp%2ByoNTV%3DcvDJkuEPyk%2B2EPJBzp9XMv99AA%40mail.gmail.com.

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

On Fri, Aug 1, 2014 at 3:58 PM, Damian Avila damian.avila@continuum.io wrote:

All,

We have a new late Friday dev release today. It contains all the bug fixes merged during the last week.

As you probably know, these builds are being made available on binstar.org. If you are using Anaconda, you can install with conda by issuing:

conda install -c [http://conda.binstar.org/bokeh/channel/dev](http://conda.binstar.org/bokeh/channel/dev) bokeh

Alternatively you can install with pip:

pip install --pre -i [https://pypi.binstar.org/bokeh/channel/dev/simple](https://pypi.binstar.org/bokeh/channel/dev/simple) bokeh --extra-index-url [https://pypi.python.org/simple/](https://pypi.python.org/simple/)

Thanks to everyone and enjoy it!

Damián.

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3GdRP3a2xT9oWkitSWqxGEvVC6nLXzsTK-SnxK2oxLkYQ%40mail.gmail.com.

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

⌁   Link to post
Armen_Alexanian
Armen_Alexanian

Thanks Damian! What’s the process for filing an issue with Github? Do I have to have an account? Thanks again for your help!

···

On Mon, Aug 4, 2014 at 12:10 PM, Damian Avila damian.avila@continuum.io wrote:

It seems something recently modified, can you file an issue at Github so we can track the problem? If you can’t let me know and I will open it for you… Thanks.

Damian

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3G9ofxf52ATE8uMbZ6q0D8-ah1pk6m0wcL1PbLu83Eoug%40mail.gmail.com.

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

On Mon, Aug 4, 2014 at 3:55 PM, Armen Alexanian armenalexanian@gmail.com wrote:

Hi Damián,

I updated my version of Bokeh using “conda install -c http://conda.binstar.org/bokeh/channel/dev bokeh” and it worked fine. I was able to get the sin curve widget example to work properly, but when I run the male female location by year example, the blue and purple graph, it returns the error: “5 is not JSON serializable”. I pasted the full IPython console error message below.

Thanks again for your help with this!

Armen

In [1]: runfile(‘H:/Work Files/Python Programming/Scripts/Widgets_Test.py’, wdir=‘H:/Work Files/Python Programming/Scripts’)

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

To override, pass ‘load_from_config=False’ to Session

Traceback (most recent call last):

File “”, line 1, in

runfile('H:/Work Files/Python Programming/Scripts/Widgets_Test.py', wdir='H:/Work Files/Python Programming/Scripts')

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 585, in runfile

execfile(filename, namespace)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 48, in execfile

exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 147, in

update_data()

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 122, in update_data

session.store_document(document)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 404, in store_document

self.push(*json_objs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 358, in push

data = protocol.serialize_json(jsonobjs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 103, in serialize_json

return json.dumps(obj, cls=encoder, **kwargs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json_init_.py”, line 237, in dumps

**kw).encode(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 192, in encode

chunks = self.iterencode(o, _one_shot=True)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 250, in iterencode

return _iterencode(o, 0)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 100, in default

return self.transform_python_types(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 81, in transform_python_types

return super(BokehJSONEncoder, self).default(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 173, in default

raise TypeError(repr(o) + " is not JSON serializable")

TypeError: 5 is not JSON serializable

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CALLGW%3Dyz217R6Krjp%2ByoNTV%3DcvDJkuEPyk%2B2EPJBzp9XMv99AA%40mail.gmail.com.

On Fri, Aug 1, 2014 at 3:58 PM, Damian Avila damian.avila@continuum.io wrote:

All,

We have a new late Friday dev release today. It contains all the bug fixes merged during the last week.

As you probably know, these builds are being made available on binstar.org. If you are using Anaconda, you can install with conda by issuing:

conda install -c [http://conda.binstar.org/bokeh/channel/dev](http://conda.binstar.org/bokeh/channel/dev) bokeh

Alternatively you can install with pip:

pip install --pre -i [https://pypi.binstar.org/bokeh/channel/dev/simple](https://pypi.binstar.org/bokeh/channel/dev/simple) bokeh --extra-index-url [https://pypi.python.org/simple/](https://pypi.python.org/simple/)

Thanks to everyone and enjoy it!

Damián.

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3GdRP3a2xT9oWkitSWqxGEvVC6nLXzsTK-SnxK2oxLkYQ%40mail.gmail.com.

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

⌁   Link to post
Damian_Avila
Damian_Avila

Yes, you have to set up an account… I think it would be very useful for you to do it… but if you have problems, let me know and I can probably help you by chat… but it is easy, I don’t think you will have any problems :wink:

···

On Mon, Aug 4, 2014 at 4:15 PM, Armen Alexanian armenalexanian@gmail.com wrote:

Thanks Damian! What’s the process for filing an issue with Github? Do I have to have an account? Thanks again for your help!

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CALLGW%3DyHJnCE99xoDJxWApwVJ0HZ0UHeKq_dMxo%3Dwv6Va6J8Qw%40mail.gmail.com.

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

On Mon, Aug 4, 2014 at 12:10 PM, Damian Avila damian.avila@continuum.io wrote:

It seems something recently modified, can you file an issue at Github so we can track the problem? If you can’t let me know and I will open it for you… Thanks.

Damian

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3G9ofxf52ATE8uMbZ6q0D8-ah1pk6m0wcL1PbLu83Eoug%40mail.gmail.com.

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

On Mon, Aug 4, 2014 at 3:55 PM, Armen Alexanian armenalexanian@gmail.com wrote:

Hi Damián,

I updated my version of Bokeh using “conda install -c http://conda.binstar.org/bokeh/channel/dev bokeh” and it worked fine. I was able to get the sin curve widget example to work properly, but when I run the male female location by year example, the blue and purple graph, it returns the error: “5 is not JSON serializable”. I pasted the full IPython console error message below.

Thanks again for your help with this!

Armen

In [1]: runfile(‘H:/Work Files/Python Programming/Scripts/Widgets_Test.py’, wdir=‘H:/Work Files/Python Programming/Scripts’)

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

To override, pass ‘load_from_config=False’ to Session

Traceback (most recent call last):

File “”, line 1, in

runfile('H:/Work Files/Python Programming/Scripts/Widgets_Test.py', wdir='H:/Work Files/Python Programming/Scripts')

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 585, in runfile

execfile(filename, namespace)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py”, line 48, in execfile

exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 147, in

update_data()

File “H:/Work Files/Python Programming/Scripts/Widgets_Test.py”, line 122, in update_data

session.store_document(document)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 404, in store_document

self.push(*json_objs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\session.py”, line 358, in push

data = protocol.serialize_json(jsonobjs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 103, in serialize_json

return json.dumps(obj, cls=encoder, **kwargs)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json_init_.py”, line 237, in dumps

**kw).encode(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 192, in encode

chunks = self.iterencode(o, _one_shot=True)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 250, in iterencode

return _iterencode(o, 0)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 100, in default

return self.transform_python_types(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\site-packages\bokeh\protocol.py”, line 81, in transform_python_types

return super(BokehJSONEncoder, self).default(obj)

File “C:\Users\aalexanian\AppData\Local\Continuum\Anaconda3\lib\json\encoder.py”, line 173, in default

raise TypeError(repr(o) + " is not JSON serializable")

TypeError: 5 is not JSON serializable

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

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

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CALLGW%3Dyz217R6Krjp%2ByoNTV%3DcvDJkuEPyk%2B2EPJBzp9XMv99AA%40mail.gmail.com.

On Fri, Aug 1, 2014 at 3:58 PM, Damian Avila damian.avila@continuum.io wrote:

All,

We have a new late Friday dev release today. It contains all the bug fixes merged during the last week.

As you probably know, these builds are being made available on binstar.org. If you are using Anaconda, you can install with conda by issuing:

conda install -c [http://conda.binstar.org/bokeh/channel/dev](http://conda.binstar.org/bokeh/channel/dev) bokeh

Alternatively you can install with pip:

pip install --pre -i [https://pypi.binstar.org/bokeh/channel/dev/simple](https://pypi.binstar.org/bokeh/channel/dev/simple) bokeh --extra-index-url [https://pypi.python.org/simple/](https://pypi.python.org/simple/)

Thanks to everyone and enjoy it!

Damián.

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAM9Ly3GdRP3a2xT9oWkitSWqxGEvVC6nLXzsTK-SnxK2oxLkYQ%40mail.gmail.com.

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

⌁   Link to post

End of archived discussion · Replies are disabled