Internal server error involving datashape


I want to use abstract rendering on a large-ish dataset:

I modified and followed the directions here:

and I get an internal server error. Where am I making the mistake?

Here’s what I’m doing:

bash-3.2$ bokeh-server

from mbs.client import upload, configure

upload(‘http://localhost:5006/’, ‘gama151_1342189661gyro.dat’)

****>>> configure(‘http://localhost:5006/’, ‘defaultuser/gama151_1342189661gyro.dat’, sep = ’ ')

{u’status’: u’success’}

****NOTE: this line differs from the documentation

from blaze.server.client import Client

from blaze import Data

c = Client(‘http://localhost:5006/’)

d = Data©

Traceback (most recent call last):

File “”, line 1, in

File “anaconda/lib/python2.7/site-packages/blaze/”, line 63, in Data

dshape = discover(data)

File “anaconda/lib/python2.7/site-packages/multipledispatch/”, line 163, in call

return func(*args, **kwargs)

File “anaconda/lib/python2.7/site-packages/blaze/server/”, line 99, in discover

return c.dshape

File “anaconda/lib/python2.7/site-packages/blaze/server/”, line 86, in dshape

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

ValueError: Bad Response: INTERNAL SERVER ERROR

The last few lines from the error output of bokeh-server are:

File “anaconda/lib/python2.7/site-packages/pandas/io/”, line 1242, in _maybe_parse_dates

if try_parse_dates and self._should_parse_dates(index):

File “anaconda/lib/python2.7/site-packages/pandas/io/”, line 808, in _should_parse_dates

name = self.index_names[i]

TypeError: ‘NoneType’ object has no attribute ‘getitem

2015-03-31 16:20:04,995:ERROR:tornado.access:500 GET /datashape ( 12.62ms