Trying to run Blaze examples

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads

Hi Mads,

This package is currently available on binstar.org:

  https://binstar.org/bokeh/multiuserblazeserver

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just "blaze-server").

Thanks,

Bryan

···

On Feb 24, 2015, at 8:22 AM, Mads Berre <[email protected]> wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in "Anaconda\Examples\bokeh\plotting\server\"

But when starting the server I get the following error messages:

"
C:\Anaconda\lib\site-packages\bokeh\server\blaze\__init__.py:19: 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)
"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards
Mads

--
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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

···

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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

Also i should have docs completed for this by the end of the week

···

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

···

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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

Damián Avila

Continuum Analytics

[email protected]

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py

  • census.py

  • remote_image.py

  • blaze_source.py

  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

···

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?

  2. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

···

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

e>

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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]tinuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

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/fa564c33-e50c-4e6e-b965-3b8b847aa7bd%40continuum.io.

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

Damián Avila

Continuum Analytics

[email protected]

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary

 ------------------------- | ------------ | --------------- | --------------

conda_list.txt (7.24 KB)

···
 anaconda/abstract-rendering | public       | conda           | <Undefined>

   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0

  • 0.5.0

  • 0.5.1

  • 0.3.1

  • 0.1.0

To install this package with conda run:

 conda install --channel https://conda.binstar.org/anaconda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

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/fa564c33-e50c-4e6e-b965-3b8b847aa7bd%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

OK, 2 things:

1- You need to update blaze to the latest version, if will no work with previous versions

2- It seems you are right about the missing packages in repo.continuum… I saw you have pip installed there, can you try pip installing abstract_rendering as a workaround for now:

pip install abstract_rendering

···

Please, let me know any update…

Thanks!

On Thu, Feb 26, 2015 at 4:29 AM, Mads Berre [email protected] wrote:

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary
 ------------------------- | ------------ | --------------- | --------------

 anaconda/abstract-rendering | public       | conda           | <Undefined>
   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0
  • 0.5.0
  • 0.5.1
  • 0.3.1
  • 0.1.0

To install this package with conda run:

 conda install --channel [https://conda.binstar.org/anaconda](https://conda.binstar.org/anaconda) abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

e>

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

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/fa564c33-e50c-4e6e-b965-3b8b847aa7bd%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

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/11ec7379-c76a-47e7-be50-aab0b3017af9%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

Hi Damián,

Thanks for you support!

I have successfully updated blaze. After updating blaze i now get the same error messease for the blaze_source.py example, as for the others.

Still having problems with abstract_rendering, using pip i get the following error:

C:\Users\mbe>pip install abstract_rendering

``
Collecting abstract-rendering

Downloading abstract_rendering-0.5.1.tar.gz

Installing collected packages: abstract-rendering

Running setup.py install for abstract-rendering

building 'abstract_rendering.transform' extension

C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined

collect2.exe: error: ld returned 1 exit status

error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1

Complete output from command C:\Anaconda\python.exe -c "import setuptools, t

okenize;file='c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstra

ct-rendering\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).r

ead().replace(’\r\n’, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\a

ppdata\local\temp\pip-4_njso-record\install-record.txt --single-version-external

ly-managed --compile:

running install

running build

running build_py

creating build

creating build\lib.win-amd64-2.7

creating build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\categories.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\contour.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\core.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\fast_project.py -> build\lib.win-amd64-2.7\abstra

ct_rendering

copying abstract_rendering\general.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\geometry.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\glyphset.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\infos.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\numeric.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\numpyglyphs.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\util.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\__init__.py -> build\lib.win-amd64-2.7\abstract_rendering

copying abstract_rendering\_version.txt -> build\lib.win-amd64-2.7\abstract_rendering

running build_ext

building 'abstract_rendering.transform' extension

creating build\temp.win-amd64-2.7

creating build\temp.win-amd64-2.7\Release

creating build\temp.win-amd64-2.7\Release\abstract_rendering

C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

writing build\temp.win-amd64-2.7\Release\abstract_rendering\transform.def

C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined

collect2.exe: error: ld returned 1 exit status

error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
···
----------------------------------------

Command "C:\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:

\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstract-rendering\setup.

py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’

, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\appdata\local\temp\pi

p-4_njso-record\install-record.txt --single-version-externally-managed --compile

" failed with error code 1 in c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\a

bstract-rendering

Kind regards

Mads

Den torsdag den 26. februar 2015 kl. 14.02.29 UTC+1 skrev Damian Avila:

OK, 2 things:

1- You need to update blaze to the latest version, if will no work with previous versions

2- It seems you are right about the missing packages in repo.continuum… I saw you have pip installed there, can you try pip installing abstract_rendering as a workaround for now:

pip install abstract_rendering

Please, let me know any update…

Thanks!

On Thu, Feb 26, 2015 at 4:29 AM, Mads Berre [email protected] wrote:

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary
 ------------------------- | ------------ | --------------- | --------------

 anaconda/abstract-rendering | public       | conda           | <Undefined>
   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0
  • 0.5.0
  • 0.5.1
  • 0.3.1
  • 0.1.0

To install this package with conda run:

 conda install --channel [https://conda.binstar.org/anaconda](https://conda.binstar.org/anaconda) abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

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/fa564c33-e50c-4e6e-b965-3b8b847aa7bd%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

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/11ec7379-c76a-47e7-be50-aab0b3017af9%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

The problem, I guess, should be the missing AR package… people is replicating your AR building problem on windows, so you are not alone :wink:
We will provide win conda packages for AR soon… I guess you will need to wait a little bit for it.

Btw, thanks for keep trying and let you know the problems you had.

Cheers.

···

On Fri, Feb 27, 2015 at 3:35 AM, Mads Berre [email protected] wrote:

Hi Damián,

Thanks for you support!

I have successfully updated blaze. After updating blaze i now get the same error messease for the blaze_source.py example, as for the others.

Still having problems with abstract_rendering, using pip i get the following error:

C:\Users\mbe>pip install abstract_rendering

``
Collecting abstract-rendering

Downloading abstract_rendering-0.5.1.tar.gz

Installing collected packages: abstract-rendering

Running setup.py install for abstract-rendering

building 'abstract_rendering.transform' extension
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
Complete output from command C:\Anaconda\python.exe -c "import setuptools, t

okenize;file='c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstra

ct-rendering\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).r

ead().replace(’\r\n’, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\a

ppdata\local\temp\pip-4_njso-record\install-record.txt --single-version-external

ly-managed --compile:

running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\categories.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\contour.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\core.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\fast_project.py -> build\lib.win-amd64-2.7\abstra

ct_rendering

copying abstract_rendering\general.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\geometry.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\glyphset.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\infos.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numeric.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numpyglyphs.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\util.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\__init__.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\_version.txt -> build\lib.win-amd64-2.7\abstract_rendering
running build_ext
building 'abstract_rendering.transform' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\abstract_rendering
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

writing build\temp.win-amd64-2.7\Release\abstract_rendering\transform.def
C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
----------------------------------------
Command "C:\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:

\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstract-rendering\setup.

py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’

, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\appdata\local\temp\pi

p-4_njso-record\install-record.txt --single-version-externally-managed --compile

" failed with error code 1 in c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\a

bstract-rendering

Kind regards

Mads

Den torsdag den 26. februar 2015 kl. 14.02.29 UTC+1 skrev Damian Avila:

OK, 2 things:

1- You need to update blaze to the latest version, if will no work with previous versions

2- It seems you are right about the missing packages in repo.continuum… I saw you have pip installed there, can you try pip installing abstract_rendering as a workaround for now:

pip install abstract_rendering

Please, let me know any update…

Thanks!

On Thu, Feb 26, 2015 at 4:29 AM, Mads Berre [email protected] wrote:

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary
 ------------------------- | ------------ | --------------- | --------------

 anaconda/abstract-rendering | public       | conda           | <Undefined>
   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0
  • 0.5.0
  • 0.5.1
  • 0.3.1
  • 0.1.0

To install this package with conda run:

 conda install --channel [https://conda.binstar.org/anaconda](https://conda.binstar.org/anaconda) abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

e>

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

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/fa564c33-e50c-4e6e-b965-3b8b847aa7bd%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

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/11ec7379-c76a-47e7-be50-aab0b3017af9%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

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/022c3f56-123a-4d72-a4c4-f0747cea56cc%40continuum.io.

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

Damián Avila

Continuum Analytics

[email protected]

No worries, I can wait!
I am glad that you guys are developing this tool, I have already made some very nice projects with it, but I really believe that it will be a strong tool for big data visualization!

Please let me know when the AR packages are available!

Mads

···

Den fredag den 27. februar 2015 kl. 12.09.45 UTC+1 skrev Damian Avila:

The problem, I guess, should be the missing AR package… people is replicating your AR building problem on windows, so you are not alone :wink:
We will provide win conda packages for AR soon… I guess you will need to wait a little bit for it.

Btw, thanks for keep trying and let you know the problems you had.

Cheers.

On Fri, Feb 27, 2015 at 3:35 AM, Mads Berre [email protected] wrote:

Hi Damián,

Thanks for you support!

I have successfully updated blaze. After updating blaze i now get the same error messease for the blaze_source.py example, as for the others.

Still having problems with abstract_rendering, using pip i get the following error:

C:\Users\mbe>pip install abstract_rendering

``
Collecting abstract-rendering

Downloading abstract_rendering-0.5.1.tar.gz

Installing collected packages: abstract-rendering

Running setup.py install for abstract-rendering

building 'abstract_rendering.transform' extension
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
Complete output from command C:\Anaconda\python.exe -c "import setuptools, t

okenize;file='c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstra

ct-rendering\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).r

ead().replace(’\r\n’, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\a

ppdata\local\temp\pip-4_njso-record\install-record.txt --single-version-external

ly-managed --compile:

running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\categories.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\contour.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\core.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\fast_project.py -> build\lib.win-amd64-2.7\abstra

ct_rendering

copying abstract_rendering\general.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\geometry.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\glyphset.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\infos.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numeric.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numpyglyphs.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\util.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\__init__.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\_version.txt -> build\lib.win-amd64-2.7\abstract_rendering
running build_ext
building 'abstract_rendering.transform' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\abstract_rendering
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

writing build\temp.win-amd64-2.7\Release\abstract_rendering\transform.def
C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
----------------------------------------
Command "C:\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:

\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstract-rendering\setup.

py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’

, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\appdata\local\temp\pi

p-4_njso-record\install-record.txt --single-version-externally-managed --compile

" failed with error code 1 in c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\a

bstract-rendering

Kind regards

Mads

Den torsdag den 26. februar 2015 kl. 14.02.29 UTC+1 skrev Damian Avila:

OK, 2 things:

1- You need to update blaze to the latest version, if will no work with previous versions

2- It seems you are right about the missing packages in repo.continuum… I saw you have pip installed there, can you try pip installing abstract_rendering as a workaround for now:

pip install abstract_rendering

Please, let me know any update…

Thanks!

On Thu, Feb 26, 2015 at 4:29 AM, Mads Berre [email protected] wrote:

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary
 ------------------------- | ------------ | --------------- | --------------

 anaconda/abstract-rendering | public       | conda           | <Undefined>
   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0
  • 0.5.0
  • 0.5.1
  • 0.3.1
  • 0.1.0

To install this package with conda run:

 conda install --channel [https://conda.binstar.org/anaconda](https://conda.binstar.org/anaconda) abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

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/fa564c33-e50c-4e6e-b965-3b8b847aa7bd%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

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/11ec7379-c76a-47e7-be50-aab0b3017af9%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

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/022c3f56-123a-4d72-a4c4-f0747cea56cc%40continuum.io.

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


Damián Avila

Continuum Analytics

[email protected]

Hi all,

Just thought I’d add that I am having the same problems under Linux. It appears that Blaze is making a GET request to the bokeh server at /datashape, but this address is not recognised - in fact this URL appears to exist on the Blaze server, which is not running. Perhaps the bokeh server is supposed to start a Blaze server too?

Alex

···

On Friday, 27 February 2015 12:15:03 UTC, Mads Berre wrote:

No worries, I can wait!
I am glad that you guys are developing this tool, I have already made some very nice projects with it, but I really believe that it will be a strong tool for big data visualization!

Please let me know when the AR packages are available!

Mads

Den fredag den 27. februar 2015 kl. 12.09.45 UTC+1 skrev Damian Avila:

The problem, I guess, should be the missing AR package… people is replicating your AR building problem on windows, so you are not alone :wink:
We will provide win conda packages for AR soon… I guess you will need to wait a little bit for it.

Btw, thanks for keep trying and let you know the problems you had.

Cheers.

On Fri, Feb 27, 2015 at 3:35 AM, Mads Berre [email protected] wrote:

Hi Damián,

Thanks for you support!

I have successfully updated blaze. After updating blaze i now get the same error messease for the blaze_source.py example, as for the others.

Still having problems with abstract_rendering, using pip i get the following error:

C:\Users\mbe>pip install abstract_rendering

``
Collecting abstract-rendering

Downloading abstract_rendering-0.5.1.tar.gz

Installing collected packages: abstract-rendering

Running setup.py install for abstract-rendering

building 'abstract_rendering.transform' extension
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
Complete output from command C:\Anaconda\python.exe -c "import setuptools, t

okenize;file='c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstra

ct-rendering\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).r

ead().replace(’\r\n’, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\a

ppdata\local\temp\pip-4_njso-record\install-record.txt --single-version-external

ly-managed --compile:

running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\categories.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\contour.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\core.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\fast_project.py -> build\lib.win-amd64-2.7\abstra

ct_rendering

copying abstract_rendering\general.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\geometry.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\glyphset.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\infos.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numeric.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numpyglyphs.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\util.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\__init__.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\_version.txt -> build\lib.win-amd64-2.7\abstract_rendering
running build_ext
building 'abstract_rendering.transform' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\abstract_rendering
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

writing build\temp.win-amd64-2.7\Release\abstract_rendering\transform.def
C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
----------------------------------------
Command "C:\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:

\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstract-rendering\setup.

py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’

, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\appdata\local\temp\pi

p-4_njso-record\install-record.txt --single-version-externally-managed --compile

" failed with error code 1 in c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\a

bstract-rendering

Kind regards

Mads

Den torsdag den 26. februar 2015 kl. 14.02.29 UTC+1 skrev Damian Avila:

OK, 2 things:

1- You need to update blaze to the latest version, if will no work with previous versions

2- It seems you are right about the missing packages in repo.continuum… I saw you have pip installed there, can you try pip installing abstract_rendering as a workaround for now:

pip install abstract_rendering

Please, let me know any update…

Thanks!

On Thu, Feb 26, 2015 at 4:29 AM, Mads Berre [email protected] wrote:

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary
 ------------------------- | ------------ | --------------- | --------------

 anaconda/abstract-rendering | public       | conda           | <Undefined>
   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0
  • 0.5.0
  • 0.5.1
  • 0.3.1
  • 0.1.0

To install this package with conda run:

 conda install --channel [https://conda.binstar.org/anaconda](https://conda.binstar.org/anaconda) abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]

Actually I have figured out my problem - I didn’t have multiuserblazeserver installed. pip-installing that (plus pytables) fixed the problem.

Alex

···

On Friday, 27 February 2015 12:15:03 UTC, Mads Berre wrote:

No worries, I can wait!
I am glad that you guys are developing this tool, I have already made some very nice projects with it, but I really believe that it will be a strong tool for big data visualization!

Please let me know when the AR packages are available!

Mads

Den fredag den 27. februar 2015 kl. 12.09.45 UTC+1 skrev Damian Avila:

The problem, I guess, should be the missing AR package… people is replicating your AR building problem on windows, so you are not alone :wink:
We will provide win conda packages for AR soon… I guess you will need to wait a little bit for it.

Btw, thanks for keep trying and let you know the problems you had.

Cheers.

On Fri, Feb 27, 2015 at 3:35 AM, Mads Berre [email protected] wrote:

Hi Damián,

Thanks for you support!

I have successfully updated blaze. After updating blaze i now get the same error messease for the blaze_source.py example, as for the others.

Still having problems with abstract_rendering, using pip i get the following error:

C:\Users\mbe>pip install abstract_rendering

``
Collecting abstract-rendering

Downloading abstract_rendering-0.5.1.tar.gz

Installing collected packages: abstract-rendering

Running setup.py install for abstract-rendering

building 'abstract_rendering.transform' extension
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
Complete output from command C:\Anaconda\python.exe -c "import setuptools, t

okenize;file='c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstra

ct-rendering\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).r

ead().replace(’\r\n’, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\a

ppdata\local\temp\pip-4_njso-record\install-record.txt --single-version-external

ly-managed --compile:

running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\categories.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\contour.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\core.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\fast_project.py -> build\lib.win-amd64-2.7\abstra

ct_rendering

copying abstract_rendering\general.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\geometry.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\glyphset.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\infos.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numeric.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\numpyglyphs.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\util.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\__init__.py -> build\lib.win-amd64-2.7\abstract_rendering
copying abstract_rendering\_version.txt -> build\lib.win-amd64-2.7\abstract_rendering
running build_ext
building 'abstract_rendering.transform' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\abstract_rendering
C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Anaconda\include

-IC:\Anaconda\PC -c abstract_rendering/transform.cpp -o build\temp.win-amd64-2.7

\Release\abstract_rendering\transform.o -O3 -Wall -fno-rtti -fno-exceptions -fPI

C -lstdc++

abstract_rendering/transform.cpp:1:0: warning: -fPIC ignored for target (all

code is position independent) [enabled by default]

writing build\temp.win-amd64-2.7\Release\abstract_rendering\transform.def
C:\Anaconda\Scripts\g++.bat -DMS_WIN64 -shared -s build\temp.win-amd64-2.7\R

elease\abstract_rendering\transform.o build\temp.win-amd64-2.7\Release\abstract_

rendering\transform.def -LC:\Anaconda\libs -LC:\Anaconda\PCbuild\amd64 -lpython2

7 -lmsvcr90 -o build\lib.win-amd64-2.7\abstract_rendering\transform.pyd

Cannot export inittransform: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\Anaconda\\Scripts\\g++.bat' failed with exit status 1
----------------------------------------
Command "C:\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:

\users\mbe\appdata\local\temp\pip-build-uxz4dm\abstract-rendering\setup.

py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’

, ‘\n’), file, ‘exec’))" install --record c:\users\mbe\appdata\local\temp\pi

p-4_njso-record\install-record.txt --single-version-externally-managed --compile

" failed with error code 1 in c:\users\mbe\appdata\local\temp\pip-build-uxz4dm\a

bstract-rendering

Kind regards

Mads

Den torsdag den 26. februar 2015 kl. 14.02.29 UTC+1 skrev Damian Avila:

OK, 2 things:

1- You need to update blaze to the latest version, if will no work with previous versions

2- It seems you are right about the missing packages in repo.continuum… I saw you have pip installed there, can you try pip installing abstract_rendering as a workaround for now:

pip install abstract_rendering

Please, let me know any update…

Thanks!

On Thu, Feb 26, 2015 at 4:29 AM, Mads Berre [email protected] wrote:

Hi Damián

  1. Attached is the conda list.
  2. That does not seem to change anything,

I have tried to install the abstract rendeing packet but it seems that it does not exist for 64-bit (see below) ?

c:\Anaconda\Examples\bokeh\plotting\server>binstar search -t conda abstract-rendering

Run ‘binstar show <USER/PACKAGE>’ to get more details:

Packages:

                      Name | Access       | Package Types   | Summary
 ------------------------- | ------------ | --------------- | --------------

 anaconda/abstract-rendering | public       | conda           | <Undefined>
   ilan/abstract-rendering | public       | conda           | None

Found 2 packages

c:\Anaconda\Examples\bokeh\plotting\server>binstar show anaconda/abstract-rendering

Using binstar api site https://api.binstar.org

Name: abstract-rendering

Summary:

Access: public

Package Types: conda

Versions:

  • 0.4.0
  • 0.5.0
  • 0.5.1
  • 0.3.1
  • 0.1.0

To install this package with conda run:

 conda install --channel [https://conda.binstar.org/anaconda](https://conda.binstar.org/anaconda) abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>conda install -c https://conda.binstar.org/anaconda abstract-rendering

Fetching package metadata: …

Error: No packages found in current win-64 channels matching: abstract-rendering

You can search for this package on Binstar with

binstar search -t conda abstract-rendering

c:\Anaconda\Examples\bokeh\plotting\server>

``

Den onsdag den 25. februar 2015 kl. 14.52.42 UTC+1 skrev Damian Avila:

Several things…

  1. Can you post the conda list from your env to check if all the dependencies are there?
  1. Can you try using the bokeh-server with the memory backend instead of shelve?

AFAIK, this should work in windows too…

Cheers.

On Wed, Feb 25, 2015 at 3:42 AM, Mads Berre [email protected] wrote:

Thanks Damian,

And if understand correct this only works on Linux and OSx??

I am trying to get either of these to work:

  • abstractrender.py
  • census.py
  • remote_image.py
  • blaze_source.py
  • serversource.py

For the top three first i get the ValueError: Bad Response: NOT FOUND.

For the blaze_source.py I get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python blaze_source.py

Traceback (most recent call last):

File “blaze_source.py”, line 9, in

from blaze import data

File “C:\Anaconda\lib\site-packages\blaze\data_init_.py”, line 3, in <modul

from .core import *

File “C:\Anaconda\lib\site-packages\blaze\data\core.py”, line 10, in

from .utils import validate, coerce, coerce_to_ordered, ordered_index

File “C:\Anaconda\lib\site-packages\blaze\data\utils.py”, line 7, in

from datashape.predicates import isunit, isdimension

ImportError: cannot import name isunit

c:\Anaconda\Examples\bokeh\plotting\server>

``

For the serversource.py i get the following error:

c:\Anaconda\Examples\bokeh\plotting\server>python serversource.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:got read write apikey

Traceback (most recent call last):

File “serversource.py”, line 11, in

output_server(“remotedata”)

File “C:\Anaconda\lib\site-packages\bokeh\plotting.py”, line 379, in output_server

session.load_document(curdoc())

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 543, in load_document

self.gc()

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 529, in gc

self.post_json(url)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 367, in post_json

return self.execute_json(‘post’, url, headers=headers, **kwargs)

File “C:\Anaconda\lib\site-packages\bokeh\session.py”, line 335, in execute_json

return utils.get_json(resp)

File “C:\Anaconda\lib\site-packages\bokeh\utils.py”, line 41, in get_json

return response.json()

File “C:\Anaconda\lib\site-packages\requests\models.py”, line 799, in json

return json.loads(self.text, **kwargs)

File “C:\Anaconda\lib\site-packages\simplejson_init_.py”, line 505, in loads

return _default_decoder.decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 370, in decode

obj, end = self.raw_decode(s)

File “C:\Anaconda\lib\site-packages\simplejson\decoder.py”, line 400, in raw_decode

return self.scan_once(s, idx=_w(s, idx).end())

simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

c:\Anaconda\Examples\bokeh\plotting\server>

``

Thank you all for your fast response and interest in helping me, very much appreciated!

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 22.09.58 UTC+1 skrev Damian Avila:

census.py needs the abstract-rendering package… but not completely sure if that’s the failure… in any case, do you have this errors with other server-based examples?

On Tue, Feb 24, 2015 at 12:02 PM, Hugo Shi [email protected] wrote:

Also i should have docs completed for this by the end of the week

On Feb 24, 2015 9:55 AM, “Mads Berre” [email protected] wrote:

Thanks Bryan,

That helped a lot!

I don’t mind that it will change just want to see if this is a feature that i can use.

I ran into a new problem:

I have started a Bokeh server and executed census.py

from the server I get:

c:\Anaconda\Lib\site-packages\into>bokeh-server --ip localhost

Bokeh Server Configuration

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

python version : 2.7.8

bokeh version : 0.8.1

listening : localhost:5006

backend : shelve

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

js options : splitjs:OFF, debugjs:OFF

INFO:tornado.access:200 GET /bokeh/userinfo/ (::1) 36.00ms

INFO:tornado.access:200 GET /bokeh/getdocapikey/3b649003-a1b7-4ea1-9fa9-449ef11f9791 (::1) 10.00ms

INFO:tornado.access:200 POST /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/gc (::1) 40.00ms

INFO:tornado.access:200 GET /bokeh/bb/3b649003-a1b7-4ea1-9fa9-449ef11f9791/ (::1) 20.00ms

WARNING:tornado.access:404 GET /datashape (::1) 0.00ms

and from the script I get:

c:\Anaconda\Examples\bokeh\plotting\server>python census.py

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

To override, pass ‘load_from_config=False’ to Session

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

INFO:bokeh.session:No documents found, creating new document ‘Census’

INFO:bokeh.session:got read write apikey

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):localhost

Traceback (most recent call last):

File “census.py”, line 10, in

d = Data©

File “C:\Anaconda\lib\site-packages\blaze\interactive.py”, line 63, in Data

dshape = discover(data)

File “C:\Anaconda\lib\site-packages\multipledispatch\dispatcher.py”, line 163,

in call

return func(*args, **kwargs)

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 96, in discover

return c.dshape

File “C:\Anaconda\lib\site-packages\blaze\server\client.py”, line 83, in dshape

raise ValueError(“Bad Response: %s” % reason(response))

ValueError: Bad Response: NOT FOUND

Any clue what I did wrong?

Thanks

Mads

Den tirsdag den 24. februar 2015 kl. 15.32.03 UTC+1 skrev Bryan Van de ven:

Hi Mads,

This package is currently available on binstar.org:

    [https://binstar.org/bokeh/multiuserblazeserver](https://binstar.org/bokeh/multiuserblazeserver)

Please note this functionality is new and still under development, and some things may change over the next few releases. In particular the package name will almost certainly change (probably to just “blaze-server”).

Thanks,

Bryan

On Feb 24, 2015, at 8:22 AM, Mads Berre [email protected] wrote:

Hi all

Just updated to Bokeh 0.8.1 and was excited to try out the blaze examples in “Anaconda\Examples\bokeh\plotting\server”

But when starting the server I get the following error messages:

"

C:\Anaconda\lib\site-packages\bokeh\server\blaze_init_.py:19: 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)

"

This is not fine since I intend to use the blaze capabilities. I cannot seem to find the mbs packet any where?

Can anyone help succeed in executing the examples?

Kind regards

Mads


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/ed019087-0e1d-43a3-a00d-9d15d558b151%40continuum.io.

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/2ceb5867-d76b-4658-9759-1fcce11f9473%40continuum.io.

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

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


Damián Avila

Continuum Analytics

[email protected]