Bokeh serve test.ipynb gives me a Unicode Error

Hi guys
i am missing something here.

I created a python scripts in my jupyter note and saved it as Test.ipynb.

i am trying to call this using bokeh command through Command line as below

**bokeh serve Test.ipynb **

it throws me an error saying : Encoding declaration in Unicode string.

When i save the same file as **.py ** and run i have no issues.

how do i avoid the hassle of downloading into .py file and running?

This seems like it might be a bug, possibly dependent on the version of bokeh or on the version of the notebook, or possibly even depending on your platform or python version. I'd suggest filing a GH issue with all the requested information and an example notebook to reproduce.

Bryan

ยทยทยท

On Mar 10, 2017, at 16:08, NSR Murthy <[email protected]> wrote:

Hi guys
i am missing something here.

I created a python scripts in my jupyter note and saved it as Test.ipynb.

i am trying to call this using bokeh command through Command line as below

bokeh serve Test.ipynb

it throws me an error saying : Encoding declaration in Unicode string.

When i save the same file as .py and run i have no issues.

how do i avoid the hassle of downloading into .py file and running?

--
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/15f9b155-4ced-404a-8d58-a773ebf2f0b7%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.