Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
I get this message from Trac:
"Trac Error
TracError: Unable to check for upgrade of trac.db.api.DatabaseManager:
TracError: Unsupported database type "postgres"
The trac.log-file says:
2025-02-17 09:04:58,282 Trac[env] INFO: -------------------------------
- environment startup [Trac 1.6] --------------------------------
2025-02-17 09:04:58,589 Trac[postgres_backend] WARNING: Exception
caught while retrieving libpq's version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/trac/db/postgres_backend.py",
line 299, in _client_version
lib = ctypes.CDLL(_libpq_pathname)
File "/usr/lib/python3.13/ctypes/__init__.py", line 353, in __init__
if name.endswith(".fwork"):
~~~~~~~~~~~~~^^^^^^^^^^
TypeError: endswith first arg must be bytes or a tuple of bytes, not
str
This caused by: https://trac.edgewall.org/ticket/13803
This ticket is solved in Trac 1.6.1. The version of Trac in Debian Trixie is
1.6.3 but somehow the patch is not incorporated in this version of Trac.
*** End of the template - remove these template lines ***