Changes between Initial Version and Version 1 of Ticket #12622, comment 1
- Timestamp:
- Nov 20, 2016, 11:25:04 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12622, comment 1
initial v1 1 1 The code [source:trunk/trac/db/postgres_backend.py@15152:287#L281] falls back to `"(unknown)"` because it tries to CDLL load a 32-bit PostgreSQL `libpq.dll` from a 64-bit Python. 2 2 3 A more robust approach might be to get the File Version attribute of the .dll (à la SO: 19849077/error-loading-dll-in-python-not-a-valid-win32-application).3 A more robust approach might be to get the File Version attribute of the .dll (à la SO:580924/python-windows-file-version-attribute). 4 4 5 5 In the meantime, the following should do: