Closed DeadNews closed 9 months ago
passlib is no longer available!
I appreciate your report. What version of Firebird are you using?
Also, what version of pyfirebirdsql do you use?
@nakagami I added this information to the Environment section.
If you modify as https://github.com/nakagami/pyfirebirdsql/commit/949d7032721caf96a99214443fb398dd3dcb616c and
pip install the passlib
will it work?
It will crash with an ImportError
.
To prevent it from crashing, you can use approaches from point 1
or 2
in the Possible Solutions section.
Yes, this works on windows
with passlib
installed.
Now 1.2.4 released. Please install and check it.
Description
Firstly, thank you for your work on this project.
I've encountered an issue with the
get_crypt
function infirebirdsql/wireprotocol.py
.https://github.com/nakagami/pyfirebirdsql/blob/f2274ae7f1f070234136f8f9ad544096728b7b5d/firebirdsql/wireprotocol.py#L68-L78
On
windows
, this function occasionally crashes with anAttributeError
in multi-threaded code:Possible Solutions
crypt
function directly to avoid theAttributeError
:AttributeError
to the exception handling to catch this error:crypt
module by default, for the reasons described in deprecation notes.Environment
3.11
2.5.9
1.2.3
Additional context
ref: https://github.com/nakagami/pyfirebirdsql/issues/99