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

[Issue]: AttributeError: module 'bcrypt' has no attribute '__about__' #192

Closed
Aisuko opened this issue Jul 4, 2024 · 1 comment · Fixed by #221
Closed

[Issue]: AttributeError: module 'bcrypt' has no attribute '__about__' #192

Aisuko opened this issue Jul 4, 2024 · 1 comment · Fixed by #221
Labels

Comments

@Aisuko
Copy link
Contributor

Aisuko commented Jul 4, 2024

What is the issue you are having?

INFO:     Will watch for changes in these directories: ['/workspaces/kirin/backend']
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [63579] using StatReload
2024-07-04 07:16:54.965 | INFO     | src.repository.vector_database:__init__:15 - Vector Database --- Connected to Milvus.
INFO:     Started server process [63823]
INFO:     Waiting for application startup.
2024-07-04 07:16:55.013 | INFO     | src.repository.events:initialize_db_connection:79 - Database Connection --- Establishing . . .
2024-07-04 07:16:55.068 | INFO     | src.repository.events:inspect_db_server_on_connection:22 - New DB API Connection ---
 <AdaptedConnection <asyncpg.connection.Connection object at 0x7f9e600ba110>>
2024-07-04 07:16:55.069 | INFO     | src.repository.events:inspect_db_server_on_connection:23 - Connection Record ---
 <sqlalchemy.pool.base._ConnectionRecord object at 0x7f9e61a1dda0>
2024-07-04 07:16:55.070 | INFO     | src.repository.events:initialize_db_tables:35 - Database Table Creation --- Initializing . . .
2024-07-04 07:16:55.133 | INFO     | src.repository.events:initialize_db_tables:40 - Database Table Creation --- Successfully Initialized!
2024-07-04 07:16:55.137 | INFO     | src.repository.events:initialize_anonymous_user:43 - Anonymous user --- Creating . . .
(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__'
2024-07-04 07:16:55.480 | INFO     | src.repository.events:initialize_anonymous_user:58 - Anonymous user --- Successfully Created!
2024-07-04 07:16:55.480 | INFO     | src.repository.events:initialize_admin_user:61 - Admin user --- Creating . . .
2024-07-04 07:16:55.782 | INFO     | src.repository.events:initialize_admin_user:76 - Admin user --- Successfully Created!
2024-07-04 07:16:55.783 | INFO     | src.repository.events:initialize_db_connection:89 - Database Connection --- Successfully Established!
2024-07-04 07:16:55.783 | INFO     | src.repository.events:initialize_vectordb_collection:94 - Vector Database Connection --- Establishing . . .
2024-07-04 07:16:55.785 | INFO     | src.repository.vector_database:create_collection:43 - Vector Databse --- Milvus: collection default_collection exist, dropping..
2024-07-04 07:16:58.822 | INFO     | src.repository.vector_database:create_collection:47 - Vector Database --- Milvus: collection default_collection created
2024-07-04 07:16:58.823 | INFO     | src.repository.events:initialize_vectordb_collection:107 - Vector Database Connection --- Successfully Established!
2024-07-04 07:16:58.823 | INFO     | src.repository.events:initialize_inference_client:128 - Inference Client --- Waiting for Initialization . . .
2024-07-04 07:16:58.858 | INFO     | src.repository.events:initialize_inference_client:133 - Inference Client --- Successfully Initialized!
INFO:     Application startup complete.

Relevant log output

No response

@Aisuko Aisuko added the apis label Jul 4, 2024
@Micost Micost self-assigned this Jul 4, 2024
@Aisuko
Copy link
Contributor Author

Aisuko commented Jul 4, 2024

@Micost no need to care about that. The issue just a reminder. See pyca/bcrypt#684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants