hello how are you do you want me to help with yt
On Fri, Dec 4, 2020 at 7:13 AM [email protected] <[email protected]>
wrote:
>
> Hi all,
>
> I'm updating a site that was working under Nikola 7. Since I passed it
> under Nikola 8 and python3.6, I have that strange error message. What is
> colorbox locales ? Why is it undefined ? Why now ?
>
> $ 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
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/doit/action.py",
> line 437, in execute
> returned_value = self.py_callable(*self.args, **kwargs)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/nikola/plugins/task/galleries.py",
> line 706, in render_gallery_index
> self.site.render_template(template_name, output_name, context)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/nikola/nikola.py",
> line 1472, in render_template
> template_name, None, local_context)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/nikola/plugins/template/jinja.py",
> line 96, in render_template
> data = template.render(**context)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/jinja2/asyncsupport.py",
> line 76, in render
> return original_render(self, *args, **kwargs)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/jinja2/environment.py",
> line 1008, in render
> return self.environment.handle_exception(exc_info, True)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/jinja2/environment.py",
> line 780, in handle_exception
> reraise(exc_type, exc_value, tb)
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/jinja2/_compat.py",
> line 37, in reraise
> raise value.with_traceback(tb)
> File "themes/remouleurs/templates/gallery.tmpl", line 4, in top-level
> template code
> {% import 'crumbs.tmpl' as ui with context %}
> File "themes/remouleurs/templates/base.tmpl", line 67, in top-level
> template code
> {{ base.late_load_js() }}
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/jinja2/runtime.py",
> line 551, in _invoke
> rv = self._func(*arguments)
> File "themes/remouleurs/templates/base_helper.tmpl", line 95, in template
> <!-- {% if colorbox_locales[lang] %}
> File
> "/Users/annebitranvallet/nikola/lib/python3.6/site-packages/jinja2/environment.py",
> line 411, in getitem
> return obj[argument]
> jinja2.exceptions.UndefinedError: 'colorbox_locales' is undefined
>
> ########################################
> render_galleries:output/galleries/index.html <stdout>:
>
>
> Thanks a lot !
>
> J
>
> --
> 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/5abfb77c-aa22-4f73-ad63-34eb829243e3n%40googlegroups.com
> <https://groups.google.com/d/msgid/nikola-discuss/5abfb77c-aa22-4f73-ad63-34eb829243e3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAGKMkLOR8Xq6_Dgfr-q5d5qPvRCFmZbK%2Bo_%3DiobX8ux0YP%2BqqA%40mail.gmail.com.