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

New project creation fails on Windows due to PermissionError when deleting the temporary common files directory #748

Closed
e2jk opened this issue Aug 2, 2021 · 6 comments
Labels
bug Something isn't working Windows Windows only

Comments

@e2jk
Copy link
Contributor

e2jk commented Aug 2, 2021

Associated Template/Command/Core

C:\Users\<username>\Documents\devel>cookietemple --verbose create
(on Windows 10)

When creating a new project (first time using cookietemple, which I installed using pipx), a Traceback is triggered when trying to delete a folder in windows equivalent of /tmp. Namely:

PermissionError: [WinError 32] Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus: 'C:\\Users\\<username>\\AppData\\Local\\Temp\\tmp3i9rs9e7'
The error message in French could be translated to "The process cannot access the file because this file is used by another process:"

A new folder is created in the directory from where I ran the command, it seems to contain all the files, but the rest of the process (uploading to GitHub etc.) doesn't execute.

To Reproduce

Steps to reproduce the behavior:

  1. Run cookietemple with command: create
  2. Select: cli, python, project name, description, the rest of the questions don't matter (it failed both when I indicate to upload to Github or not)
  3. See error in the next collapsible section:
Full `--verbose` output of the command (Click to expand)
C:\Users\<username>\Documents\devel>cookietemple --verbose create

     ██████  ██████   ██████  ██   ██ ██ ███████ ████████ ███████ ███    ███ ██████  ██      ███████ 
    ██      ██    ██ ██    ██ ██  ██  ██ ██         ██    ██      ████  ████ ██   ██ ██      ██      
    ██      ██    ██ ██    ██ █████   ██ █████      ██    █████   ██ ████ ██ ██████  ██      █████ 
    ██      ██    ██ ██    ██ ██  ██  ██ ██         ██    ██      ██  ██  ██ ██      ██      ██    
     ██████  ██████   ██████  ██   ██ ██ ███████    ██    ███████ ██      ██ ██      ███████ ███████ 

Run cookietemple --help for an overview of all commands

[08/02/21 14:36:45] DEBUG    Using proactor: IocpProactor                                                                                            proactor_events.py:623
? Choose the project's domain:  cli
[08/02/21 14:36:47] DEBUG    User was asked the question: ||Choose the project's domain|| as: select                                                      questionary.py:93
                    DEBUG    User selected cli                                                                                                            questionary.py:94
? Choose the project's primary language:  python
[08/02/21 14:36:51] DEBUG    User was asked the question: ||Choose the project's primary language|| as: select                                            questionary.py:93
                    DEBUG    User selected python                                                                                                         questionary.py:94
? Project name [exploding-springfield]:  timelog-tracker
[08/02/21 14:37:20] DEBUG    User was asked the question: ||Project name|| as: text                                                                       questionary.py:93
                    DEBUG    User selected timelog-tracker                                                                                                questionary.py:94
Looking up timelog-tracker at PyPi!
                    DEBUG    Looking up https://pypi.org/project/timelog-tracker                                                                    template_creator.py:402
                    DEBUG    Starting new HTTPS connection (1): pypi.org:443                                                                          connectionpool.py:971
[08/02/21 14:37:21] DEBUG    https://pypi.org:443 "GET /project/timelog-tracker HTTP/1.1" 301 222                                                     connectionpool.py:452
                    DEBUG    https://pypi.org:443 "GET /project/timelog-tracker/ HTTP/1.1" 404 1893                                                   connectionpool.py:452
Looking up timelog-tracker at readthedocs.io!
                    DEBUG    Looking up https://timelog-tracker.readthedocs.io                                                                      template_creator.py:402
                    DEBUG    Starting new HTTPS connection (1): timelog-tracker.readthedocs.io:443                                                    connectionpool.py:971
                    DEBUG    https://timelog-tracker.readthedocs.io:443 "GET / HTTP/1.1" 404 None                                                     connectionpool.py:452
? Short description of your project [timelog-tracker. A cookietemple based .]:  A utility to track working time in a Microsoft Outlook calendar and generate monthly timesh
eets.
[08/02/21 14:37:55] DEBUG    User was asked the question: ||Short description of your project|| as: text                                                  questionary.py:93
                    DEBUG    User selected A utility to track working time in a Microsoft Outlook calendar and generate monthly timesheets.               questionary.py:94
? Initial version of your project [0.1.0]:
[08/02/21 14:37:56] DEBUG    User was asked the question: ||Initial version of your project|| as: text                                                    questionary.py:93
                    DEBUG    User selected 0.1.0                                                                                                          questionary.py:94
? License:  MIT
[08/02/21 14:37:57] DEBUG    User was asked the question: ||License|| as: select                                                                          questionary.py:93
                    DEBUG    User selected MIT                                                                                                            questionary.py:94
Automatically creating a Github repository with cookietemple is strongly recommended. Otherwise you will not be able to use all of cookietemple's features!

? Do you want to create a Github repository and push your template to it? [Yes]:  No
[08/02/21 14:38:01] DEBUG    User was asked the question: ||Do you want to create a Github repository and push your template to it?|| as: confirm         questionary.py:93
                    DEBUG    User selected False                                                                                                          questionary.py:94
                    DEBUG    User config not found. Loading default config.                                                                                   config.py:125
                    DEBUG    context_file is                                                                                                                     main.py:83
                             C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create/templates/cli/cli_python\cookiecutter.json
                    DEBUG    Context generated is OrderedDict([('cookiecutter', OrderedDict([('full_name', 'Emilien Klein'), ('email', 'emilien@klein.st'), generate.py:115
                             ('github_username', 'e2jk'), ('project_name', 'timelog-tracker'), ('project_slug', 'timelog-tracker'),
                             ('project_slug_no_hyphen', 'timelog_tracker'), ('project_short_description', 'A utility to track working time in a Microsoft
                             Outlook calendar and generate monthly timesheets.'), ('pypi_username', '{{ cookiecutter.github_username }}'), ('version',
                             '0.1.0'), ('testing_library', 'pytest'), ('command_line_interface', ['Click', 'Argparse', 'No command-line interface']),
                             ('license', ['MIT', 'BSD', 'ISC', 'Apache2.0', 'GNUv3', 'Not open source', 'Boost', 'Affero', 'CC0', 'Eclipse', 'CCBY',
                             'CCBYSA', 'WTFPL', 'unlicence'])]))])
[08/02/21 14:38:02] DEBUG    Making sure path exists: C:\Users\<username>/.cookiecutter_replay/                                                                     utils.py:42
                    DEBUG    Searching C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create/templates/cli/cli_python for the     find.py:19
                             project template.
                    DEBUG    The project template appears to be                                                                                                  find.py:31
                             C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create/templates/cli/cli_python\{{
                             cookiecutter.project_slug_no_hyphen }}
                    DEBUG    Generating project from                                                                                                        generate.py:265
                             C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create/templates/cli/cli_python\{{
                             cookiecutter.project_slug_no_hyphen }}...
                    DEBUG    Rendered dir timelog_tracker must exist in output_dir .                                                                        generate.py:195
                    DEBUG    Making sure path exists: timelog_tracker                                                                                           utils.py:42
                    DEBUG    Created directory at: timelog_tracker                                                                                              utils.py:45
                    DEBUG    Project directory is C:\Users\<username>\Documents\devel\timelog_tracker                                                           generate.py:287
                    DEBUG    hooks_dir is C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\templates\cli\cli_python\hooks   hooks.py:55
                    DEBUG    No hooks/dir in template_dir                                                                                                       hooks.py:58
                    DEBUG    No pre_gen_project hook found                                                                                                     hooks.py:128
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\.github must exist in output_dir .                                generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\.github                                                   utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\.github                                                      utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\docs must exist in output_dir .                                   generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\docs                                                      utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\docs                                                         utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\makefiles must exist in output_dir .                              generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\makefiles                                                 utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\makefiles                                                    utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\tests must exist in output_dir .                                  generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\tests                                                     utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\tests                                                        utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\__pycache__ must exist in output_dir .                            generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\__pycache__                                               utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\__pycache__                                                  utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker must exist in output_dir .                        generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker                                           utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker                                              utils.py:45
                    DEBUG    Processing file .bandit.yml                                                                                                    generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.bandit.yml                                                    generate.py:155
                    DEBUG    Check .bandit.yml to see if it's a binary                                                                                      generate.py:158
                    DEBUG    is_binary: '.bandit.yml'                                                                                                           check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.bandit.yml                                           generate.py:177
                    DEBUG    Processing file .darglint                                                                                                      generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.darglint                                                      generate.py:155
                    DEBUG    Check .darglint to see if it's a binary                                                                                        generate.py:158
                    DEBUG    is_binary: '.darglint'                                                                                                             check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.darglint                                             generate.py:177
                    DEBUG    Processing file .flake8                                                                                                        generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.flake8                                                        generate.py:155
                    DEBUG    Check .flake8 to see if it's a binary                                                                                          generate.py:158
                    DEBUG    is_binary: '.flake8'                                                                                                               check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
[08/02/21 14:38:03] DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.flake8                                               generate.py:177
                    DEBUG    Processing file .gitattributes                                                                                                 generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.gitattributes                                                 generate.py:155
                    DEBUG    Check .gitattributes to see if it's a binary                                                                                   generate.py:158
                    DEBUG    is_binary: '.gitattributes'                                                                                                        check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.gitattributes                                        generate.py:177
                    DEBUG    Processing file .pre-commit-config.yaml                                                                                        generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.pre-commit-config.yaml                                        generate.py:155
                    DEBUG    Check .pre-commit-config.yaml to see if it's a binary                                                                          generate.py:158
                    DEBUG    is_binary: '.pre-commit-config.yaml'                                                                                               check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.pre-commit-config.yaml                               generate.py:177
                    DEBUG    Processing file codecov.yml                                                                                                    generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\codecov.yml                                                    generate.py:155
                    DEBUG    Check codecov.yml to see if it's a binary                                                                                      generate.py:158
                    DEBUG    is_binary: 'codecov.yml'                                                                                                           check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\codecov.yml                                           generate.py:177
                    DEBUG    Processing file cookietemple.cfg                                                                                               generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\cookietemple.cfg                                               generate.py:155
                    DEBUG    Check cookietemple.cfg to see if it's a binary                                                                                 generate.py:158
                    DEBUG    is_binary: 'cookietemple.cfg'                                                                                                      check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\cookietemple.cfg                                      generate.py:177
                    DEBUG    Processing file Dockerfile                                                                                                     generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\Dockerfile                                                     generate.py:155
                    DEBUG    Check Dockerfile to see if it's a binary                                                                                       generate.py:158
                    DEBUG    is_binary: 'Dockerfile'                                                                                                            check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
[08/02/21 14:38:04] DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\Dockerfile                                            generate.py:177
                    DEBUG    Processing file Makefile                                                                                                       generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\Makefile                                                       generate.py:155
                    DEBUG    Check Makefile to see if it's a binary                                                                                         generate.py:158
                    DEBUG    is_binary: 'Makefile'                                                                                                              check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\Makefile                                              generate.py:177
                    DEBUG    Processing file noxfile.py                                                                                                     generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\noxfile.py                                                     generate.py:155
                    DEBUG    Check noxfile.py to see if it's a binary                                                                                       generate.py:158
                    DEBUG    is_binary: 'noxfile.py'                                                                                                            check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\noxfile.py                                            generate.py:177
                    DEBUG    Processing file poetry.lock                                                                                                    generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\poetry.lock                                                    generate.py:155
                    DEBUG    Check poetry.lock to see if it's a binary                                                                                      generate.py:158
                    DEBUG    is_binary: 'poetry.lock'                                                                                                           check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\poetry.lock                                           generate.py:177
                    DEBUG    Processing file pyproject.toml                                                                                                 generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\pyproject.toml                                                 generate.py:155
                    DEBUG    Check pyproject.toml to see if it's a binary                                                                                   generate.py:158
                    DEBUG    is_binary: 'pyproject.toml'                                                                                                        check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\pyproject.toml                                        generate.py:177
                    DEBUG    Processing file README.rst                                                                                                     generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\README.rst                                                     generate.py:155
                    DEBUG    Check README.rst to see if it's a binary                                                                                       generate.py:158
                    DEBUG    is_binary: 'README.rst'                                                                                                            check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
[08/02/21 14:38:05] DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\README.rst                                            generate.py:177
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows must exist in output_dir .                      generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows                                         utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows                                            utils.py:45
                    DEBUG    Processing file .github\dependabot.yml                                                                                         generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.github\dependabot.yml                                         generate.py:155
                    DEBUG    Check .github\dependabot.yml to see if it's a binary                                                                           generate.py:158
                    DEBUG    is_binary: '.github\\dependabot.yml'                                                                                               check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.github\dependabot.yml                                generate.py:177
                    DEBUG    Processing file .github\labels.yml                                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.github\labels.yml                                             generate.py:155
                    DEBUG    Check .github\labels.yml to see if it's a binary                                                                               generate.py:158
                    DEBUG    is_binary: '.github\\labels.yml'                                                                                                   check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.github\labels.yml                                    generate.py:177
                    DEBUG    Processing file .github\workflows\build_package.yml                                                                            generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\build_package.yml                            generate.py:155
                    DEBUG    Check .github\workflows\build_package.yml to see if it's a binary                                                              generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\build_package.yml'                                                                                 check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\build_package.yml                   generate.py:177
                    DEBUG    Processing file .github\workflows\labeler.yml                                                                                  generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\labeler.yml                                  generate.py:155
                    DEBUG    Check .github\workflows\labeler.yml to see if it's a binary                                                                    generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\labeler.yml'                                                                                       check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\labeler.yml                         generate.py:177
                    DEBUG    Processing file .github\workflows\publish_package.yml                                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\publish_package.yml                          generate.py:155
                    DEBUG    Check .github\workflows\publish_package.yml to see if it's a binary                                                            generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\publish_package.yml'                                                                               check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
[08/02/21 14:38:06] DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\publish_package.yml                 generate.py:177
                    DEBUG    Processing file .github\workflows\run_tests.yml                                                                                generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\run_tests.yml                                generate.py:155
                    DEBUG    Check .github\workflows\run_tests.yml to see if it's a binary                                                                  generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\run_tests.yml'                                                                                     check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\.github\workflows\run_tests.yml                       generate.py:177
                    DEBUG    Processing file docs\contributing.rst                                                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\docs\contributing.rst                                          generate.py:155
                    DEBUG    Check docs\contributing.rst to see if it's a binary                                                                            generate.py:158
                    DEBUG    is_binary: 'docs\\contributing.rst'                                                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\docs\contributing.rst                                 generate.py:177
                    DEBUG    Processing file docs\installation.rst                                                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\docs\installation.rst                                          generate.py:155
                    DEBUG    Check docs\installation.rst to see if it's a binary                                                                            generate.py:158
                    DEBUG    is_binary: 'docs\\installation.rst'                                                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\docs\installation.rst                                 generate.py:177
                    DEBUG    Processing file docs\reference.rst                                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\docs\reference.rst                                             generate.py:155
                    DEBUG    Check docs\reference.rst to see if it's a binary                                                                               generate.py:158
                    DEBUG    is_binary: 'docs\\reference.rst'                                                                                                   check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\docs\reference.rst                                    generate.py:177
                    DEBUG    Processing file docs\usage.rst                                                                                                 generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\docs\usage.rst                                                 generate.py:155
                    DEBUG    Check docs\usage.rst to see if it's a binary                                                                                   generate.py:158
                    DEBUG    is_binary: 'docs\\usage.rst'                                                                                                       check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\docs\usage.rst                                        generate.py:177
                    DEBUG    Processing file makefiles\Linux.mk                                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\makefiles\Linux.mk                                             generate.py:155
                    DEBUG    Check makefiles\Linux.mk to see if it's a binary                                                                               generate.py:158
                    DEBUG    is_binary: 'makefiles\\Linux.mk'                                                                                                   check.py:23
[08/02/21 14:38:07] DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\makefiles\Linux.mk                                    generate.py:177
                    DEBUG    Processing file makefiles\Windows.mk                                                                                           generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\makefiles\Windows.mk                                           generate.py:155
                    DEBUG    Check makefiles\Windows.mk to see if it's a binary                                                                             generate.py:158
                    DEBUG    is_binary: 'makefiles\\Windows.mk'                                                                                                 check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\makefiles\Windows.mk                                  generate.py:177
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\tests\__pycache__ must exist in output_dir .                      generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\tests\__pycache__                                         utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\tests\__pycache__                                            utils.py:45
                    DEBUG    Processing file tests\test_main.py                                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\tests\test_main.py                                             generate.py:155
                    DEBUG    Check tests\test_main.py to see if it's a binary                                                                               generate.py:158
                    DEBUG    is_binary: 'tests\\test_main.py'                                                                                                   check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\tests\test_main.py                                    generate.py:177
                    DEBUG    Processing file tests\__init__.py                                                                                              generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\tests\__init__.py                                              generate.py:155
                    DEBUG    Check tests\__init__.py to see if it's a binary                                                                                generate.py:158
                    DEBUG    is_binary: 'tests\\__init__.py'                                                                                                    check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\tests\__init__.py                                     generate.py:177
                    DEBUG    Processing file tests\__pycache__\__init__.cpython-38.pyc                                                                      generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\tests\__pycache__\__init__.cpython-38.pyc                      generate.py:155
                    DEBUG    Check tests\__pycache__\__init__.cpython-38.pyc to see if it's a binary                                                        generate.py:158
                    DEBUG    is_binary: 'tests\\__pycache__\\__init__.cpython-38.pyc'                                                                           check.py:23
                    DEBUG    Copying binary tests\__pycache__\__init__.cpython-38.pyc to                                                                    generate.py:160
                             C:\Users\<username>\Documents\devel\timelog_tracker\tests\__pycache__\__init__.cpython-38.pyc without rendering
                    DEBUG    Processing file __pycache__\noxfile.cpython-38.pyc                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\__pycache__\noxfile.cpython-38.pyc                             generate.py:155
                    DEBUG    Check __pycache__\noxfile.cpython-38.pyc to see if it's a binary                                                               generate.py:158
                    DEBUG    is_binary: '__pycache__\\noxfile.cpython-38.pyc'                                                                                   check.py:23
                    DEBUG    Copying binary __pycache__\noxfile.cpython-38.pyc to                                                                           generate.py:160
                             C:\Users\<username>\Documents\devel\timelog_tracker\__pycache__\noxfile.cpython-38.pyc without rendering
                    DEBUG    Rendered dir C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__ must exist in output_dir .            generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__                               utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__                                  utils.py:45
                    DEBUG    Processing file {{ cookiecutter.project_slug_no_hyphen }}\py.typed                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\py.typed                                       generate.py:155
[08/02/21 14:38:08] DEBUG    Check {{ cookiecutter.project_slug_no_hyphen }}\py.typed to see if it's a binary                                               generate.py:158
                    DEBUG    is_binary: '{{ cookiecutter.project_slug_no_hyphen }}\\py.typed'                                                                   check.py:23
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\py.typed                              generate.py:177
                    DEBUG    Processing file {{ cookiecutter.project_slug_no_hyphen }}\__init__.py                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__init__.py                                    generate.py:155
                    DEBUG    Check {{ cookiecutter.project_slug_no_hyphen }}\__init__.py to see if it's a binary                                            generate.py:158
                    DEBUG    is_binary: '{{ cookiecutter.project_slug_no_hyphen }}\\__init__.py'                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__init__.py                           generate.py:177
                    DEBUG    Processing file {{ cookiecutter.project_slug_no_hyphen }}\__main__.py                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__main__.py                                    generate.py:155
                    DEBUG    Check {{ cookiecutter.project_slug_no_hyphen }}\__main__.py to see if it's a binary                                            generate.py:158
                    DEBUG    is_binary: '{{ cookiecutter.project_slug_no_hyphen }}\\__main__.py'                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__main__.py                           generate.py:177
                    DEBUG    Processing file {{ cookiecutter.project_slug_no_hyphen }}\__pycache__\__init__.cpython-38.pyc                                  generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__\__init__.cpython-38.pyc            generate.py:155
                    DEBUG    Check {{ cookiecutter.project_slug_no_hyphen }}\__pycache__\__init__.cpython-38.pyc to see if it's a binary                    generate.py:158
                    DEBUG    is_binary: '{{ cookiecutter.project_slug_no_hyphen }}\\__pycache__\\__init__.cpython-38.pyc'                                       check.py:23
                    DEBUG    Copying binary {{ cookiecutter.project_slug_no_hyphen }}\__pycache__\__init__.cpython-38.pyc to                                generate.py:160
                             C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__\__init__.cpython-38.pyc without rendering
                    DEBUG    Processing file {{ cookiecutter.project_slug_no_hyphen }}\__pycache__\__main__.cpython-38.pyc                                  generate.py:140
                    DEBUG    Created file at C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__\__main__.cpython-38.pyc            generate.py:155
                    DEBUG    Check {{ cookiecutter.project_slug_no_hyphen }}\__pycache__\__main__.cpython-38.pyc to see if it's a binary                    generate.py:158
                    DEBUG    is_binary: '{{ cookiecutter.project_slug_no_hyphen }}\\__pycache__\\__main__.cpython-38.pyc'                                       check.py:23
                    DEBUG    Copying binary {{ cookiecutter.project_slug_no_hyphen }}\__pycache__\__main__.cpython-38.pyc to                                generate.py:160
                             C:\Users\<username>\Documents\devel\timelog_tracker\timelog_tracker\__pycache__\__main__.cpython-38.pyc without rendering
                    DEBUG    hooks_dir is C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\templates\cli\cli_python\hooks   hooks.py:55
                    DEBUG    No hooks/dir in template_dir                                                                                                       hooks.py:58
                    DEBUG    No post_gen_project hook found                                                                                                    hooks.py:128
                    DEBUG    Creating common files.                                                                                                 template_creator.py:315
                    DEBUG    Cookiecuttering common files at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7                                         template_creator.py:320
                    DEBUG    User config not found. Loading default config.                                                                                   config.py:125
                    DEBUG    context_file is C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\cookiecutter.json                                                    main.py:83
                    DEBUG    Context generated is OrderedDict([('cookiecutter', OrderedDict([('commonName', 'common_files_util'), ('full_name', 'Emilien    generate.py:115
                             Klein'), ('email', 'emilien@klein.st'), ('creator_github_username', 'e2jk'), ('project_name', 'timelog-tracker'),
                             ('project_slug', 'timelog_tracker'), ('version', '0.1.0'), ('license', 'MIT'), ('project_short_description', 'A utility to
                             track working time in a Microsoft Outlook calendar and generate monthly timesheets.'), ('language', 'python'), ('domain',
                             'cli'), ('github_username', 'e2jk'), ('cookietemple_version', '1.3.9')]))])
                    DEBUG    Making sure path exists: C:\Users\<username>/.cookiecutter_replay/                                                                     utils.py:42
                    DEBUG    Searching C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7 for the project template.                                                  find.py:19
                    DEBUG    The project template appears to be C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\{{cookiecutter.commonName}}                       find.py:31
[08/02/21 14:38:09] DEBUG    Generating project from C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\{{cookiecutter.commonName}}...                          generate.py:265
                    DEBUG    Rendered dir common_files_util must exist in output_dir .                                                                      generate.py:195
                    DEBUG    Making sure path exists: common_files_util                                                                                         utils.py:42
                    DEBUG    Created directory at: common_files_util                                                                                            utils.py:45
                    DEBUG    Project directory is C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util                                          generate.py:287
                    DEBUG    hooks_dir is C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\hooks                                                                  hooks.py:55
                    DEBUG    No hooks/dir in template_dir                                                                                                       hooks.py:58
                    DEBUG    No pre_gen_project hook found                                                                                                     hooks.py:128
                    DEBUG    Rendered dir C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github must exist in output_dir .               generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github                                  utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github                                     utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs must exist in output_dir .                  generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs                                     utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs                                        utils.py:45
                    DEBUG    Processing file .editorconfig                                                                                                  generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.editorconfig                                 generate.py:155
                    DEBUG    Check .editorconfig to see if it's a binary                                                                                    generate.py:158
                    DEBUG    is_binary: '.editorconfig'                                                                                                         check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.editorconfig                        generate.py:177
                    DEBUG    Processing file .gitignore                                                                                                     generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.gitignore                                    generate.py:155
                    DEBUG    Check .gitignore to see if it's a binary                                                                                       generate.py:158
                    DEBUG    is_binary: '.gitignore'                                                                                                            check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.gitignore                           generate.py:177
                    DEBUG    Processing file .prettierignore                                                                                                generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.prettierignore                               generate.py:155
                    DEBUG    Check .prettierignore to see if it's a binary                                                                                  generate.py:158
                    DEBUG    is_binary: '.prettierignore'                                                                                                       check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.prettierignore                      generate.py:177
                    DEBUG    Processing file .readthedocs.yml                                                                                               generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.readthedocs.yml                              generate.py:155
                    DEBUG    Check .readthedocs.yml to see if it's a binary                                                                                 generate.py:158
                    DEBUG    is_binary: '.readthedocs.yml'                                                                                                      check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.readthedocs.yml                     generate.py:177
                    DEBUG    Processing file CODE_OF_CONDUCT.rst                                                                                            generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\CODE_OF_CONDUCT.rst                           generate.py:155
                    DEBUG    Check CODE_OF_CONDUCT.rst to see if it's a binary                                                                              generate.py:158
                    DEBUG    is_binary: 'CODE_OF_CONDUCT.rst'                                                                                                   check.py:23
[08/02/21 14:38:10] DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\CODE_OF_CONDUCT.rst                  generate.py:177
                    DEBUG    Processing file LICENSE                                                                                                        generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\LICENSE                                       generate.py:155
                    DEBUG    Check LICENSE to see if it's a binary                                                                                          generate.py:158
                    DEBUG    is_binary: 'LICENSE'                                                                                                               check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\LICENSE                              generate.py:177
                    DEBUG    Rendered dir C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE must exist in output_dir  generate.py:195
                             .
                    DEBUG    Making sure path exists: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE                   utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE                      utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows must exist in output_dir .     generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows                        utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows                           utils.py:45
                    DEBUG    Processing file .github\pull_request_template.md                                                                               generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\pull_request_template.md              generate.py:155
                    DEBUG    Check .github\pull_request_template.md to see if it's a binary                                                                 generate.py:158
                    DEBUG    is_binary: '.github\\pull_request_template.md'                                                                                     check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\pull_request_template.md     generate.py:177
                    DEBUG    Processing file .github\release-drafter.yml                                                                                    generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\release-drafter.yml                   generate.py:155
                    DEBUG    Check .github\release-drafter.yml to see if it's a binary                                                                      generate.py:158
                    DEBUG    is_binary: '.github\\release-drafter.yml'                                                                                          check.py:23
                    DEBUG    nontext_ratio1: 0.015625                                                                                                         helpers.py:73
                    DEBUG    nontext_ratio2: 0.984375                                                                                                         helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    EUC-JP Japanese prober hit error at byte 44                                                                                  eucjpprober.py:61
                    DEBUG    EUC-KR Korean prober hit error at byte 44                                                                                mbcharsetprober.py:65
                    DEBUG    CP949 Korean prober hit error at byte 44                                                                                 mbcharsetprober.py:65
                    DEBUG    Big5 Chinese prober hit error at byte 45                                                                                 mbcharsetprober.py:65
                    DEBUG    EUC-TW Taiwan prober hit error at byte 44                                                                                mbcharsetprober.py:65
                    DEBUG    utf-8 not active                                                                                                      charsetgroupprober.py:98
                    DEBUG    SHIFT_JIS Japanese confidence = 0.01                                                                                 charsetgroupprober.py:101
                    DEBUG    EUC-JP not active                                                                                                     charsetgroupprober.py:98
                    DEBUG    GB2312 Chinese confidence = 0.01                                                                                     charsetgroupprober.py:101
                    DEBUG    EUC-KR not active                                                                                                     charsetgroupprober.py:98
                    DEBUG    CP949 not active                                                                                                      charsetgroupprober.py:98
                    DEBUG    Big5 not active                                                                                                       charsetgroupprober.py:98
                    DEBUG    EUC-TW not active                                                                                                     charsetgroupprober.py:98
                    DEBUG    windows-1251 Russian confidence = 0.01                                                                               charsetgroupprober.py:101
                    DEBUG    KOI8-R Russian confidence = 0.01                                                                                     charsetgroupprober.py:101
                    DEBUG    ISO-8859-5 Russian confidence = 0.01                                                                                 charsetgroupprober.py:101
[08/02/21 14:38:11] DEBUG    MacCyrillic Russian confidence = 0.0                                                                                 charsetgroupprober.py:101
                    DEBUG    IBM866 Russian confidence = 0.0                                                                                      charsetgroupprober.py:101
                    DEBUG    IBM855 Russian confidence = 0.01                                                                                     charsetgroupprober.py:101
                    DEBUG    ISO-8859-7 Greek confidence = 0.01                                                                                   charsetgroupprober.py:101
                    DEBUG    windows-1253 Greek confidence = 0.01                                                                                 charsetgroupprober.py:101
                    DEBUG    ISO-8859-5 Bulgarian confidence = 0.01                                                                               charsetgroupprober.py:101
                    DEBUG    windows-1251 Bulgarian confidence = 0.01                                                                             charsetgroupprober.py:101
                    DEBUG    TIS-620 Thai confidence = 0.0                                                                                        charsetgroupprober.py:101
                    DEBUG    ISO-8859-9 Turkish confidence = 0.5087869462490073                                                                   charsetgroupprober.py:101
                    DEBUG    windows-1255 Hebrew confidence = 0.0                                                                                 charsetgroupprober.py:101
                    DEBUG    windows-1255 Hebrew confidence = 0.01                                                                                charsetgroupprober.py:101
                    DEBUG    windows-1255 Hebrew confidence = 0.01                                                                                charsetgroupprober.py:101
                    DEBUG    windows-1251 Russian confidence = 0.01                                                                               charsetgroupprober.py:101
                    DEBUG    KOI8-R Russian confidence = 0.01                                                                                     charsetgroupprober.py:101
                    DEBUG    ISO-8859-5 Russian confidence = 0.01                                                                                 charsetgroupprober.py:101
                    DEBUG    MacCyrillic Russian confidence = 0.0                                                                                 charsetgroupprober.py:101
                    DEBUG    IBM866 Russian confidence = 0.0                                                                                      charsetgroupprober.py:101
                    DEBUG    IBM855 Russian confidence = 0.01                                                                                     charsetgroupprober.py:101
                    DEBUG    ISO-8859-7 Greek confidence = 0.01                                                                                   charsetgroupprober.py:101
                    DEBUG    windows-1253 Greek confidence = 0.01                                                                                 charsetgroupprober.py:101
                    DEBUG    ISO-8859-5 Bulgarian confidence = 0.01                                                                               charsetgroupprober.py:101
                    DEBUG    windows-1251 Bulgarian confidence = 0.01                                                                             charsetgroupprober.py:101
                    DEBUG    TIS-620 Thai confidence = 0.0                                                                                        charsetgroupprober.py:101
                    DEBUG    ISO-8859-9 Turkish confidence = 0.5087869462490073                                                                   charsetgroupprober.py:101
                    DEBUG    windows-1255 Hebrew confidence = 0.0                                                                                 charsetgroupprober.py:101
                    DEBUG    windows-1255 Hebrew confidence = 0.01                                                                                charsetgroupprober.py:101
                    DEBUG    windows-1255 Hebrew confidence = 0.01                                                                                charsetgroupprober.py:101
                    DEBUG    detected_encoding: {'encoding': 'Windows-1254', 'confidence': 0.5087869462490073, 'language': 'Turkish'}                         helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\release-drafter.yml          generate.py:177
                    DEBUG    Processing file .github\ISSUE_TEMPLATE\bug_report.md                                                                           generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE\bug_report.md          generate.py:155
                    DEBUG    Check .github\ISSUE_TEMPLATE\bug_report.md to see if it's a binary                                                             generate.py:158
                    DEBUG    is_binary: '.github\\ISSUE_TEMPLATE\\bug_report.md'                                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE\bug_report.md generate.py:177
                    DEBUG    Processing file .github\ISSUE_TEMPLATE\feature_request.md                                                                      generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE\feature_request.md     generate.py:155
                    DEBUG    Check .github\ISSUE_TEMPLATE\feature_request.md to see if it's a binary                                                        generate.py:158
                    DEBUG    is_binary: '.github\\ISSUE_TEMPLATE\\feature_request.md'                                                                           check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file                                                                                                       generate.py:177
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE\feature_request.md
                    DEBUG    Processing file .github\ISSUE_TEMPLATE\general_question.md                                                                     generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE\general_question.md    generate.py:155
                    DEBUG    Check .github\ISSUE_TEMPLATE\general_question.md to see if it's a binary                                                       generate.py:158
                    DEBUG    is_binary: '.github\\ISSUE_TEMPLATE\\general_question.md'                                                                          check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
[08/02/21 14:38:12] DEBUG    Writing contents to file                                                                                                       generate.py:177
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\ISSUE_TEMPLATE\general_question.md
                    DEBUG    Processing file .github\workflows\main_master_branch_protection.yml                                                            generate.py:140
                    DEBUG    Created file at                                                                                                                generate.py:155
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\main_master_branch_protection.yml
                    DEBUG    Check .github\workflows\main_master_branch_protection.yml to see if it's a binary                                              generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\main_master_branch_protection.yml'                                                                 check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file                                                                                                       generate.py:177
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\main_master_branch_protection.yml
                    DEBUG    Processing file .github\workflows\publish_docs.yml                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\publish_docs.yml            generate.py:155
                    DEBUG    Check .github\workflows\publish_docs.yml to see if it's a binary                                                               generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\publish_docs.yml'                                                                                  check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\publish_docs.yml   generate.py:177
                    DEBUG    Processing file .github\workflows\release-drafter.yml                                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\release-drafter.yml         generate.py:155
                    DEBUG    Check .github\workflows\release-drafter.yml to see if it's a binary                                                            generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\release-drafter.yml'                                                                               check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file                                                                                                       generate.py:177
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\release-drafter.yml
                    DEBUG    Processing file .github\workflows\run_cookietemple_lint.yml                                                                    generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\run_cookietemple_lint.yml   generate.py:155
                    DEBUG    Check .github\workflows\run_cookietemple_lint.yml to see if it's a binary                                                      generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\run_cookietemple_lint.yml'                                                                         check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file                                                                                                       generate.py:177
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\run_cookietemple_lint.yml
                    DEBUG    Processing file .github\workflows\sync_project.yml                                                                             generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\sync_project.yml            generate.py:155
                    DEBUG    Check .github\workflows\sync_project.yml to see if it's a binary                                                               generate.py:158
                    DEBUG    is_binary: '.github\\workflows\\sync_project.yml'                                                                                  check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\.github\workflows\sync_project.yml   generate.py:177
                    DEBUG    Rendered dir C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\_static must exist in output_dir .          generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\_static                             utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\_static                                utils.py:45
                    DEBUG    Rendered dir C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\__pycache__ must exist in output_dir .      generate.py:195
                    DEBUG    Making sure path exists: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\__pycache__                         utils.py:42
                    DEBUG    Created directory at: C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\__pycache__                            utils.py:45
                    DEBUG    Processing file docs\authors.rst                                                                                               generate.py:140
[08/02/21 14:38:13] DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\authors.rst                              generate.py:155
                    DEBUG    Check docs\authors.rst to see if it's a binary                                                                                 generate.py:158
                    DEBUG    is_binary: 'docs\\authors.rst'                                                                                                     check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\authors.rst                     generate.py:177
                    DEBUG    Processing file docs\code_of_conduct.rst                                                                                       generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\code_of_conduct.rst                      generate.py:155
                    DEBUG    Check docs\code_of_conduct.rst to see if it's a binary                                                                         generate.py:158
                    DEBUG    is_binary: 'docs\\code_of_conduct.rst'                                                                                             check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\code_of_conduct.rst             generate.py:177
                    DEBUG    Processing file docs\conf.py                                                                                                   generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\conf.py                                  generate.py:155
                    DEBUG    Check docs\conf.py to see if it's a binary                                                                                     generate.py:158
                    DEBUG    is_binary: 'docs\\conf.py'                                                                                                         check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\conf.py                         generate.py:177
                    DEBUG    Processing file docs\index.rst                                                                                                 generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\index.rst                                generate.py:155
                    DEBUG    Check docs\index.rst to see if it's a binary                                                                                   generate.py:158
                    DEBUG    is_binary: 'docs\\index.rst'                                                                                                       check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\index.rst                       generate.py:177
                    DEBUG    Processing file docs\make.bat                                                                                                  generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\make.bat                                 generate.py:155
                    DEBUG    Check docs\make.bat to see if it's a binary                                                                                    generate.py:158
                    DEBUG    is_binary: 'docs\\make.bat'                                                                                                        check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\make.bat                        generate.py:177
                    DEBUG    Processing file docs\Makefile                                                                                                  generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\Makefile                                 generate.py:155
                    DEBUG    Check docs\Makefile to see if it's a binary                                                                                    generate.py:158
                    DEBUG    is_binary: 'docs\\Makefile'                                                                                                        check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\Makefile                        generate.py:177
                    DEBUG    Processing file docs\readme.rst                                                                                                generate.py:140
[08/02/21 14:38:14] DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\readme.rst                               generate.py:155
                    DEBUG    Check docs\readme.rst to see if it's a binary                                                                                  generate.py:158
                    DEBUG    is_binary: 'docs\\readme.rst'                                                                                                      check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\readme.rst                      generate.py:177
                    DEBUG    Processing file docs\requirements.txt                                                                                          generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\requirements.txt                         generate.py:155
                    DEBUG    Check docs\requirements.txt to see if it's a binary                                                                            generate.py:158
                    DEBUG    is_binary: 'docs\\requirements.txt'                                                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\requirements.txt                generate.py:177
                    DEBUG    Processing file docs\_static\custom_cookietemple.css                                                                           generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\_static\custom_cookietemple.css          generate.py:155
                    DEBUG    Check docs\_static\custom_cookietemple.css to see if it's a binary                                                             generate.py:158
                    DEBUG    is_binary: 'docs\\_static\\custom_cookietemple.css'                                                                                check.py:23
                    DEBUG    nontext_ratio1: 0.0                                                                                                              helpers.py:73
                    DEBUG    nontext_ratio2: 1.0                                                                                                              helpers.py:85
                    DEBUG    is_likely_binary: False                                                                                                          helpers.py:91
                    DEBUG    detected_encoding: {'encoding': 'ascii', 'confidence': 1.0, 'language': ''}                                                      helpers.py:95
                    DEBUG    failure: decodable_as_unicode: False                                                                                            helpers.py:117
                    DEBUG    Writing contents to file C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\_static\custom_cookietemple.css generate.py:177
                    DEBUG    Processing file docs\__pycache__\conf.cpython-38.pyc                                                                           generate.py:140
                    DEBUG    Created file at C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\__pycache__\conf.cpython-38.pyc          generate.py:155
                    DEBUG    Check docs\__pycache__\conf.cpython-38.pyc to see if it's a binary                                                             generate.py:158
                    DEBUG    is_binary: 'docs\\__pycache__\\conf.cpython-38.pyc'                                                                                check.py:23
                    DEBUG    Copying binary docs\__pycache__\conf.cpython-38.pyc to                                                                         generate.py:160
                             C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\common_files_util\docs\__pycache__\conf.cpython-38.pyc without rendering
                    DEBUG    hooks_dir is C:\Users\<username>\AppData\Local\Temp\tmp3i9rs9e7\hooks                                                                  hooks.py:55
                    DEBUG    No hooks/dir in template_dir                                                                                                       hooks.py:58
                    DEBUG    No post_gen_project hook found                                                                                                    hooks.py:128
                    DEBUG    Copying common files into the created project                                                                          template_creator.py:344
                    DEBUG    Delete common files directory.                                                                                         template_creator.py:352
┌─────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────┐
│ c:\users\<username>\appdata\local\programs\python\python38-32\lib\runpy.py:193 in _run_module_as_main                                                                       │
│                                                                                                                                                                         │
│   190 │   main_globals = sys.modules["__main__"].__dict__                                                                                                               │
│   191 │   if alter_argv:                                                                                                                                                │
│   192 │   │   sys.argv[0] = mod_spec.origin                                                                                                                             │
│ > 193 │   return _run_code(code, main_globals, None,                                                                                                                    │
│   194 │   │   │   │   │    "__main__", mod_spec)                                                                                                                        │
│   195                                                                                                                                                                   │
│   196 def run_module(mod_name, init_globals=None,                                                                                                                       │
│                                                                                                                                                                         │
│ c:\users\<username>\appdata\local\programs\python\python38-32\lib\runpy.py:86 in _run_code                                                                                  │
│                                                                                                                                                                         │
│    83 │   │   │   │   │      __loader__ = loader,                                                                                                                       │
│    84 │   │   │   │   │      __package__ = pkg_name,                                                                                                                    │
│    85 │   │   │   │   │      __spec__ = mod_spec)                                                                                                                       │
│ >  86 │   exec(code, run_globals)                                                                                                                                       │
│    87 │   return run_globals                                                                                                                                            │
│    88                                                                                                                                                                   │
│    89 def _run_module_code(code, init_globals=None,                                                                                                                     │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\bin\cookietemple.exe\__main__.py:7 in <module>                                                                                                   │
│                                                                                                                                                                         │
│ [Errno 2] No such file or directory: 'C:\\Users\\<username>\\.local\\bin\\cookietemple.exe\\__main__.py'                                                                    │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\__main__.py:53 in main                                                                    │
│                                                                                                                                                                         │
│    50 │   # Is the latest cookietemple version installed? Upgrade if not!                                                                                               │
│    51 │   if not UpgradeCommand.check_cookietemple_latest():                                                                                                            │
│    52 │   │   console.print("[bold blue]Run [green]cookietemple upgrade [blue]to get the                                                                                │
│       latest version.")                                                                                                                                                 │
│ >  53 │   cookietemple_cli()                                                                                                                                            │
│    54                                                                                                                                                                   │
│    55                                                                                                                                                                   │
│    56 @click.group(cls=HelpErrorHandling)                                                                                                                               │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\click\core.py:1137 in __call__                                                                         │
│                                                                                                                                                                         │
│   1134 │                                                                                                                                                                │
│   1135 │   def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any:                                                                                                  │
│   1136 │   │   """Alias for :meth:`main`."""                                                                                                                            │
│ > 1137 │   │   return self.main(*args, **kwargs)                                                                                                                        │
│   1138                                                                                                                                                                  │
│   1139                                                                                                                                                                  │
│   1140 class Command(BaseCommand):                                                                                                                                      │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\click\core.py:1062 in main                                                                             │
│                                                                                                                                                                         │
│   1059 │   │   try:                                                                                                                                                     │
│   1060 │   │   │   try:                                                                                                                                                 │
│   1061 │   │   │   │   with self.make_context(prog_name, args, **extra) as ctx:                                                                                         │
│ > 1062 │   │   │   │   │   rv = self.invoke(ctx)                                                                                                                        │
│   1063 │   │   │   │   │   if not standalone_mode:                                                                                                                      │
│   1064 │   │   │   │   │   │   return rv                                                                                                                                │
│   1065 │   │   │   │   │   # it's not safe to `ctx.exit(rv)` here!                                                                                                      │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\click\core.py:1668 in invoke                                                                           │
│                                                                                                                                                                         │
│   1665 │   │   │   │   super().invoke(ctx)                                                                                                                              │
│   1666 │   │   │   │   sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)                                                                                           │
│   1667 │   │   │   │   with sub_ctx:                                                                                                                                    │
│ > 1668 │   │   │   │   │   return _process_result(sub_ctx.command.invoke(sub_ctx))                                                                                      │
│   1669 │   │                                                                                                                                                            │
│   1670 │   │   # In chain mode we create the contexts step by step, but after the                                                                                       │
│   1671 │   │   # base command has been invoked.  Because at that point we do not                                                                                        │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\click\core.py:1404 in invoke                                                                           │
│                                                                                                                                                                         │
│   1401 │   │   │   echo(style(message, fg="red"), err=True)                                                                                                             │
│   1402 │   │                                                                                                                                                            │
│   1403 │   │   if self.callback is not None:                                                                                                                            │
│ > 1404 │   │   │   return ctx.invoke(self.callback, **ctx.params)                                                                                                       │
│   1405 │                                                                                                                                                                │
│   1406 │   def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]:                                                                         │
│   1407 │   │   """Return a list of completions for the incomplete value. Looks                                                                                          │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\click\core.py:763 in invoke                                                                            │
│                                                                                                                                                                         │
│    760 │   │                                                                                                                                                            │
│    761 │   │   with augment_usage_errors(__self):                                                                                                                       │
│    762 │   │   │   with ctx:                                                                                                                                            │
│ >  763 │   │   │   │   return __callback(*args, **kwargs)                                                                                                               │
│    764 │                                                                                                                                                                │
│    765 │   def forward(                                                                                                                                                 │
│    766 │   │   __self, __cmd: "Command", *args: t.Any, **kwargs: t.Any  # noqa: B902                                                                                    │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\__main__.py:110 in create                                                                 │
│                                                                                                                                                                         │
│   107 │   Next, you will be asked whether you want to use cookietemple's Github support create                                                                          │
│       a repository, push your template and enable a few settings.                                                                                                       │
│   108 │   After the project has been created it will be linted and you will be notified of any                                                                          │
│       TODOs.                                                                                                                                                            │
│   109 │   """                                                                                                                                                           │
│ > 110 │   choose_domain(path, domain, None)                                                                                                                             │
│   111                                                                                                                                                                   │
│   112                                                                                                                                                                   │
│   113 @cookietemple_cli.command(short_help="Lint your existing cookietemple project.",                                                                                  │
│       cls=CustomHelpSubcommand)                                                                                                                                         │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\create.py:37 in choose_domain                                                      │
│                                                                                                                                                                         │
│   34 │   switcher = {"cli": CliCreator, "web": WebCreator, "gui": GuiCreator, "lib":                                                                                    │
│      LibCreator, "pub": PubCreator}                                                                                                                                     │
│   35 │                                                                                                                                                                  │
│   36 │   creator_obj: Union[CliCreator, WebCreator, GuiCreator, LibCreator, PubCreator] =                                                                               │
│      switcher.get(domain.lower())()  # type: ignore                                                                                                                     │
│ > 37 │   creator_obj.create_template(path, dot_cookietemple)                                                                                                            │
│   38                                                                                                                                                                    │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\domains\cli_creator.py:84 in create_template                                       │
│                                                                                                                                                                         │
│    81 │   │   )                                                                                                                                                         │
│    82 │   │                                                                                                                                                             │
│    83 │   │   # perform general operations like creating a GitHub repository and general                                                                                │
│       linting                                                                                                                                                           │
│ >  84 │   │   super().process_common_operations(                                                                                                                        │
│    85 │   │   │   path=Path(path).resolve(),                                                                                                                            │
│    86 │   │   │   domain="cli",                                                                                                                                         │
│    87 │   │   │   language=self.cli_struct.language,                                                                                                                    │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\template_creator.py:63 in process_common_operations                                │
│                                                                                                                                                                         │
│    60 │   │   # create the common files and copy them into the templates directory (skip if                                                                             │
│       flag is set)                                                                                                                                                      │
│    61 │   │                                                                                                                                                             │
│    62 │   │   if not skip_common_files:                                                                                                                                 │
│ >  63 │   │   │   self.create_common_files()                                                                                                                            │
│    64 │   │                                                                                                                                                             │
│    65 │   │   self.create_dot_cookietemple(template_version=self.creator_ctx.template_version)                                                                          │
│    66                                                                                                                                                                   │
│                                                                                                                                                                         │
│ C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\template_creator.py:354 in create_common_files                                     │
│                                                                                                                                                                         │
│   351 │   │   # delete the tmp cookiecuttered common files directory                                                                                                    │
│   352 │   │   log.debug("Delete common files directory.")                                                                                                               │
│   353 │   │   delete_dir_tree(Path(f"{Path.cwd()}/common_files_util"))                                                                                                  │
│ > 354 │   │   shutil.rmtree(dirpath)                                                                                                                                    │
│   355 │   │   # change to recent cwd so lint etc can run properly                                                                                                       │
│   356 │   │   os.chdir(str(cwd_project))                                                                                                                                │
│   357                                                                                                                                                                   │
│                                                                                                                                                                         │
│ c:\users\<username>\appdata\local\programs\python\python38-32\lib\shutil.py:737 in rmtree                                                                                   │
│                                                                                                                                                                         │
│    734 │   │   │   onerror(os.path.islink, path, sys.exc_info())                                                                                                        │
│    735 │   │   │   # can't continue even if onerror hook returns                                                                                                        │
│    736 │   │   │   return                                                                                                                                               │
│ >  737 │   │   return _rmtree_unsafe(path, onerror)                                                                                                                     │
│    738                                                                                                                                                                  │
│    739 # Allow introspection of whether or not the hardening against symlink                                                                                            │
│    740 # attacks is supported on the current platform                                                                                                                   │
│                                                                                                                                                                         │
│ c:\users\<username>\appdata\local\programs\python\python38-32\lib\shutil.py:619 in _rmtree_unsafe                                                                           │
│                                                                                                                                                                         │
│    616 │   try:                                                                                                                                                         │
│    617 │   │   os.rmdir(path)                                                                                                                                           │
│    618 │   except OSError:                                                                                                                                              │
│ >  619 │   │   onerror(os.rmdir, path, sys.exc_info())                                                                                                                  │
│    620                                                                                                                                                                  │
│    621 # Version using fd-based APIs to protect against races                                                                                                           │
│    622 def _rmtree_safe_fd(topfd, path, onerror):                                                                                                                       │
│                                                                                                                                                                         │
│ c:\users\<username>\appdata\local\programs\python\python38-32\lib\shutil.py:617 in _rmtree_unsafe                                                                           │
│                                                                                                                                                                         │
│    614 │   │   │   except OSError:                                                                                                                                      │
│    615 │   │   │   │   onerror(os.unlink, fullname, sys.exc_info())                                                                                                     │
│    616 │   try:                                                                                                                                                         │
│ >  617 │   │   os.rmdir(path)                                                                                                                                           │
│    618 │   except OSError:                                                                                                                                              │
│    619 │   │   onerror(os.rmdir, path, sys.exc_info())                                                                                                                  │
│    620                                                                                                                                                                  │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
PermissionError: [WinError 32] Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus:
'C:\\Users\\<username>\\AppData\\Local\\Temp\\tmp3i9rs9e7'

C:\Users\<username>\Documents\devel>

Expected behavior

I would have expected the program to finish without throwing an Exception, and upload the project to GitHub, register on PyPI (or whatever cookietemple is expected to do - as mentioned, this is first time I'm using it)

System:

  • OS: Windows 10 Enterprise build 1803
  • Python: 3.8.2 (handled by pipx)
  • Virtual environment: pipx
  • cookietemple: 1.3.9

Additional context

Please ask if any other detail would be needed. In the meantime I'll start with the files creted in the folder, and will handle the project creation manually on GitHub.

@Zethson
Copy link
Member

Zethson commented Aug 3, 2021

Dear @e2jk,

thank you very much for all if your detailed issues and troubleshooting. Unfortunately, we don't have Windows machines so it will be a challenge to solve all of these. Nevertheless, we already had it completely working on Windows as tested by @adlanto . The number of issues that you found is staggering and I am wondering (except for the unicode issue) whether some of these origin from your usage of Windows 10 Enterprise?
Moreover, I wanted to ask whether you edited your registry to allow for longer file path names es mentioned in the documentation?

Thanks!

@e2jk
Copy link
Contributor Author

e2jk commented Aug 3, 2021

Adding as a separate post, I forgot to indicate (although I mentioned it here) that I got around this issue by commenting out the call to shutil.rmtree in file C:\Users\<username>\.local\pipx\venvs\cookietemple\lib\site-packages\cookietemple\create\template_creator.py:354:

#shutil.rmtree(dirpath)
^
This, commenting out

@e2jk
Copy link
Contributor Author

e2jk commented Aug 3, 2021

Dear @Zethson, my pleasure. I thought it might be useful to get some details on a first-time user's experience on Windows.
(My default home OS is Linux, but at work, you know...)

I'm not sure if it's linked to the fact that it's Enterprise, but anyway, that's what I have from the job.

Maybe the shortest/most pragmatic way would be to handle for the exception, if the call to shutil.rmtree fails just ignore and continue (it's in the temporary folder, which will get wiped out at the next machine reboot anyway, right?)
I'll create a PR with this suggestion.

When I installed the cookietemple package, I did not have the registry key changed. As I had decided to use pipx [*] I just ran the install command, and I got a warning about the filename length that pointed to a (i blieve) PIP page that redirected to the Microsoft knowledgebase page explaining how to change that value. Which I did, and then the installation worked.

[*] I'm not affiliated at all with pipx, but allow me for a short "fanboy" comment: I personnaly find it so useful: (How it works) it will install each as an executable on your path, and will periodically and automatically upgrade to the latest version - not just the version that whas then the latest the moment you installed the package...)

@Zethson
Copy link
Member

Zethson commented Aug 3, 2021

Dear @Zethson, my pleasure. I thought it might be useful to get some details on a first-time user's experience on Windows.
(My default home OS is Linux, but at work, you know...)

Big +1. Very useful and we appreciate it!

Maybe the shortest/most pragmatic way would be to handle for the exception, if the call to shutil.rmtree fails just ignore and continue (it's in the temporary folder, which will get wiped out at the next machine reboot anyway, right?)
I'll create a PR with this suggestion.

Yes, please. Maybe we silently ignore it on Windows, but print out a warning if the OS was Linux/MacOS?

When I installed the cookietemple package, I did not have the registry key changed. As I had decided to use pipx [*] I just ran the install command, and I got a warning about the filename length that pointed to a (i blieve) PIP page that redirected to the Microsoft knowledgebase page explaining how to change that value. Which I did, and then the installation worked.

All right, cool. Good to know. We also have this in the installation instructions.

[*] I'm not affiliated at all with pipx, but allow me for a short "fanboy" comment: I personnaly find it so useful, it will install each as an executable on your path, and will periodically and automatically upgrade to the latest version - not just the version that whas then the latest the moment you installed the package...)

Guess I'll have to look into it :) Just also trying to figure out which additional variables we have to troubleshoot (W10 Enterprise + pipx etc) so that we don't troubleshoot things that are errors of the tools. But of course I still want cookietemple to work with those in any case!

Merci beaucoup.

@e2jk
Copy link
Contributor Author

e2jk commented Aug 3, 2021

@Zethson

thank you very much for all if your detailed issues and troubleshooting.

I just noticed your Twitter post, glad that you feel like that ;)

Unfortunately, we don't have Windows machines so it will be a challenge to solve all of these.

Already 2 of the issues/merged, PAT validations being discussed (not really Windows-related) and prompting to remove the dependency on autopep8 and update the docs on the changelog: I'd say we're in good way to get them ALL fixed ;)

Anyway... That's the issue with all these fun toys: I was actually planning to use cookietemple to build a new tool, and now I'm "playing around" with cookietemple - hmmmm ;)

@Zethson
Copy link
Member

Zethson commented Aug 4, 2021

Already 2 of the issues/merged, PAT validations being discussed (not really Windows-related) and prompting to remove the dependency on autopep8 and update the docs on the changelog: I'd say we're in good way to get them ALL fixed ;)

Yeah. Feels good to clean up some old issues.

Anyway... That's the issue with all these fun toys: I was actually planning to use cookietemple to build a new tool, and now I'm "playing around" with cookietemple - hmmmm ;)

Haha, I know that all too well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Windows only
Projects
None yet
Development

No branches or pull requests

2 participants