安装了zen
主题后,编译时出错:
nikola build
Scanning posts......done!
render_galleries:output/galleries/index.html
########################################
TaskError - taskid:render_galleries:output/galleries/index.html
PythonAction Error
Traceback (most recent call last):
File "/home/yangdawei/myblog/lib/python3.5/site-packages/doit/action.py", line 403, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/home/yangdawei/myblog/lib/python3.5/site-packages/nikola/plugins/task/galleries.py", line 593, in render_gallery_index
self.site.render_template(template_name, output_name, context)
File "/home/yangdawei/myblog/lib/python3.5/site-packages/nikola/nikola.py", line 1380, in render_template
template_name, None, local_context)
File "/home/yangdawei/myblog/lib/python3.5/site-packages/nikola/plugins/template/mako.py", line 117, in render_template
data = template.render_unicode(**context)
File "/home/yangdawei/myblog/lib/python3.5/site-packages/mako/template.py", line 471, in render_unicode
as_unicode=True)
File "/home/yangdawei/myblog/lib/python3.5/site-packages/mako/runtime.py", line 838, in _render
**_kwargs_for_callable(callable_, data))
File "/home/yangdawei/myblog/lib/python3.5/site-packages/mako/runtime.py", line 873, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/home/yangdawei/myblog/lib/python3.5/site-packages/mako/runtime.py", line 899, in _exec_template
callable_(context, *args, **kwargs)
File "/home/yangdawei/myblog/test/cache/.mako.tmp/base.tmpl.py", line 79, in render_body
__M_writer(str(arusahni.html_navigation_links()))
File "/home/yangdawei/myblog/test/cache/.mako.tmp/arusahni_helper.tmpl.py", line 249, in render_html_navigation_links
for url, text, icon in navigation_links[lang]:
ValueError: not enough values to unpack (expected 3, got 2)
请教这是哪里出了问题?