Hi,

Suddenly 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

Anyone an idea about a solution? 

TIA,

Gr

Joost

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/trac-users/6037c14dc2d2924425bdfdb958be5535c2d23e53.camel%40Askesis.nl.

Reply via email to