Skip to content

password creation: non-fatal bcript error output #597

@padovan

Description

@padovan

bcrypt error, but not fatal. Password is created

poutine kernelci-api > docker compose run api python3 -m api.admin --email gus@collabora.com
WARN[0000] /home/gus/p/ecosystem/kernelci-api/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] Found orphan containers ([kernelci-api-api-run-58ebc654f7a8 kernelci-api-api-run-78b9fbdce960]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. 
Password for user 'admin': 
Retype password for user 'admin': 
(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__'
Creating admin user...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions