2 @message |
firebird.driver.types.DatabaseError: invalid BLOB handle
LOG DETAILS:
2025-04-18 15:27:50.480
2025-04-18 15:27:50.488 act = <firebird.qa.plugin.Action object at [hex]>
2025-04-18 15:27:50.494 tmp_blob_file = PosixPath('/var/tmp/qa_2024/test_11838/tmp_small_blob.dat')
2025-04-18 15:27:50.502 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-04-18 15:27:50.517
2025-04-18 15:27:50.529 @pytest.mark.version('>=5.0.3')
2025-04-18 15:27:50.539 def test_1(act: Action, tmp_blob_file: Path, capsys):
2025-04-18 15:27:50.547
2025-04-18 15:27:50.555 DATA_LEN_LIST = \
2025-04-18 15:27:50.562 ( 0, 1, 2, 3, 4,
2025-04-18 15:27:50.568 32764,32765,32766,32767,32768,
2025-04-18 15:27:50.575 65532,65533,65534,65535,65536
2025-04-18 15:27:50.582 )
2025-04-18 15:27:50.588
2025-04-18 15:27:50.595 > with act.db.connect() as con:
2025-04-18 15:27:50.602
2025-04-18 15:27:50.609 tests/functional/blob/test_read_blob_in_multiple_cursors.py:60:
2025-04-18 15:27:50.618 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:50.630
2025-04-18 15:27:50.643 self = Connection[7136], exc_type = None, exc_value = None, traceback = None
2025-04-18 15:27:50.652
2025-04-18 15:27:50.667 def __exit__(self, exc_type, exc_value, traceback) -> None:
2025-04-18 15:27:50.681 > self.close()
2025-04-18 15:27:50.696
2025-04-18 15:27:50.709 ../lib/python3.11/site-packages/firebird/driver/core.py:1676:
2025-04-18 15:27:50.719 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:50.728
2025-04-18 15:27:50.736 self = Connection[7136]
2025-04-18 15:27:50.745
2025-04-18 15:27:50.752 def close(self) -> None:
2025-04-18 15:27:50.766 """Close the connection and release all associated resources.
2025-04-18 15:27:50.775
2025-04-18 15:27:50.785 Closes all event collectors, transaction managers (with rollback) and statements
2025-04-18 15:27:50.798 associated with this connection before attempt (see Hooks) to close the
2025-04-18 15:27:50.808 connection itself.
2025-04-18 15:27:50.819
2025-04-18 15:27:50.826 Hooks:
2025-04-18 15:27:50.837 Event `.ConnectionHook.DETACH_REQUEST`: Executed before connection
2025-04-18 15:27:50.849 is closed. Hook must have signature::
2025-04-18 15:27:50.860
2025-04-18 15:27:50.870 hook_func(connection: Connection) -> bool
2025-04-18 15:27:50.885
2025-04-18 15:27:50.897 .. note::
2025-04-18 15:27:50.907
2025-04-18 15:27:50.916 If any hook function returns True, connection is NOT closed.
2025-04-18 15:27:50.924
2025-04-18 15:27:50.931 Event `.ConnectionHook.CLOSED`: Executed after connection is closed.
2025-04-18 15:27:50.946 Hook must have signature::
2025-04-18 15:27:50.959
2025-04-18 15:27:50.968 hook_func(connection: Connection) -> None
2025-04-18 15:27:50.976
2025-04-18 15:27:50.984 Any value returned by hook is ignored.
2025-04-18 15:27:50.991
2025-04-18 15:27:50.997 Important:
2025-04-18 15:27:51.004 Closed connection SHALL NOT be used anymore.
2025-04-18 15:27:51.017 """
2025-04-18 15:27:51.027 if not self.is_closed():
2025-04-18 15:27:51.042 retain = False
2025-04-18 15:27:51.053 try:
2025-04-18 15:27:51.063 > self._close()
2025-04-18 15:27:51.072
2025-04-18 15:27:51.079 ../lib/python3.11/site-packages/firebird/driver/core.py:1864:
2025-04-18 15:27:51.087 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:51.093
2025-04-18 15:27:51.099 self = Connection[7136]
2025-04-18 15:27:51.106
2025-04-18 15:27:51.113 def _close(self) -> None:
2025-04-18 15:27:51.121 if self.__schema is not None:
2025-04-18 15:27:51.129 self.__schema._set_internal(False)
2025-04-18 15:27:51.138 self.__schema.close()
2025-04-18 15:27:51.148 if self.__monitor is not None:
2025-04-18 15:27:51.162 self.__monitor._set_internal(False)
2025-04-18 15:27:51.174 self.__monitor.close()
2025-04-18 15:27:51.188 self._ic.close()
2025-04-18 15:27:51.200 for collector in self.__ecollectors:
2025-04-18 15:27:51.209 collector.close()
2025-04-18 15:27:51.225 > self.main_transaction._finish(DefaultAction.ROLLBACK)
2025-04-18 15:27:51.241
2025-04-18 15:27:51.252 ../lib/python3.11/site-packages/firebird/driver/core.py:1701:
2025-04-18 15:27:51.265 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:51.278
2025-04-18 15:27:51.287 self = <firebird.driver.core.TransactionManager object at [hex]>
2025-04-18 15:27:51.299 default_action = <DefaultAction.ROLLBACK: 2>
2025-04-18 15:27:51.309
2025-04-18 15:27:51.317 def _finish(self, default_action: DefaultAction=None) -> None:
2025-04-18 15:27:51.324 try:
2025-04-18 15:27:51.330 if self._tra is not None:
2025-04-18 15:27:51.337 if default_action is None:
2025-04-18 15:27:51.350 default_action = self.default_action
2025-04-18 15:27:51.360 if default_action == DefaultAction.COMMIT:
2025-04-18 15:27:51.368 self.commit()
2025-04-18 15:27:51.376 else:
2025-04-18 15:27:51.386 > self.rollback()
2025-04-18 15:27:51.402
2025-04-18 15:27:51.412 ../lib/python3.11/site-packages/firebird/driver/core.py:2416:
2025-04-18 15:27:51.421 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:51.429
2025-04-18 15:27:51.436 self = <firebird.driver.core.TransactionManager object at [hex]>
2025-04-18 15:27:51.444
2025-04-18 15:27:51.452 def rollback(self, *, retaining: bool=False, savepoint: str=None) -> None:
2025-04-18 15:27:51.466 """Rolls back the transaction managed by this instance.
2025-04-18 15:27:51.477
2025-04-18 15:27:51.485 Arguments:
2025-04-18 15:27:51.493 retaining: When True, the transaction context is retained after rollback.
2025-04-18 15:27:51.501 savepoint: When specified, the transaction is rolled back to savepoint with given name.
2025-04-18 15:27:51.508
2025-04-18 15:27:51.523 Raises:
2025-04-18 15:27:51.535 InterfaceError: When both retaining and savepoint parameters are specified.
2025-04-18 15:27:51.549 """
2025-04-18 15:27:51.559 assert not self.__closed
2025-04-18 15:27:51.567 assert self.is_active()
2025-04-18 15:27:51.575 if retaining and savepoint:
2025-04-18 15:27:51.584 raise InterfaceError("Can't rollback to savepoint while retaining context")
2025-04-18 15:27:51.599 if savepoint:
2025-04-18 15:27:51.610 self.execute_immediate(f'rollback to {savepoint}')
2025-04-18 15:27:51.624 else:
2025-04-18 15:27:51.638 if retaining:
2025-04-18 15:27:51.650 self._tra.rollback_retaining()
2025-04-18 15:27:51.660 else:
2025-04-18 15:27:51.668 > self._close_cursors()
2025-04-18 15:27:51.675
2025-04-18 15:27:51.683 ../lib/python3.11/site-packages/firebird/driver/core.py:2503:
2025-04-18 15:27:51.690 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:51.697
2025-04-18 15:27:51.704 self = <firebird.driver.core.TransactionManager object at [hex]>
2025-04-18 15:27:51.711
2025-04-18 15:27:51.719 def _close_cursors(self) -> None:
2025-04-18 15:27:51.734 for cursor in self._cursors:
2025-04-18 15:27:51.743 c = cursor()
2025-04-18 15:27:51.751 if c:
2025-04-18 15:27:51.759 > c.close()
2025-04-18 15:27:51.766
2025-04-18 15:27:51.777 ../lib/python3.11/site-packages/firebird/driver/core.py:2405:
2025-04-18 15:27:51.793 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:51.805
2025-04-18 15:27:51.819 self = <firebird.driver.core.Cursor object at [hex]>
2025-04-18 15:27:51.833
2025-04-18 15:27:51.844 def close(self) -> None:
2025-04-18 15:27:51.858 """Close the cursor and release all associated resources.
2025-04-18 15:27:51.869
2025-04-18 15:27:51.881 The result set (if any) from last executed statement is released, and if executed
2025-04-18 15:27:51.890 `Statement` was not supplied externally, it's released as well.
2025-04-18 15:27:51.899
2025-04-18 15:27:51.906 Note:
2025-04-18 15:27:51.923 The closed cursor could be used to execute further SQL commands.
2025-04-18 15:27:51.934 """
2025-04-18 15:27:51.942 > self._clear()
2025-04-18 15:27:51.950
2025-04-18 15:27:51.957 ../lib/python3.11/site-packages/firebird/driver/core.py:3894:
2025-04-18 15:27:51.966 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:51.973
2025-04-18 15:27:51.984 self = <firebird.driver.core.Cursor object at [hex]>
2025-04-18 15:27:51.996
2025-04-18 15:27:52.008 def _clear(self) -> None:
2025-04-18 15:27:52.016 if self._result is not None:
2025-04-18 15:27:52.023 self._result.close()
2025-04-18 15:27:52.031 self._result = None
2025-04-18 15:27:52.039 self._name = None
2025-04-18 15:27:52.047 self._last_fetch_status = None
2025-04-18 15:27:52.057 self._executed = False
2025-04-18 15:27:52.070 self.__output_cache = None
2025-04-18 15:27:52.082 while self.__blob_readers:
2025-04-18 15:27:52.096 > self.__blob_readers.pop().close()
2025-04-18 15:27:52.110
2025-04-18 15:27:52.125 ../lib/python3.11/site-packages/firebird/driver/core.py:3768:
2025-04-18 15:27:52.139 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:52.149
2025-04-18 15:27:52.165 self = BlobReader[size=65536]
2025-04-18 15:27:52.176
2025-04-18 15:27:52.188 def close(self) -> None:
2025-04-18 15:27:52.202 """Close the BlobReader.
2025-04-18 15:27:52.213 """
2025-04-18 15:27:52.229 if self._blob is not None:
2025-04-18 15:27:52.244 > self._blob.close()
2025-04-18 15:27:52.251
2025-04-18 15:27:52.263 ../lib/python3.11/site-packages/firebird/driver/core.py:2954:
2025-04-18 15:27:52.276 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:52.285
2025-04-18 15:27:52.293 self = <firebird.driver.interfaces.iBlob object at [hex]>
2025-04-18 15:27:52.300
2025-04-18 15:27:52.312 def close(self) -> None:
2025-04-18 15:27:52.328 "Replaces `isc_close_blob()`. On success releases interface."
2025-04-18 15:27:52.340 self.vtable.close(self, self.status)
2025-04-18 15:27:52.350 > self._check()
2025-04-18 15:27:52.363
2025-04-18 15:27:52.374 ../lib/python3.11/site-packages/firebird/driver/interfaces.py:411:
2025-04-18 15:27:52.389 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-04-18 15:27:52.403
2025-04-18 15:27:52.413 self = <firebird.driver.interfaces.iBlob object at [hex]>
2025-04-18 15:27:52.424
2025-04-18 15:27:52.438 def _check(self) -> None:
2025-04-18 15:27:52.451 state = self.status.get_state()
2025-04-18 15:27:52.466 if StateFlag.ERRORS in state:
2025-04-18 15:27:52.477 > raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:52.492 E firebird.driver.types.DatabaseError: invalid BLOB handle
2025-04-18 15:27:52.503
2025-04-18 15:27:52.518 ../lib/python3.11/site-packages/firebird/driver/interfaces.py:113: DatabaseError
2025-04-18 15:27:52.529 ---------------------------- Captured stdout setup -----------------------------
2025-04-18 15:27:52.544 Creating db: localhost:/var/tmp/qa_2024/test_11838/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2025-04-18 15:27:52.558 ----------------------------- Captured stdout call -----------------------------
2025-04-18 15:27:52.569 CLIENT_VERSION : LI-V5.0.3.1635 Firebird 5.0 HQbird
2025-04-18 15:27:52.587 con.info.version='5.0.3.1635', con.info.get_info(DbInfoCode.PROTOCOL_VERSION)=19
2025-04-18 15:27:52.598
2025-04-18 15:27:52.606
2025-04-18 15:27:52.613 Start of loop for b_gen_size=0 in DATA_LEN_LIST
2025-04-18 15:27:52.619 feature is not supported
2025-04-18 15:27:52.625 (335544378,)
2025-04-18 15:27:52.631 Traceback (most recent call last):
2025-04-18 15:27:52.638 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:52.653 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:52.664 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:52.672 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:52.681 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:52.694 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:52.702 self._check()
2025-04-18 15:27:52.710 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:52.721 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:52.730 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:52.743
2025-04-18 15:27:52.754
2025-04-18 15:27:52.761
2025-04-18 15:27:52.768 Start of loop for b_gen_size=1 in DATA_LEN_LIST
2025-04-18 15:27:52.774 feature is not supported
2025-04-18 15:27:52.781 (335544378,)
2025-04-18 15:27:52.788 Traceback (most recent call last):
2025-04-18 15:27:52.795 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:52.804 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:52.812 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:52.820 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:52.828 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:52.837 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:52.849 self._check()
2025-04-18 15:27:52.860 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:52.867 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:52.874 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:52.881
2025-04-18 15:27:52.888
2025-04-18 15:27:52.895
2025-04-18 15:27:52.904 Start of loop for b_gen_size=2 in DATA_LEN_LIST
2025-04-18 15:27:52.911 feature is not supported
2025-04-18 15:27:52.920 (335544378,)
2025-04-18 15:27:52.933 Traceback (most recent call last):
2025-04-18 15:27:52.948 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:52.959 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:52.968 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:52.976 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:52.989 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.005 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.018 self._check()
2025-04-18 15:27:53.026 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.034 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.040 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.046
2025-04-18 15:27:53.057
2025-04-18 15:27:53.065
2025-04-18 15:27:53.073 Start of loop for b_gen_size=3 in DATA_LEN_LIST
2025-04-18 15:27:53.080 feature is not supported
2025-04-18 15:27:53.087 (335544378,)
2025-04-18 15:27:53.095 Traceback (most recent call last):
2025-04-18 15:27:53.105 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:53.111 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:53.118 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:53.129 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:53.141 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.149 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.156 self._check()
2025-04-18 15:27:53.163 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.171 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.181 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.192
2025-04-18 15:27:53.204
2025-04-18 15:27:53.218
2025-04-18 15:27:53.229 Start of loop for b_gen_size=4 in DATA_LEN_LIST
2025-04-18 15:27:53.241 feature is not supported
2025-04-18 15:27:53.255 (335544378,)
2025-04-18 15:27:53.266 Traceback (most recent call last):
2025-04-18 15:27:53.280 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:53.296 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:53.312 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:53.326 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:53.338 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.350 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.362 self._check()
2025-04-18 15:27:53.376 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.391 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.405 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.413
2025-04-18 15:27:53.420
2025-04-18 15:27:53.427
2025-04-18 15:27:53.434 Start of loop for b_gen_size=32764 in DATA_LEN_LIST
2025-04-18 15:27:53.441 feature is not supported
2025-04-18 15:27:53.449 (335544378,)
2025-04-18 15:27:53.456 Traceback (most recent call last):
2025-04-18 15:27:53.464 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:53.471 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:53.478 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:53.486 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:53.493 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.500 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.508 self._check()
2025-04-18 15:27:53.515 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.523 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.530 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.535
2025-04-18 15:27:53.548
2025-04-18 15:27:53.556
2025-04-18 15:27:53.564 Start of loop for b_gen_size=32765 in DATA_LEN_LIST
2025-04-18 15:27:53.572 feature is not supported
2025-04-18 15:27:53.580 (335544378,)
2025-04-18 15:27:53.589 Traceback (most recent call last):
2025-04-18 15:27:53.599 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:53.607 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:53.615 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:53.624 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:53.632 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.642 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.650 self._check()
2025-04-18 15:27:53.659 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.669 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.676 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.683
2025-04-18 15:27:53.690
2025-04-18 15:27:53.697
2025-04-18 15:27:53.704 Start of loop for b_gen_size=32766 in DATA_LEN_LIST
2025-04-18 15:27:53.711 feature is not supported
2025-04-18 15:27:53.717 (335544378,)
2025-04-18 15:27:53.724 Traceback (most recent call last):
2025-04-18 15:27:53.734 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:53.742 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:53.751 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:53.759 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:53.769 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.778 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.787 self._check()
2025-04-18 15:27:53.796 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.804 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.816 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.829
2025-04-18 15:27:53.840
2025-04-18 15:27:53.849
2025-04-18 15:27:53.862 Start of loop for b_gen_size=32767 in DATA_LEN_LIST
2025-04-18 15:27:53.872 feature is not supported
2025-04-18 15:27:53.880 (335544378,)
2025-04-18 15:27:53.897 Traceback (most recent call last):
2025-04-18 15:27:53.909 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:53.919 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:53.927 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:53.936 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:53.944 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:53.951 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:53.957 self._check()
2025-04-18 15:27:53.964 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:53.971 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:53.977 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:53.984
2025-04-18 15:27:53.993
2025-04-18 15:27:54.001
2025-04-18 15:27:54.014 Start of loop for b_gen_size=32768 in DATA_LEN_LIST
2025-04-18 15:27:54.024 feature is not supported
2025-04-18 15:27:54.032 (335544378,)
2025-04-18 15:27:54.039 Traceback (most recent call last):
2025-04-18 15:27:54.046 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 86, in test_1
2025-04-18 15:27:54.054 blob_reader_1.seek(0, os.SEEK_SET)
2025-04-18 15:27:54.060 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3066, in seek
2025-04-18 15:27:54.066 self.__pos = self._blob.seek(whence, offset)
2025-04-18 15:27:54.072 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-18 15:27:54.079 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 383, in seek
2025-04-18 15:27:54.086 self._check()
2025-04-18 15:27:54.093 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:54.100 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:54.112 firebird.driver.types.DatabaseError: feature is not supported
2025-04-18 15:27:54.123
2025-04-18 15:27:54.134
2025-04-18 15:27:54.143
2025-04-18 15:27:54.151 Start of loop for b_gen_size=65532 in DATA_LEN_LIST
2025-04-18 15:27:54.158 invalid BLOB handle
2025-04-18 15:27:54.168 (335544328,)
2025-04-18 15:27:54.184 Traceback (most recent call last):
2025-04-18 15:27:54.201 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 98, in test_1
2025-04-18 15:27:54.212 blob_reader_2.close()
2025-04-18 15:27:54.224 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2954, in close
2025-04-18 15:27:54.238 self._blob.close()
2025-04-18 15:27:54.252 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 411, in close
2025-04-18 15:27:54.266 self._check()
2025-04-18 15:27:54.280 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:54.296 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:54.309 firebird.driver.types.DatabaseError: invalid BLOB handle
2025-04-18 15:27:54.320
2025-04-18 15:27:54.334
2025-04-18 15:27:54.347
2025-04-18 15:27:54.362 Start of loop for b_gen_size=65533 in DATA_LEN_LIST
2025-04-18 15:27:54.376 invalid BLOB handle
2025-04-18 15:27:54.388 (335544328,)
2025-04-18 15:27:54.403 Traceback (most recent call last):
2025-04-18 15:27:54.413 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 81, in test_1
2025-04-18 15:27:54.428 con.commit()
2025-04-18 15:27:54.437 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 1917, in commit
2025-04-18 15:27:54.451 self.main_transaction.commit(retaining=retaining)
2025-04-18 15:27:54.462 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2479, in commit
2025-04-18 15:27:54.469 self._close_cursors()
2025-04-18 15:27:54.476 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2405, in _close_cursors
2025-04-18 15:27:54.483 c.close()
2025-04-18 15:27:54.491 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3894, in close
2025-04-18 15:27:54.499 self._clear()
2025-04-18 15:27:54.506 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3768, in _clear
2025-04-18 15:27:54.519 self.__blob_readers.pop().close()
2025-04-18 15:27:54.532 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2954, in close
2025-04-18 15:27:54.541 self._blob.close()
2025-04-18 15:27:54.548 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 411, in close
2025-04-18 15:27:54.555 self._check()
2025-04-18 15:27:54.562 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:54.574 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:54.586 firebird.driver.types.DatabaseError: invalid BLOB handle
2025-04-18 15:27:54.595
2025-04-18 15:27:54.604
2025-04-18 15:27:54.611
2025-04-18 15:27:54.617 Start of loop for b_gen_size=65534 in DATA_LEN_LIST
2025-04-18 15:27:54.624 invalid BLOB handle
2025-04-18 15:27:54.631 (335544328,)
2025-04-18 15:27:54.648 Traceback (most recent call last):
2025-04-18 15:27:54.663 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 98, in test_1
2025-04-18 15:27:54.677 blob_reader_2.close()
2025-04-18 15:27:54.692 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2954, in close
2025-04-18 15:27:54.703 self._blob.close()
2025-04-18 15:27:54.719 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 411, in close
2025-04-18 15:27:54.730 self._check()
2025-04-18 15:27:54.741 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:54.755 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:54.769 firebird.driver.types.DatabaseError: invalid BLOB handle
2025-04-18 15:27:54.781
2025-04-18 15:27:54.790
2025-04-18 15:27:54.800
2025-04-18 15:27:54.809 Start of loop for b_gen_size=65535 in DATA_LEN_LIST
2025-04-18 15:27:54.816 invalid BLOB handle
2025-04-18 15:27:54.825 (335544328,)
2025-04-18 15:27:54.833 Traceback (most recent call last):
2025-04-18 15:27:54.840 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 81, in test_1
2025-04-18 15:27:54.847 con.commit()
2025-04-18 15:27:54.854 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 1917, in commit
2025-04-18 15:27:54.865 self.main_transaction.commit(retaining=retaining)
2025-04-18 15:27:54.880 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2479, in commit
2025-04-18 15:27:54.890 self._close_cursors()
2025-04-18 15:27:54.898 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2405, in _close_cursors
2025-04-18 15:27:54.907 c.close()
2025-04-18 15:27:54.915 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3894, in close
2025-04-18 15:27:54.923 self._clear()
2025-04-18 15:27:54.936 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 3768, in _clear
2025-04-18 15:27:54.946 self.__blob_readers.pop().close()
2025-04-18 15:27:54.955 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2954, in close
2025-04-18 15:27:54.971 self._blob.close()
2025-04-18 15:27:54.982 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 411, in close
2025-04-18 15:27:54.990 self._check()
2025-04-18 15:27:54.998 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:55.011 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:55.022 firebird.driver.types.DatabaseError: invalid BLOB handle
2025-04-18 15:27:55.033
2025-04-18 15:27:55.044
2025-04-18 15:27:55.054
2025-04-18 15:27:55.064 Start of loop for b_gen_size=65536 in DATA_LEN_LIST
2025-04-18 15:27:55.077 invalid BLOB handle
2025-04-18 15:27:55.092 (335544328,)
2025-04-18 15:27:55.102 Traceback (most recent call last):
2025-04-18 15:27:55.111 File "/opt/distr/venv/firebird-qa/tests/functional/blob/test_read_blob_in_multiple_cursors.py", line 98, in test_1
2025-04-18 15:27:55.119 blob_reader_2.close()
2025-04-18 15:27:55.125 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/core.py", line 2954, in close
2025-04-18 15:27:55.131 self._blob.close()
2025-04-18 15:27:55.137 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 411, in close
2025-04-18 15:27:55.144 self._check()
2025-04-18 15:27:55.150 File "/opt/distr/venv/lib/python3.11/site-packages/firebird/driver/interfaces.py", line 113, in _check
2025-04-18 15:27:55.157 raise self.__report(DatabaseError, self.status.get_errors())
2025-04-18 15:27:55.164 firebird.driver.types.DatabaseError: invalid BLOB handle
2025-04-18 15:27:55.171
|