Issue Details (XML | Word | Printable)

Key: PYFB-40
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Pavel Cisar
Reporter: Werner F Bruhin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird driver for Python

fbclient.dll is not found if not in path

Created: 13/Mar/14 01:03 PM   Updated: 30/Jun/15 07:16 PM
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.4.1

File Attachments: 1. Text File useregtogetlocation.patch (1 kB)

Environment: Windows 8.1 with Firebird Server 2.5.2 installed


 Description  « Hide
When installing fdb 1.4 using either 'setup.py install' or 'easy_install fdb' it does not find the fbclient.dll if it is not on a path. The error shown does not clearly identify what is causing the error.

ctypes.find_library fails to find it as the path is not including the FB server install and there is also this issue http://bugs.python.org/issue16283

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Werner F Bruhin added a comment - 13/Mar/14 01:05 PM
Attached a suggested patch to use the registry to find the FB server install path.

Tested only with Python 2.7.6 32 bit on Windows 8.1 with an FB server 2.5.2 32bit install

Pavel Cisar added a comment - 25/Jun/14 10:55 AM
Patch incorporated with small adjustments and additional enhancements.