TypeError: ufunc 'bitwise_or' output (typecode 'O') could not be coerced to provided output parameter (typecode 'i') according to the casting rule ''same_kind''
python -V
Python 2.7.10 :: Anaconda 2.3.0 (64-bit)
>>> numpy.__version__
'1.10.1'
>>> astropy.__version__
u'1.0.6'
Any help/hint would be greatly appreciated.
Thanks!
Eduardo
Here the complete output error:
lsd-admin --db=./ create table --primary-key obj_id --spatial-keys ra,dec test ra:f8 dec:f8 obj_id:u8
------ rolling back 20151127203638.001821 ---------
Traceback (most recent call last):
File "/home/banados/lsd/opt/lsd/current/bin/lsd-admin", line 580, in <module>
args.func(args)
File "/home/banados/lsd/opt/lsd/current/bin/lsd-admin", line 122, in do_create_table
db.create_table(args.table, schema)
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/join_ops.py", line 1914, in create_table
table = self.table(tabname, create=True)
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/join_ops.py", line 2076, in table
self.tables[tabname] = Table(path, name=tabname, mode='c', snapid=snapid, open_transaction=True)
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/table.py", line 999, in __init__
self._create(snapid, name, path)
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/table.py", line 1029, in _create
self.catalog = TableCatalog(pix=self.pix)
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/table_catalog.py", line 470, in __init__
self.clear()
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/table_catalog.py", line 456, in clear
self._bmaps = self._compute_mipmaps(np.zeros((w, w), dtype=object))
File "/home/banados/lsd/opt/lsd/current/lib/python/lsd/table_catalog.py", line 425, in _compute_mipmaps
m0[:,:] |= m1[i::2, j::2]
TypeError: ufunc 'bitwise_or' output (typecode 'O') could not be coerced to provided output parameter (typecode 'i') according to the casting rule ''same_kind''