Failed
OmeroPy.test.integration.tablestest.test_tables.TestTableIntegrity.testAllColumnsAndMetadata (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.11/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.11/site-packages/omero/util/decorators.py", line 31, in handler return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/tables.py", line 285, in addData self.storage.append(cols) File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/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.11/site-packages/omero/hdfstorageV2.py", line 85, in flush_after return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/hdfstorageV2.py", line 514, in append col.append(self.__mea) # Potential corruption !!! ^^^^^^^^^^^^^^^^^^^^^^ File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/columns.py", line 543, in append masks.append(numpy.fromstring(x, count=len(x), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: The binary mode of fromstring is removed, use frombuffer instead serverExceptionClass = message = Internal exception }
Stacktrace
self = <test_tables.TestTableIntegrity object at 0x7fc47451fd50> def testAllColumnsAndMetadata(self): """ Check the integrity of an created OMERO table created within this test. This test mainly checks if the created table is as expected by checking column types and values. """ > table = self._testCreateAllColumnsAndMetadata() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/integration/tablestest/test_tables.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/integration/tablestest/test_tables.py:139: in _testCreateAllColumnsAndMetadata table.addData(cols) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = e9794a68-6eff-4823-91a2-6911676ef410/Table-c9cd892a-517c-48d0-8e59-1236a77ee3bf -t -e 1.1:tcp -h 172.18.0.12 -p 33635 -t 60000 cols = [object #0 (::omero::grid::FileColumn) { name = filecol description = file col values = { [0]... name = boolcol description = bool col values = { [0] = True [1] = False } }, ...] _ctx = None def addData(self, cols, _ctx=None): > return _M_omero.grid.Table._op_addData.invoke(self, ((cols, ), _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.11/site-packages/omero/util/decorators.py", line 71, in exc_handler E rv = func(*args, **kwargs) E ^^^^^^^^^^^^^^^^^^^^^ E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/util/decorators.py", line 31, in handler E return func(*args, **kwargs) E ^^^^^^^^^^^^^^^^^^^^^ E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/tables.py", line 285, in addData E self.storage.append(cols) E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/util/decorators.py", line 96, in with_lock E return func(*args, **kwargs) E ^^^^^^^^^^^^^^^^^^^^^ E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/hdfstorageV2.py", line 85, in flush_after E return func(*args, **kwargs) E ^^^^^^^^^^^^^^^^^^^^^ E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/hdfstorageV2.py", line 514, in append E col.append(self.__mea) # Potential corruption !!! E ^^^^^^^^^^^^^^^^^^^^^^ E File "/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.11/site-packages/omero/columns.py", line 543, in append E masks.append(numpy.fromstring(x, count=len(x), E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E ValueError: The binary mode of fromstring is removed, use frombuffer instead E E serverExceptionClass = E message = Internal exception E } ../../../../.venv3/lib64/python3.11/site-packages/omero_Tables_ice.py:1273: InternalException