kernelci / kernelci/kernelci-api
password creation: non-fatal bcript error output
- Dominant language
- Python
- Stars
- 10
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
bcrypt error, but not fatal. Password is created
```bash
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...
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the command `python3 -m api.admin` through `docker compose` and inspect the bcrypt/passlib interaction in the API environment. Check the dependency setup associated with `docker-compose.yaml`; done means password creation still succeeds without the trapped bcrypt traceback or other unintended error output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100