Failed
OmeroPy.test.integration.tablestest.test_service.TestTables.testCannotUpdateOutOfRange (from pytest)
Error Message
omero.InternalException: exception ::omero::InternalException { serverStackTrace = Traceback (most recent call last): File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/decorators.py", line 71, in exc_handler rv = func(*args, **kwargs) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/decorators.py", line 31, in handler return func(*args, **kwargs) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/tables.py", line 295, in update self.storage.update(self.stamp, data) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/decorators.py", line 96, in with_lock return func(*args, **kwargs) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/hdfstorageV2.py", line 69, in check_and_update_stamp return func(*args, **kwargs) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/hdfstorageV2.py", line 85, in flush_after return func(*args, **kwargs) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/hdfstorageV2.py", line 532, in update getattr(self.__mea.cols, col.name)[rn] = col.values[i] File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/tables/table.py", line 3499, in __setitem__ raise IndexError("Index out of range") IndexError: Index out of range serverExceptionClass = message = Internal exception }
Stacktrace
self = <test_service.TestTables object at 0x7fcda4be0850> twoColumnFiveRowTable = 69379a8e-e746-42e8-9f76-4384ecc6a1ed/Table-0838a654-6eab-4e27-8277-0676a15ba134 -t -e 1.1:tcp -h 172.18.0.12 -p 35323 -t 60000 def testCannotUpdateOutOfRange(self, twoColumnFiveRowTable): updateData = omero.grid.Data() updateData.rowNumbers = [5] updateData.columns = [ columns.LongColumnI('lc', 'long', [2]), columns.DoubleColumnI('dc', 'double', [1.0]) ] # colNumbers must match number of columns with pytest.raises(omero.ApiUsageException): > twoColumnFiveRowTable.update(updateData) test/integration/tablestest/test_service.py:1150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = 69379a8e-e746-42e8-9f76-4384ecc6a1ed/Table-0838a654-6eab-4e27-8277-0676a15ba134 -t -e 1.1:tcp -h 172.18.0.12 -p 35323 -t 60000 modifiedData = object #0 (::omero::grid::Data) { lastModification = 0 rowNumbers = { [0] = 5 } columns =... description = double values = { [0] = 1.0 } } } } _ctx = None def update(self, modifiedData, _ctx=None): > return _M_omero.grid.Table._op_update.invoke(self, ((modifiedData, ), _ctx)) E omero.InternalException: exception ::omero::InternalException E { E serverStackTrace = Traceback (most recent call last): E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/decorators.py", line 71, in exc_handler E rv = func(*args, **kwargs) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/decorators.py", line 31, in handler E return func(*args, **kwargs) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/tables.py", line 295, in update E self.storage.update(self.stamp, data) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/decorators.py", line 96, in with_lock E return func(*args, **kwargs) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/hdfstorageV2.py", line 69, in check_and_update_stamp E return func(*args, **kwargs) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/hdfstorageV2.py", line 85, in flush_after E return func(*args, **kwargs) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/hdfstorageV2.py", line 532, in update E getattr(self.__mea.cols, col.name)[rn] = col.values[i] E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/tables/table.py", line 3499, in __setitem__ E raise IndexError("Index out of range") E IndexError: Index out of range E E serverExceptionClass = E message = Internal exception E } ../../../../.venv3/lib64/python3.9/site-packages/omero_Tables_ice.py:1292: InternalException