Skip to content

Problem cloning repro in Windows 7 #12

@EricE

Description

@EricE

I tried installing this with cookiecutter but got an error:

cookiecutter gh:vintasoftware/cookiecutter-tapioca
...
subprocess.CalledProcessError: Command '['git', 'clone', 'https://github.com/vintasoftware/cookiecutter-tapioca.git']' returned non-zero exit status 128

So I tried to clone it:

Cloning into 'cookiecutter-tapioca'...
remote: Counting objects: 104, done.
remote: Total 104 (delta 0), reused 0 (delta 0), pack-reused 104R
Receiving objects:  24% (25/104)
Receiving objects: 100% (104/104), 14.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (55/55), done.
fatal: cannot create directory at 'tapioca_{{cookiecutter.service_name|lower|replace(' ', '_')}}': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

C:\GitRepo>git status
On branch master

Initial commit

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        cookiecutter-tapioca/

nothing added to commit but untracked files present (use "git add" to track)

I'm a hardware guy who has never used Git (or cookiecutter) so not sure if it is supposed to manipulate 'tapioca_{{cookiecutter.service_name|lower|replace(' ', '_')}}' but otherwise it isn't a legal Windows filename (|).
This looks like it might be templating for cookiecutter but it is leaking thorough to Git? I was able to install:
C:\GitRepo>cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git

I'm trying to run this in an Anaconda env with Python 3.6 but I also tried it in my default Python 2.7.10 and get the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions