Skip to content

Failed to load "Buuntu/fastapi-react" and "MSOneCode/cookiecutter-active-directory-python-graphapi-oauth2-0-access" cookiecutter template with error "name 'unicode' is not defined" #8430

@linette-zyy

Description

@linette-zyy

Describe the bug
Image

Steps to Reproduce

  1. Launch VS
  2. Click "View->Cookiecutter Explorer"
  3. Select "Buuntu/fastapi-react" to click "Next"
  4. Wait for load successfully and then click "Create and Open Folder"

Expected behavior
It should create successfully.

Additional context and screenshots
Error occurs when create template.

Image

Output
Output for General in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to General)

----- Creating files using template 'Buuntu/fastapi-react' -----
C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\requests_init_.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.0)/charset_normalizer (3.4.4) doesn't match a supported version!
warnings.warn(
DEBUG config.py: User config not found. Loading default config.
DEBUG hooks.py: hooks_dir is C:\Users\v-yizh12.cookiecutters\fastapi-react\hooks
DEBUG hooks.py: No hooks/dir in template_dir
DEBUG main.py: context_file is C:\Users\v-yizh12.cookiecutters\fastapi-react\cookiecutter.json
DEBUG generate.py: Context generated is OrderedDict({'cookiecutter': OrderedDict({'project_slug': 'fastapi-react-project', 'project_name': '{{ cookiecutter.project_slug }}', 'port': '8000', 'postgres_user': 'postgres', 'postgres_password': 'password', 'postgres_database': 'app', 'superuser_email': 'admin@{{cookiecutter.project_name}}.com', 'superuser_password': 'password', 'secret_key': 'super_secret'})})
DEBUG main.py: context is OrderedDict({'cookiecutter': OrderedDict({'project_slug': 'fastapi-react-project', 'project_name': 'fastapi-react-project', 'port': '8000', 'postgres_user': 'postgres', 'postgres_password': 'password', 'postgres_database': 'app', 'superuser_email': 'admin@fastapi-react-project.com', 'superuser_password': 'password', 'secret_key': 'super_secret'}), 'cookiecutter': {'project_slug': 'fastapi-react-project', 'project_name': '{{ cookiecutter.project_slug }}', 'port': '8000', 'postgres_user': 'postgres', 'postgres_password': 'password', 'postgres_database': 'app', 'superuser_email': 'admin@{{cookiecutter.project_name}}.com', 'superuser_password': 'password', 'secret_key': 'super_secret'}})
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12/.cookiecutter_replay/
DEBUG find.py: Searching C:\Users\v-yizh12.cookiecutters\fastapi-react for the project template.
DEBUG find.py: The project template appears to be C:\Users\v-yizh12.cookiecutters\fastapi-react{{cookiecutter.project_slug}}
DEBUG generate.py: Generating project from C:\Users\v-yizh12.cookiecutters\fastapi-react{{cookiecutter.project_slug}}...
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project
DEBUG generate.py: Project directory is C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project
DEBUG hooks.py: hooks_dir is C:\Users\v-yizh12.cookiecutters\fastapi-react\hooks
DEBUG hooks.py: No hooks/dir in template_dir
DEBUG hooks.py: No pre_gen_project hook found
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\nginx must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\nginx
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\scripts must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\scripts
DEBUG generate.py: Processing file .prettierignore
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project.prettierignore
DEBUG generate.py: Check .prettierignore to see if it's a binary
DEBUG check.py: is_binary: '.prettierignore'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'pt'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project.prettierignore
DEBUG generate.py: Processing file README.md
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\README.md
DEBUG generate.py: Check README.md to see if it's a binary
DEBUG check.py: is_binary: 'README.md'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\README.md
DEBUG generate.py: Processing file docker-compose.yml
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\docker-compose.yml
DEBUG generate.py: Check docker-compose.yml to see if it's a binary
DEBUG check.py: is_binary: 'docker-compose.yml'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'no'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\docker-compose.yml
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app
DEBUG generate.py: Processing file backend\Dockerfile
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\Dockerfile
DEBUG generate.py: Check backend\Dockerfile to see if it's a binary
DEBUG check.py: is_binary: 'backend\Dockerfile'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\Dockerfile
DEBUG generate.py: Processing file backend\alembic.ini
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\alembic.ini
DEBUG generate.py: Check backend\alembic.ini to see if it's a binary
DEBUG check.py: is_binary: 'backend\alembic.ini'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\alembic.ini
DEBUG generate.py: Processing file backend\conftest.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\conftest.py
DEBUG generate.py: Check backend\conftest.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\conftest.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\conftest.py
DEBUG generate.py: Processing file backend\pyproject.toml
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\pyproject.toml
DEBUG generate.py: Check backend\pyproject.toml to see if it's a binary
DEBUG check.py: is_binary: 'backend\pyproject.toml'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\pyproject.toml
DEBUG generate.py: Processing file backend\requirements.txt
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\requirements.txt
DEBUG generate.py: Check backend\requirements.txt to see if it's a binary
DEBUG check.py: is_binary: 'backend\requirements.txt'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\requirements.txt
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests
DEBUG generate.py: Processing file backend\app_init
.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app_init_.py
DEBUG generate.py: Check backend\app_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app_init_.py
DEBUG generate.py: Processing file backend\app\alembic.ini
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic.ini
DEBUG generate.py: Check backend\app\alembic.ini to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\alembic.ini'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic.ini
DEBUG generate.py: Processing file backend\app\initial_data.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\initial_data.py
DEBUG generate.py: Check backend\app\initial_data.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\initial_data.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'no'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\initial_data.py
DEBUG generate.py: Processing file backend\app\main.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\main.py
DEBUG generate.py: Check backend\app\main.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\main.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\main.py
DEBUG generate.py: Processing file backend\app\tasks.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tasks.py
DEBUG generate.py: Check backend\app\tasks.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\tasks.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'no'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tasks.py
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\versions must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\versions
DEBUG generate.py: Processing file backend\app\alembic\README
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\README
DEBUG generate.py: Check backend\app\alembic\README to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\alembic\README'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'it'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\README
DEBUG generate.py: Processing file backend\app\alembic_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic_init_.py
DEBUG generate.py: Check backend\app\alembic_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\alembic\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic_init_.py
DEBUG generate.py: Processing file backend\app\alembic\env.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\env.py
DEBUG generate.py: Check backend\app\alembic\env.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\alembic\env.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\env.py
DEBUG generate.py: Processing file backend\app\alembic\script.py.mako
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\script.py.mako
DEBUG generate.py: Check backend\app\alembic\script.py.mako to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\alembic\script.py.mako'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'es'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\script.py.mako
DEBUG generate.py: Processing file backend\app\alembic\versions\91979b40eb38_create_users_table.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\versions\91979b40eb38_create_users_table.py
DEBUG generate.py: Check backend\app\alembic\versions\91979b40eb38_create_users_table.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\alembic\versions\91979b40eb38_create_users_table.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'et'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\alembic\versions\91979b40eb38_create_users_table.py
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1 must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\dependencies must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\dependencies
DEBUG generate.py: Processing file backend\app\api_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api_init_.py
DEBUG generate.py: Check backend\app\api_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api_init_.py
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers
DEBUG generate.py: Processing file backend\app\api\api_v1_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1_init_.py
DEBUG generate.py: Check backend\app\api\api_v1_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1_init_.py
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests
DEBUG generate.py: Processing file backend\app\api\api_v1\routers_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers_init_.py
DEBUG generate.py: Check backend\app\api\api_v1\routers_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\routers\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers_init_.py
DEBUG generate.py: Processing file backend\app\api\api_v1\routers\auth.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\auth.py
DEBUG generate.py: Check backend\app\api\api_v1\routers\auth.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\routers\auth.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'no'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\auth.py
DEBUG generate.py: Processing file backend\app\api\api_v1\routers\users.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\users.py
DEBUG generate.py: Check backend\app\api\api_v1\routers\users.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\routers\users.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'da'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\users.py
DEBUG generate.py: Processing file backend\app\api\api_v1\routers\tests_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests_init_.py
DEBUG generate.py: Check backend\app\api\api_v1\routers\tests_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\routers\tests\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests_init_.py
DEBUG generate.py: Processing file backend\app\api\api_v1\routers\tests\test_auth.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests\test_auth.py
DEBUG generate.py: Check backend\app\api\api_v1\routers\tests\test_auth.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\routers\tests\test_auth.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests\test_auth.py
DEBUG generate.py: Processing file backend\app\api\api_v1\routers\tests\test_users.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests\test_users.py
DEBUG generate.py: Check backend\app\api\api_v1\routers\tests\test_users.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\api_v1\routers\tests\test_users.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'da'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\api_v1\routers\tests\test_users.py
DEBUG generate.py: Processing file backend\app\api\dependencies_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\dependencies_init_.py
DEBUG generate.py: Check backend\app\api\dependencies_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\api\dependencies\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\api\dependencies_init_.py
DEBUG generate.py: Processing file backend\app\core_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core_init_.py
DEBUG generate.py: Check backend\app\core_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\core\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core_init_.py
DEBUG generate.py: Processing file backend\app\core\auth.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\auth.py
DEBUG generate.py: Check backend\app\core\auth.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\core\auth.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'da'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\auth.py
DEBUG generate.py: Processing file backend\app\core\celery_app.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\celery_app.py
DEBUG generate.py: Check backend\app\core\celery_app.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\core\celery_app.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'no'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\celery_app.py
DEBUG generate.py: Processing file backend\app\core\config.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\config.py
DEBUG generate.py: Check backend\app\core\config.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\core\config.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'nl'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\config.py
DEBUG generate.py: Processing file backend\app\core\security.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\security.py
DEBUG generate.py: Check backend\app\core\security.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\core\security.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'da'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\core\security.py
DEBUG generate.py: Processing file backend\app\db_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db_init_.py
DEBUG generate.py: Check backend\app\db_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\db\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db_init_.py
DEBUG generate.py: Processing file backend\app\db\crud.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\crud.py
DEBUG generate.py: Check backend\app\db\crud.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\db\crud.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'da'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\crud.py
DEBUG generate.py: Processing file backend\app\db\models.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\models.py
DEBUG generate.py: Check backend\app\db\models.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\db\models.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\models.py
DEBUG generate.py: Processing file backend\app\db\schemas.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\schemas.py
DEBUG generate.py: Check backend\app\db\schemas.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\db\schemas.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'et'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\schemas.py
DEBUG generate.py: Processing file backend\app\db\session.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\session.py
DEBUG generate.py: Check backend\app\db\session.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\db\session.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\db\session.py
DEBUG generate.py: Processing file backend\app\tests_init_.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests_init_.py
DEBUG generate.py: Check backend\app\tests_init_.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\tests\init.py'
DEBUG generate.py: Using detected newline character None
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests_init_.py
DEBUG generate.py: Processing file backend\app\tests\test_main.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests\test_main.py
DEBUG generate.py: Check backend\app\tests\test_main.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\tests\test_main.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'fr'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests\test_main.py
DEBUG generate.py: Processing file backend\app\tests\test_tasks.py
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests\test_tasks.py
DEBUG generate.py: Check backend\app\tests\test_tasks.py to see if it's a binary
DEBUG check.py: is_binary: 'backend\app\tests\test_tasks.py'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\backend\app\tests\test_tasks.py
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\public must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\public
DEBUG generate.py: Rendered dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\src must exist in output_dir C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4
DEBUG utils.py: Making sure path exists (creates tree if not exist): C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\src
DEBUG generate.py: Processing file frontend.dockerignore
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend.dockerignore
DEBUG generate.py: Check frontend.dockerignore to see if it's a binary
DEBUG check.py: is_binary: 'frontend\.dockerignore'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'fr'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend.dockerignore
DEBUG generate.py: Processing file frontend.eslintrc.js
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend.eslintrc.js
DEBUG generate.py: Check frontend.eslintrc.js to see if it's a binary
DEBUG check.py: is_binary: 'frontend\.eslintrc.js'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend.eslintrc.js
DEBUG generate.py: Processing file frontend.prettierrc.js
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend.prettierrc.js
DEBUG generate.py: Check frontend.prettierrc.js to see if it's a binary
DEBUG check.py: is_binary: 'frontend\.prettierrc.js'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend.prettierrc.js
DEBUG generate.py: Processing file frontend\Dockerfile
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\Dockerfile
DEBUG generate.py: Check frontend\Dockerfile to see if it's a binary
DEBUG check.py: is_binary: 'frontend\Dockerfile'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'eo'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\Dockerfile
DEBUG generate.py: Processing file frontend\README.md
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\README.md
DEBUG generate.py: Check frontend\README.md to see if it's a binary
DEBUG check.py: is_binary: 'frontend\README.md'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\README.md
DEBUG generate.py: Processing file frontend\package.json
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\package.json
DEBUG generate.py: Check frontend\package.json to see if it's a binary
DEBUG check.py: is_binary: 'frontend\package.json'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'ro'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\package.json
DEBUG generate.py: Processing file frontend\run.sh
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\run.sh
DEBUG generate.py: Check frontend\run.sh to see if it's a binary
DEBUG check.py: is_binary: 'frontend\run.sh'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\run.sh
DEBUG generate.py: Processing file frontend\tsconfig.json
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\tsconfig.json
DEBUG generate.py: Check frontend\tsconfig.json to see if it's a binary
DEBUG check.py: is_binary: 'frontend\tsconfig.json'
DEBUG helpers.py: nontext_ratio1: 0.0
DEBUG helpers.py: nontext_ratio2: 1.0
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': 'Windows-1252', 'confidence': 1.0, 'language': 'en'}
DEBUG helpers.py: success: decodable_as_unicode: True
DEBUG helpers.py: failure: decodable_as_unicode: True
DEBUG generate.py: Using detected newline character '\r\n'
DEBUG generate.py: Writing contents to file C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\tsconfig.json
DEBUG generate.py: Processing file frontend\public\favicon.ico
DEBUG generate.py: Created file at C:\Users\v-yizh12\AppData\Local\Temp\6fc83b76-38f9-45e4-88ef-c8b1a9295cc4\fastapi-react-project\frontend\public\favicon.ico
DEBUG generate.py: Check frontend\public\favicon.ico to see if it's a binary
DEBUG check.py: is_binary: 'frontend\public\favicon.ico'
DEBUG helpers.py: nontext_ratio1: 0.56640625
DEBUG helpers.py: nontext_ratio2: 0.6201171875
DEBUG helpers.py: is_likely_binary: False
DEBUG helpers.py: detected_encoding: {'encoding': None, 'confidence': 0.95, 'language': None}
Traceback (most recent call last):
File "C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\binaryornot\helpers.py", line 103, in is_binary_string
bytes_to_check.decode(encoding=detected_encoding['encoding'])
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: decode() argument 'encoding' must be str, not None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\microsoft visual studio\18\enterprise\common7\ide\extensions\microsoft\cookiecutter\cookiecutter_run.py", line 46, in
sys.exit(int(main() or 0))
~~~~^^
File "c:\program files\microsoft visual studio\18\enterprise\common7\ide\extensions\microsoft\cookiecutter\cookiecutter_run.py", line 37, in main
cookiecutter(
~~~~~~~~~~~~^
template_path,
^^^^^^^^^^^^^^
...<3 lines>...
config_file=user_config_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\cookiecutter\main.py", line 185, in cookiecutter
result = generate_files(
repo_dir=repo_dir,
...<5 lines>...
keep_project_on_failure=keep_project_on_failure,
)
File "C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\cookiecutter\generate.py", line 448, in generate_files
generate_file(
~~~~~~~~~~~~~^
project_dir, infile, context, env, skip_if_file_exists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\cookiecutter\generate.py", line 221, in generate_file
if is_binary(infile):
~~~~~~~~~^^^^^^^^
File "C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\binaryornot\check.py", line 33, in is_binary
return is_binary_string(chunk)
File "C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\Lib\site-packages\binaryornot\helpers.py", line 106, in is_binary_string
unicode(bytes_to_check, encoding=detected_encoding['encoding']) # noqa
^^^^^^^
NameError: name 'unicode' is not defined
C:\Users\v-yizh12\AppData\Local\Microsoft\CookiecutterTools\env\scripts\python.exe returned an exit code of 1.
----- Failed to create files using template 'Buuntu/fastapi-react' -----

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions