CrossFilter app error?

Hi Bryan,

I forgot to mention that to be sure I re-updated my Bokeh version (even though I had the latest version) and it still failed.

My error is on importing modules and not (yet) on Bokeh functionallity for this app.

Do you also get this error?

I will post this in the mailing list as well.

Met vriendelijke groet,
Best wishes,
Rakesh

···

On 20 apr. 2016, at 15:46, Bryan Van de Ven [email protected] wrote:

Rakesh,

The crossfilter example is only on master, newer than the latest full release. It uses new features and is also still under development and not yet completed. It is not expected to work with previous releases. When looking at examples in GitHub it is always advised to look at the tag corresponding to the version of bokeh you have installed, rather than the master branch.

Also, respectfully I must direct you to the public mailing list for support-related questions.

Thanks,

Bryan

On Apr 20, 2016, at 08:30, Rakesh Partapsing [email protected] wrote:

Hi Bryan,

I noticed you are the author of the crossfilter app so I write you directly.

(https://github.com/bokeh/bokeh/tree/master/examples/app/crossfilter)

When I try to run the app with bokeh serve --show crossfilter

I get the error: ImportError: No module named ‘models’ inside main.py

I set it up the way it should be (see attached).

I even tried a fix like: sys.path.insert(0, ‘./models’) but it didn’t work

I also get an error with this line in models.py:

from bokeh.models.layouts import BaseBox

This I fixed with:

from bokeh.models import BaseBox

Can you point me to the solve?

Greetings,

Rakesh

<cr1.png>
<cr2.png>

Raki,

To re-iterate for the wider audience, the crossfilter is not yet released. It is not complete, and still under development. It will be ready for the *next* release (0.12) hopefully in a month or so.

Anyone looking at examples directly on GitHub is always advised to look at the specific tag corresponding to they actual version of Bokeh they have installed, and not look at "master". For example, for 0.11.1 this is at:

  https://github.com/bokeh/bokeh/tree/0.11.1/examples/app

As you can see the crossfilter example is not present there. The "master" branch represents the tip of current development, it is newer than any release, and anything there might be too new to work on any previous release (as is the case with crossfilter).

Bryan

···

On Apr 20, 2016, at 9:28 AM, Raki <[email protected]> wrote:

Hi Bryan,

I forgot to mention that to be sure I re-updated my Bokeh version (even though I had the latest version) and it still failed.

My error is on importing modules and not (yet) on Bokeh functionallity for this app.

Do you also get this error?

I will post this in the mailing list as well.

Met vriendelijke groet,
Best wishes,
Rakesh

On 20 apr. 2016, at 15:46, Bryan Van de Ven <[email protected]> wrote:

Rakesh,

The crossfilter example is only on master, newer than the latest full release. It uses new features and is also still under development and not yet completed. It is not expected to work with previous releases. When looking at examples in GitHub it is always advised to look at the tag corresponding to the version of bokeh you have installed, rather than the master branch.

Also, respectfully I must direct you to the public mailing list for support-related questions.

Thanks,

Bryan

On Apr 20, 2016, at 08:30, Rakesh Partapsing <[email protected]> wrote:

Hi Bryan,

I noticed you are the author of the crossfilter app so I write you directly.
(https://github.com/bokeh/bokeh/tree/master/examples/app/crossfilter)

When I try to run the app with bokeh serve --show crossfilter

I get the error: ImportError: No module named 'models' inside main.py

I set it up the way it should be (see attached).
I even tried a fix like: sys.path.insert(0, './models') but it didn't work

I also get an error with this line in models.py:
from bokeh.models.layouts import BaseBox

This I fixed with:
from bokeh.models import BaseBox

Can you point me to the solve?

Greetings,
Rakesh

<cr1.png>
<cr2.png>