question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cloning into 'cookiecutter-dj-project'...
remote: Counting objects: 441, done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 441 (delta 196), reused 437 (delta 196)
Receiving objects: 100% (441/441), 118.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (196/196), done.
Checking connectivity... done
project_name (default is "project_name")?
repo_name (default is "repo_name")?
author_name (default is "Your Name")?
email (default is "Your email")?
description (default is "A short description of the project.")?
year (default is "Current year")?
domain_name (default is "Domain name")?
Traceback (most recent call last):
  File "/Users/mgutz/.virtualenvs/foo/bin/cookiecutter", line 9, in <module>
    load_entry_point('cookiecutter==0.6.4', 'console_scripts', 'cookiecutter')()
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/cookiecutter/main.py", line 90, in main
    cookiecutter(args.input_dir)
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/cookiecutter/main.py", line 61, in cookiecutter
    context=context
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/cookiecutter/generate.py", line 135, in generate_files
    generate_file(infile, context, env)
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/cookiecutter/generate.py", line 85, in generate_file
    tmpl = env.get_template(infile_fwd_slashes)
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/jinja2/environment.py", line 791, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/jinja2/environment.py", line 765, in _load_template
    template = self.loader.load(self, name, globals)
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/jinja2/loaders.py", line 125, in load
    code = environment.compile(source, name, filename)
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/jinja2/environment.py", line 554, in compile
    self.handle_exception(exc_info, source_hint=source)
  File "/Users/mgutz/.virtualenvs/foo/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "./cookiecutter-dj-project/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/avatar/add.html", line 2, in template
    {% load i18n avatar_tags %}
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'load'.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pydannycommented, Apr 26, 2016
  1. Please don’t hijack old issues for new problems.
  2. This isn’t a bug or a feature request. Please submit to Stack Overflow, where the answers to your problems will be more easily found by those who follow in your footsteps: https://github.com/pydanny/cookiecutter-django#community
1reaction
pydannycommented, Apr 24, 2016

Update your version of Cookiecutter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Encountered unknown tag 'load'.? - python - Stack Overflow
I want to add some custom-template-tags.But, {% load userfilters %} => 'load' ...
Read more >
[traceback] TemplateSyntaxError: Encountered unknown tag ...
While logged in, I manipulated the URL to be https://mozillians-dev.allizom.org/en-US/logout?next=/en-US/logout, and that threw: Traceback (most recent call ...
Read more >
Encountered unknown tag 'load' · Issue #278 - GitHub
I think someone met similar problem before, here is what I got when trying to set up a cookie cutter project. Traceback (most...
Read more >
Body html Liquid syntax error: Unknown tag 'load' - Klaviyo
I just created a new order confirmation template using Klaviyo, which I then exported the HTML for and pasted it into my Order...
Read more >
Django 1.8 + jinja2 Encountered unknown tag 'static'
to load the internationalization machinery. USE_I18N = True. # If you set this to False, Django will not format dates, numbers and.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found