On Tue, 30 Jun 2020 at 14:34, Yaşar Arabacı <[email protected]> wrote:
>
> Hi,
>
> I have been using Python 2.7/Nikola ?? for a very long time. Today, I
> decided to give upgrading a try, because I had just reinstalled my OS.
> Here is my current setup, here is the error I am getting
>
> --------------------------------------------------------------------------------------------------------------------
> nikola : Scanning posts..done!
> At line:1 char:1
> + nikola build 2> nikola.log
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : NotSpecified: (Scanning
> posts..done!:String) [], RemoteException
> + FullyQualifiedErrorId : NativeCommandError
>
> . render_taxonomies:output\index.html
> TaskError - taskid:render_taxonomies:output\index.html
> PythonAction Error
> Traceback (most recent call last):
> File "c:\python38\lib\site-packages\doit\action.py", line 437, in execute
> returned_value = self.py_callable(*self.args, **kwargs)
> File "c:\python38\lib\site-packages\nikola\nikola.py", line 1457, in
> render_template
> data = self.template_system.render_template(
> File "c:\python38\lib\site-packages\nikola\plugins\template\mako.py",
> line 113, in render_template
> data = template.render_unicode(**context)
> File "c:\python38\lib\site-packages\mako\template.py", line 481, in
> render_unicode
> return runtime._render(
> File "c:\python38\lib\site-packages\mako\runtime.py", line 878, in _render
> _render_context(
> File "c:\python38\lib\site-packages\mako\runtime.py", line 920, in
> _render_context
> _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
> File "c:\python38\lib\site-packages\mako\runtime.py", line 947, in
> _exec_template
> callable_(context, *args, **kwargs)
> File
> "C:\Users\yasar\Documents\yasar_programlar\ysarnet\cache\.mako.tmp\base.tmpl.py",
> line 70, in render_body
> context['self'].content(**pageargs)
> File
> "C:\Users\yasar\Documents\yasar_programlar\ysarnet\cache\.mako.tmp\index.tmpl.py",
> line 146, in render_content
> context['self'].content_header(**pageargs)
> File
> "C:\Users\yasar\Documents\yasar_programlar\ysarnet\cache\.mako.tmp\index.tmpl.py",
> line 195, in render_content_h
> eader
> __M_writer(str(feeds_translations.translation_link()))
> TypeError: render_translation_link() missing 1 required positional
> argument: 'kind'
>
> ########################################
> render_taxonomies:output\index.html <stdout>:
>
> -----------------------------------------------------------------------------
> My Current Setup:
> Windows 10 Home Single Language
> Python 3.8.3 64 bit
> Nikola 8.1.0
> doit 0.32.0
> mako 1.1.3
This looks like an issue with your theme. In index.tmpl, you have a
call to translation_link with no arguments. Replace it with this:
${feeds_translations.translation_link(kind)}
If you can’t find anything like this in your theme/theme chain, delete
the cache folder and try again.
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7JpGK7RKhfMnih95yzAX27bePwOB3GYA4a9d8-FB4zM%2BA%40mail.gmail.com.