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

UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 84: character maps to <undefined> #349

Open
xd2dd opened this issue Jun 27, 2024 · 0 comments

Comments

@xd2dd
Copy link

xd2dd commented Jun 27, 2024

Hi! Windows 11, Poetry

`
def get_config() -> Config:
return Config(
TELEGRAM_TOKEN=os.getenv("TELEGRAM_TOKEN"),
YANDEX_OAUTH_TOKEN=os.getenv("YANDEX_OAUTH_TOKEN"),
YANDEX_TRACKER_ID=os.getenv("YANDEX_TRACKER_ID"),
DB_URL=os.getenv("DB_URL", "sqlite://test.sqlite3")
)

TORTOISE_ORM = {
"connections": {"default": get_config().DB_URL},
"apps": {
"models": {
"models": ["db.tickets.models", "aerich.models"],
"default_connection": "default",
},
},
}` My config

UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 84: character maps to

cp1252

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

No branches or pull requests

1 participant