{"action":"created","issue":{"url":"https://api.github.com/repos/ioam/holoviews/issues/1536","repository_url":"https://api.github.com/repos/ioam/holoviews","labels_url":"https://api.github.com/repos/ioam/holoviews/issues/1536/labels{/name}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/1536/comments","events_url":"https://api.github.com/repos/ioam/holoviews/issues/1536/events","html_url":"https://github.com/ioam/holoviews/issues/1536","id":235708592,"number":1536,"title":"datashader on bokeh server","user":{"login":"stevievb","id":6226868,"avatar_url":"https://avatars0.githubusercontent.com/u/6226868?v=3","gravatar_id":"","url":"https://api.github.com/users/stevievb","html_url":"https://github.com/stevievb","followers_url":"https://api.github.com/users/stevievb/followers","following_url":"https://api.github.com/users/stevievb/following{/other_user}","gists_url":"https://api.github.com/users/stevievb/gists{/gist_id}","starred_url":"https://api.github.com/users/stevievb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevievb/subscriptions","organizations_url":"https://api.github.com/users/stevievb/orgs","repos_url":"https://api.github.com/users/stevievb/repos","events_url":"https://api.github.com/users/stevievb/events{/privacy}","received_events_url":"https://api.github.com/users/stevievb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-13T22:13:55Z","updated_at":"2017-06-13T22:22:47Z","closed_at":null,"body":"I'm trying to using holoviews, bokeh server, and datashader based somewhat on the example in issue #959. I'm getting the following error and I'm not sure how to debug it:\r\n\r\nERROR:bokeh.server.protocol.server_handler:error handling message Message 'PATCH-DOC' (revision 1): AttributeError(\"'NoneType' object has no attribute '_session_callbacks'\",)\r\n\r\nThe plot shows up and looks correct but the datashading aspect on zoom does not seem to be working and throws that error.\r\n\r\nMy bokeh application code is ---\r\n```\r\nimport numpy as np\r\nimport holoviews as hv\r\nfrom holoviews.operation.datashader import datashade\r\nimport holoviews.plotting.bokeh # noqa (Activate backend)\r\nfrom bokeh.layouts import row\r\nfrom bokeh.plotting import curdoc\r\n\r\ndoc = curdoc()\r\n\r\nrenderer = hv.Store.renderers['bokeh'].instance(mode='server', holomap='server')\r\noptions = hv.Store.options(backend='bokeh')\r\n\r\ny = np.random.standard_normal(size = 2000000)\r\nx = np.arange(len(y)) / 200000.0\r\n\r\ncurve = hv.Curve((x, y))\r\ndatashaded = datashade(curve, cmap=[\"blue\"])\r\n\r\nplot = renderer.get_plot(datashaded)\r\n\r\nlayout = row(plot.state)\r\n\r\ndoc.add_root(layout)\r\n```\r\n\r\n\r\n\r\nconda env ---\r\n```\r\ndependencies:\r\n- !!python/unicode\r\n  'colorcet=0.9.1=py35_0'\r\n- !!python/unicode\r\n  'datashader=0.5.0=py35_0'\r\n- !!python/unicode\r\n  'bleach=1.5.0=py35_0'\r\n- !!python/unicode\r\n  'bokeh=0.12.5=py35_1'\r\n- !!python/unicode\r\n  'bzip2=1.0.6=vc14_3'\r\n- !!python/unicode\r\n  'cloudpickle=0.2.2=py35_0'\r\n- !!python/unicode\r\n  'colorama=0.3.9=py35_0'\r\n- !!python/unicode\r\n  'cycler=0.10.0=py35_0'\r\n- !!python/unicode\r\n  'dask=0.14.3=py35_1'\r\n- !!python/unicode\r\n  'datashape=0.5.4=py35_0'\r\n- !!python/unicode\r\n  'decorator=4.0.11=py35_0'\r\n- !!python/unicode\r\n  'entrypoints=0.2.2=py35_1'\r\n- !!python/unicode\r\n  'freetype=2.5.5=vc14_2'\r\n- !!python/unicode\r\n  'h5py=2.6.0=np111py35_2'\r\n- !!python/unicode\r\n  'hdf5=1.8.15.1=vc14_4'\r\n- !!python/unicode\r\n  'holoviews=1.7.0=py35_0'\r\n- !!python/unicode\r\n  'html5lib=0.999=py35_0'\r\n- !!python/unicode\r\n  'icu=57.1=vc14_0'\r\n- !!python/unicode\r\n  'ipykernel=4.6.1=py35_0'\r\n- !!python/unicode\r\n  'ipython=6.1.0=py35_0'\r\n- !!python/unicode\r\n  'ipython_genutils=0.2.0=py35_0'\r\n- !!python/unicode\r\n  'ipywidgets=6.0.0=py35_0'\r\n- !!python/unicode\r\n  'jedi=0.10.2=py35_2'\r\n- !!python/unicode\r\n  'jinja2=2.9.4=py35_0'\r\n- !!python/unicode\r\n  'jpeg=9b=vc14_0'\r\n- !!python/unicode\r\n  'jsonschema=2.6.0=py35_0'\r\n- !!python/unicode\r\n  'jupyter=1.0.0=py35_3'\r\n- !!python/unicode\r\n  'jupyter_client=5.0.1=py35_0'\r\n- !!python/unicode\r\n  'jupyter_console=5.1.0=py35_0'\r\n- !!python/unicode\r\n  'jupyter_core=4.3.0=py35_0'\r\n- !!python/unicode\r\n  'libpng=1.6.27=vc14_0'\r\n- !!python/unicode\r\n  'libtiff=4.0.6=vc14_3'\r\n- !!python/unicode\r\n  'llvmlite=0.18.0=py35_0'\r\n- !!python/unicode\r\n  'locket=0.2.0=py35_1'\r\n- !!python/unicode\r\n  'markupsafe=0.23=py35_2'\r\n- !!python/unicode\r\n  'matplotlib=2.0.2=np111py35_0'\r\n- !!python/unicode\r\n  'mistune=0.7.4=py35_0'\r\n- !!python/unicode\r\n  'mkl=11.3.3=1'\r\n- !!python/unicode\r\n  'multipledispatch=0.4.9=py35_0'\r\n- !!python/unicode\r\n  'nbconvert=5.2.1=py35_0'\r\n- !!python/unicode\r\n  'nbformat=4.3.0=py35_0'\r\n- !!python/unicode\r\n  'networkx=1.11=py35_0'\r\n- !!python/unicode\r\n  'notebook=5.0.0=py35_0'\r\n- !!python/unicode\r\n  'numba=0.33.0=np111py35_0'\r\n- !!python/unicode\r\n  'numpy=1.11.2=py35_0'\r\n- !!python/unicode\r\n  'odo=0.5.0=py35_1'\r\n- !!python/unicode\r\n  'olefile=0.44=py35_0'\r\n- !!python/unicode\r\n  'openssl=1.0.2l=vc14_0'\r\n- !!python/unicode\r\n  'pandas=0.20.1=np111py35_0'\r\n- !!python/unicode\r\n  'pandocfilters=1.4.1=py35_0'\r\n- !!python/unicode\r\n  'partd=0.3.8=py35_0'\r\n- !!python/unicode\r\n  'path.py=10.3.1=py35_0'\r\n- !!python/unicode\r\n  'pickleshare=0.7.4=py35_0'\r\n- !!python/unicode\r\n  'pillow=4.1.1=py35_0'\r\n- !!python/unicode\r\n  'pip=9.0.1=py35_1'\r\n- !!python/unicode\r\n  'prompt_toolkit=1.0.14=py35_0'\r\n- !!python/unicode\r\n  'pygments=2.2.0=py35_0'\r\n- !!python/unicode\r\n  'pyparsing=2.1.4=py35_0'\r\n- !!python/unicode\r\n  'pyqt=5.6.0=py35_2'\r\n- !!python/unicode\r\n  'python=3.5.2=0'\r\n- !!python/unicode\r\n  'python-dateutil=2.6.0=py35_0'\r\n- !!python/unicode\r\n  'pytz=2017.2=py35_0'\r\n- !!python/unicode\r\n  'pyyaml=3.12=py35_0'\r\n- !!python/unicode\r\n  'pyzmq=16.0.2=py35_0'\r\n- !!python/unicode\r\n  'qt=5.6.2=vc14_4'\r\n- !!python/unicode\r\n  'qtconsole=4.3.0=py35_0'\r\n- !!python/unicode\r\n  'requests=2.12.4=py35_0'\r\n- !!python/unicode\r\n  'scipy=0.18.1=np111py35_0'\r\n- !!python/unicode\r\n  'setuptools=27.2.0=py35_1'\r\n- !!python/unicode\r\n  'simplegeneric=0.8.1=py35_1'\r\n- !!python/unicode\r\n  'sip=4.18=py35_0'\r\n- !!python/unicode\r\n  'six=1.10.0=py35_0'\r\n- !!python/unicode\r\n  'sqlalchemy=1.1.6=py35_0'\r\n- !!python/unicode\r\n  'testpath=0.3.1=py35_0'\r\n- !!python/unicode\r\n  'tk=8.5.18=vc14_0'\r\n- !!python/unicode\r\n  'toolz=0.8.2=py35_0'\r\n- !!python/unicode\r\n  'tornado=4.4.2=py35_0'\r\n- !!python/unicode\r\n  'traitlets=4.3.2=py35_0'\r\n- !!python/unicode\r\n  'vs2015_runtime=14.0.25123=0'\r\n- !!python/unicode\r\n  'wcwidth=0.1.7=py35_0'\r\n- !!python/unicode\r\n  'wheel=0.29.0=py35_0'\r\n- !!python/unicode\r\n  'widgetsnbextension=2.0.0=py35_0'\r\n- !!python/unicode\r\n  'win_unicode_console=0.5=py35_0'\r\n- !!python/unicode\r\n  'xarray=0.9.6=py35_0'\r\n- !!python/unicode\r\n  'zlib=1.2.8=vc14_3'\r\n- !!python/unicode\r\n  'param=1.5.1=py35_0'\r\n- pip:\r\n  - aiofiles==0.3.0\r\n  - aiohttp==1.2.0\r\n  - aiohttp-cors==0.5.0\r\n  - aiohttp-jinja2==0.13.0\r\n  - aiopg==0.13.0\r\n  - alembic==0.9.0\r\n  - async-timeout==1.1.0\r\n  - asyncpg==0.9.0\r\n  - asyncpgsa==0.8.2\r\n  - bkcharts==0.1\r\n  - certifi==2017.4.17\r\n  - chardet==3.0.3\r\n  - freezegun==0.3.8\r\n  - idna==2.5\r\n  - ipython-genutils==0.2.0\r\n  - jupyter-client==5.0.1\r\n  - jupyter-console==5.1.0\r\n  - jupyter-core==4.3.0\r\n  - mako==1.0.6\r\n  - multidict==2.1.4\r\n  - prompt-toolkit==1.0.14\r\n  - psycopg2==2.6.2\r\n  - py==1.4.32\r\n  - pyserial==3.2.1\r\n  - pyserial-asyncio==0.3\r\n  - pytest==3.0.6\r\n  - pytest-aiohttp==0.1.3\r\n  - python-editor==1.0.3\r\n  - rx==1.5.8\r\n  - urllib3==1.21.1\r\n  - win-unicode-console==0.5\r\n  - yarl==0.8.1\r\n```"},"comment":{"url":"https://api.github.com/repos/ioam/holoviews/issues/comments/308265961","html_url":"https://github.com/ioam/holoviews/issues/1536#issuecomment-308265961","issue_url":"https://api.github.com/repos/ioam/holoviews/issues/1536","id":308265961,"user":{"login":"jlstevens","id":890576,"avatar_url":"https://avatars0.githubusercontent.com/u/890576?v=3","gravatar_id":"","url":"https://api.github.com/users/jlstevens","html_url":"https://github.com/jlstevens","followers_url":"https://api.github.com/users/jlstevens/followers","following_url":"https://api.github.com/users/jlstevens/following{/other_user}","gists_url":"https://api.github.com/users/jlstevens/gists{/gist_id}","starred_url":"https://api.github.com/users/jlstevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlstevens/subscriptions","organizations_url":"https://api.github.com/users/jlstevens/orgs","repos_url":"https://api.github.com/users/jlstevens/repos","events_url":"https://api.github.com/users/jlstevens/events{/privacy}","received_events_url":"https://api.github.com/users/jlstevens/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T22:22:47Z","updated_at":"2017-06-13T22:22:47Z","body":"Thanks for filing this issue!\r\n\r\nMy first suggestion is you update to Bokeh 0.12.6 which just released [a few hours ago](https://bokeh.github.io/blog/2017/6/13/release-0-12-6/) to see if the problem persists.\r\n\r\nI think you might also want to try the holoviews dev version that you can get with:\r\n\r\n```\r\nconda install -c ioam/label/dev holoviews\r\n```\r\n"}}
{"actor":{"display_login":"jlstevens"}}