You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on a Windows system with Firebird 3.0.13 and encountered the errors below.
=============================================== short test summary info ===============================================
FAILED tests/test_connection.py::test_properties - assert not True
FAILED tests/test_connection.py::test_transaction - assert not True
FAILED tests/test_connection.py::test_db_info - assert [31798] == []
FAILED tests/test_db_createdrop.py::test_create_drop_dsn - UnboundLocalError: cannot access local variable 'dsn' where it is not associated with a value
FAILED tests/test_param_buffers.py::test_tpb_parsing - firebird.driver.types.DatabaseError: Internal error when using clumplet API: attempt to store data in dataless clum...
FAILED tests/test_transaction.py::test_transaction_info - AssertionError: assert 'C:\\Users\\fdcastel.TOLKIEN\\AppData\\Local\\Temp\\pytest-of-fdcastel\\pytest-13\\db0\\test...
ERROR tests/test_events.py::test_one_event - UnboundLocalError: cannot access local variable 'con' where it is not associated with a value
ERROR tests/test_events.py::test_multiple_events - UnboundLocalError: cannot access local variable 'con' where it is not associated with a value
ERROR tests/test_events.py::test_20_events - UnboundLocalError: cannot access local variable 'con' where it is not associated with a value
ERROR tests/test_events.py::test_flush_events - UnboundLocalError: cannot access local variable 'con' where it is not associated with a value
ERROR tests/test_info_providers.py::test_statement_info_provider - firebird.driver.types.DatabaseError: Dynamic SQL Error
ERROR tests/test_server.py::test_backup - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_restore - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_local_backup - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_local_restore - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_nbackup - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_nrestore - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_set_default_cache_size - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_set_sweep_interval - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_shutdown_bring_online - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_set_space_reservation - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_set_write_mode - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_set_access_mode - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_set_sql_dialect - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_activate_shadow - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_no_linger - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_sweep - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
ERROR tests/test_server.py::test_repair - Failed: Failed to create restore target DB C:\Users\fdcastel.TOLKIEN\AppData\Local\Temp\pytest-of-fdcastel\pytest-1...
================================ 6 failed, 85 passed, 17 skipped, 22 errors in 31.20s =================================
I’ll dig into it later, but any pointers would help.
Activity
fdcastel commentedon Nov 17, 2025
I ran
on a Windows system with Firebird 3.0.13 and encountered the errors below.
I’ll dig into it later, but any pointers would help.
pcisar commentedon Nov 17, 2025
I use Hatch. So install it, even via uv tool install hatch.
Then from driver checkout directory run:
hatch testfdcastel commentedon Nov 17, 2025
Thanks.
I've installed hatch via
uv tool install hatch.I ran the tests with
hatch test: There are now 6 tests failing:Investigating.
On what environment do you run the tests (OS, Firebird Version, etc)?
fdcastel commentedon Nov 17, 2025
On same computer, with Firebird 5.0.3 installed:
I'll try on Linux systems.