Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Scanning posts.....done!
Traceback (most recent call last):
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/mako/lookup.py", line 247, in get_template
return self._check(uri, self._collection[uri])
KeyError: 'book.tmpl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/doit/doit_cmd.py", line 167, in run
return command.parse_execute(args)
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/doit/cmd_base.py", line 120, in parse_execute
return self.execute(params, args)
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/doit/cmd_base.py", line 378, in execute
self, params, args)
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/__main__.py", line 280, in load_tasks
self.nikola.gen_tasks('render_site', "Task", 'Group of tasks to render the site.'))
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/doit/loader.py", line 313, in generate_tasks
for task_dict, x_doc in flat_generator(gen_result, gen_doc):
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/doit/loader.py", line 26, in flat_generator
for item in gen:
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/nikola.py", line 1910, in gen_tasks
for task in flatten(pluginInfo.plugin_object.gen_tasks()):
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/nikola.py", line 1904, in flatten
for t in task:
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/plugins/task/pages.py", line 58, in gen_tasks
for task in self.site.generic_page_renderer(lang, post, kw["filters"], context):
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/nikola.py", line 2205, in generic_page_renderer
url_type=post.url_type)
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/nikola.py", line 2124, in generic_renderer
file_deps += self.template_system.template_deps(template_name)
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/nikola/plugins/template/mako.py", line 134, in template_deps
template = self.lookup.get_template(template_name)
File "/var/www/disconsented/stories/resources/nikola/lib/python3.6/site-packages/mako/lookup.py", line 261, in get_template
"Cant locate template for uri %r" % uri)
mako.exceptions.TopLevelLookupException: Cant locate template for uri 'book.tmpl'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment