Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 1 forks source link

User creation results in bcrypt error #181

Open ryanjameskennedy opened 6 months ago

ryanjameskennedy commented 6 months ago

Describe the bug When trying to create the admin user the following error occurs:

(trapped) error reading bcrypt version Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin version = _bcrypt.__about__.__version__ ^^^^^^^^^^^^^^^^^ AttributeError: module 'bcrypt' has no attribute '__about__' Successfully created the user

To Reproduce Steps to reproduce the behavior:

  1. Follow Bonsai setup instructions

Expected behavior No version error as incompatible bcrypt (v4.1.1) and passlib (v1.7.4) versions are used.

Screenshots Not applicable

Desktop (please complete the following information):

Additional context NA

ryanjameskennedy commented 1 month ago

This has been fixed but I'm not sure which PR. Feel free to close @mhkc