Internal server error involving datashape

Howdy,

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

https://github.com/kdpenner/help/blob/master/gama151_1342189661gyro.dat

I modified and followed the directions here:

https://github.com/bokeh/bokeh/blob/feature/blaze_docs/sphinx/source/docs/user_guide/server.rst

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(c)

Traceback (most recent call last):

File “”, line 1, in

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

dshape = discover(data)

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

return func(*args, **kwargs)

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

return c.dshape

File “anaconda/lib/python2.7/site-packages/blaze/server/client.py”, 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/parsers.py”, 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/parsers.py”, 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 (127.0.0.1) 12.62ms

Thanks,

Kyle