-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Loguru startup error #191
Comments
🤔 🤔 🤔 🤔 How could possible asyncio be partially initialized? Can you please give me all parameters you were using from |
Do you have a module called asyncio in your codebase? |
Or any name that can be the same with some modules from the sandard library? |
[fastapi-template.options]
project_name = "test_template"
api_type = "rest"
enable_redis = "None"
enable_rmq = "None"
ci_type = "gitlab_ci"
enable_migrations = "True"
enable_taskiq = "True"
enable_kube = "True"
kube_name = "test-template"
enable_routers = "True"
enable_kafka = "True"
enable_loguru = "True"
traefik_labels = "True"
add_dummy = "True"
orm = "ormar"
self_hosted_swagger = "None"
prometheus_enabled = "True"
sentry_enabled = "True"
otlp_enabled = "True"
pydanticv1 = "True"
gunicorn = "None"
add_users = "None"
cookie_auth = "None"
jwt_auth = "None"
Only original asyncio library
No |
I have the same for me. [fastapi-template.options] |
Guess I know the solution for that. Thanks for finding it out. |
And what's the solution? The problem is still present |
Fixed it. Just rename |
I couldn't find the solution previously. @mxft, that's lit! I'll fix it later. |
Rename does work, but could you please explain what's the bug and how did you come up with that solution ? |
I didn't dive much into it, but I just though that it has something to do with @s3rius can we expect the repository to be updated in near future? It pretty much seems abandoned at this point, but fixing major problems and bumping some package versions won't take much of your time |
I see, thanks for your reply |
The issue was resolved, the logging module was renamed. |
After initializing blank project with loguru as logger
poetry run python -m project_name
it gives an error:After renaming file
project_name/logging.py
toproject_name/log.py
it worksThe text was updated successfully, but these errors were encountered: