Scidb-py error


So I recently downloaded the v15.12 scidb virtual box and also installed v15.12 scidb-py package on it. Then I found out the following code didn’t work…

from scidbpy import connect sdb = connect('http://localhost:8080')

The error is:
Traceback (most recent call last):
File “”, line 2, in
sdb = connect(‘http://localhost:8080’)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 1919, in connect
result = SciDBShimInterface(url, user=username, password=password)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 1706, in init
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 1626, in _refresh_afl
op_list ="‘operators’").toarray() # query the connected SciDB engine to view the currently supported list of operators
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 999, in toarray
return parse.toarray(self, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 357, in toarray
return func(array, compression=compression)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 286, in toarray_sparse
atts = _attribute_dict(unpacked, compression)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 224, in _attribute_dict
a = _string_attribute_dict(subarray, compression=compression)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 155, in _string_attribute_dict
result = np.array(list(_iter_strings(contents, nullable)), dtype=object)
File “/usr/local/lib/python2.7/dist-packages/scidbpy/”, line 135, in _iter_strings
yield None if masked else contents[offset: offset + sz - 1].decode(‘utf-8’)
TypeError: only integer scalar arrays can be converted to a scalar index


This is a known bug, see You can try downgrading your NumPy to 1.11