Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'bcrypt' has no attribute '__about__' #1350

Closed
nicheosala opened this issue Jan 17, 2024 · 2 comments
Closed

AttributeError: module 'bcrypt' has no attribute '__about__' #1350

nicheosala opened this issue Jan 17, 2024 · 2 comments
Labels
not our bug issues which can't be fixed on server side
Milestone

Comments

@nicheosala
Copy link

radicale --version: 3.1.8
python --version: 3.11.6
bcrypt version: 4.1.3

Just after starting Radicale, I get the following error:

(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "/usr/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__'

The bcrypt team seems to have already pointed out a solution here: pyca/bcrypt#684

@pbiering pbiering added this to the 3.1.x milestone Mar 2, 2024
@pbiering pbiering added bug need:reporter feedback feedback from reporter required labels Mar 2, 2024
@pbiering
Copy link
Collaborator

pbiering commented Mar 2, 2024

Best to circumvent this is replacing passlib by direct bcrypt as proposed above.

pbiering added a commit to pbiering/Radicale that referenced this issue Mar 6, 2024
@pbiering pbiering modified the milestones: 3.1.x, 3.1.9 Mar 6, 2024
@pbiering pbiering removed the need:reporter feedback feedback from reporter required label Mar 6, 2024
pbiering added a commit that referenced this issue Mar 6, 2024
@pbiering
Copy link
Collaborator

pbiering commented Mar 6, 2024

fixed by #1404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not our bug issues which can't be fixed on server side
Projects
None yet
Development

No branches or pull requests

2 participants