I’m experimenting with SciDB’s python API and getting an error when trying sample.py:
$ /usr/bin/python pythonexamples/sample.py Executing: select * from simplearray Traceback (most recent call last): File "pythonexamples/sample.py", line 129, in <module> main() File "pythonexamples/sample.py", line 77, in main desc = result.array.getArrayDesc() AttributeError: 'SwigPyObject' object has no attribute 'getArrayDesc' $
The problem doesn’t seem to care whether I run from $BUID/bin/pythonexamples or $PREFIX/share/scidb/examples/python . It appears that “result” is a lisbscidbpython.QueryResult and result.array is a “<Swig Object of type 'boost::shared_ptr< scidb::Array >*”. My guess is that result.array should be a libscidbpython.Array.
I’m not sure what went wrong. Does anyone have an idea?