Bug 2323006

Summary: Trac[postgres_backend] WARNING: Exception caught while retrieving libpq's version
Product: [Fedora] Fedora Reporter: Anthony Messina <amessina>
Component: tracAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: fschwarz, gwync
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: trac-1.6-6.fc41 trac-1.6-6.fc40 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-05 03:38:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anthony Messina 2024-10-31 19:07:42 UTC
After upgrading from F40 to F41, the following warning is shown:

Trac[postgres_backend] WARNING: Exception caught while retrieving libpq's version
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/trac/db/postgres_backend.py", line 299, in _client_version
    lib = ctypes.CDLL(_libpq_pathname)
  File "/usr/lib64/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

Comment 2 Anthony Messina 2025-02-01 17:41:46 UTC
And https://trac.edgewall.org/changeset/17861

Comment 3 Fedora Update System 2025-02-03 16:56:19 UTC
FEDORA-2025-460aba9b98 (trac-1.6-6.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-460aba9b98

Comment 4 Fedora Update System 2025-02-03 16:56:20 UTC
FEDORA-2025-bbaf7a72c5 (trac-1.6-6.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-bbaf7a72c5

Comment 5 Fedora Update System 2025-02-04 02:12:33 UTC
FEDORA-2025-460aba9b98 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-460aba9b98`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-460aba9b98

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-02-04 02:24:54 UTC
FEDORA-2025-bbaf7a72c5 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-bbaf7a72c5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-bbaf7a72c5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-02-05 03:38:13 UTC
FEDORA-2025-bbaf7a72c5 (trac-1.6-6.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-02-12 01:58:30 UTC
FEDORA-2025-460aba9b98 (trac-1.6-6.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.