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

cookiecutter throws unicode exceptions on image files #18

Closed
pydanny opened this issue Aug 16, 2013 · 3 comments
Closed

cookiecutter throws unicode exceptions on image files #18

pydanny opened this issue Aug 16, 2013 · 3 comments
Labels
bug This issue/PR relates to a bug.

Comments

@pydanny
Copy link
Member

pydanny commented Aug 16, 2013

When I was working on cookiecutter-dj-project I found that cookiecutter blew up on image files. Perhaps these should just be copied over without being run through the full generation process?

@audreyfeldroy
Copy link
Member

I'm actually running into the same error right now, while trying to create cookiecutter-complexity which has font files. It's a bug that should be fixed for the next release.

@sloria
Copy link
Contributor

sloria commented Aug 19, 2013

Just heads up: The unicode error also happens when there's a hidden file called .DS_STORE in a folder on Macs. This file is a hidden file that stores custom info about folders (icon positioning, etc.).

Spent far too much time trying to locate the file that was causing a unicode error, only to find that it was that dang hidden .DS_STORE file that was put there by Mac OSX.

It would be helpful to enable cookiecutter to ignore such files when building a project (sort of like the .gitignore file).

@audreyfeldroy audreyfeldroy reopened this Aug 19, 2013
@audreyfeldroy
Copy link
Member

@sloria Thanks for the info about this bug. Sorry about that! This is a high-priority one to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants