SHARE
TWEET

Untitled

a guest Oct 8th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------------
  2. WHAT I AM DOING:
  3. -----------------
  4. Following steps described here
  5. https://dip.torproject.org/torproject/web/tpo/wikis/Compiling-a-local-version-of-the-website
  6.  
  7. -----------------
  8. WHAT I GET
  9. -----------------
  10.  
  11. Traceback (most recent call last):
  12.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\lektor\builder.py", line 800, in update
  13.     yield ctx
  14.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\lektor\builder.py", line 1070, in build_artifact
  15.     build_func(artifact)
  16.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\lektor\build_programs.py", line 184, in build_artifact
  17.     self.source['_template'], this=self.source)
  18.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\lektor\builder.py", line 655, in render_template_into
  19.     this=this, **extra)
  20.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\lektor\environment.py", line 542, in render_template
  21.     return self.jinja_env.get_or_select_template(name).render(ctx)
  22.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\jinja2\asyncsupport.py", line 76, in render
  23.     return original_render(self, *args, **kwargs)
  24.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\jinja2\environment.py", line 1008, in render
  25.     return self.environment.handle_exception(exc_info, True)
  26.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\jinja2\environment.py", line 780, in handle_exception
  27.     reraise(exc_type, exc_value, tb)
  28.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\jinja2\_compat.py", line 37, in reraise
  29.     raise value.with_traceback(tb)
  30.   File "C:\Users\Owner\Documents\Workspace\nghom\documentation\tpo\templates\jumbotron.html", line 1, in top-level template code
  31.     {% extends "homepage.html" %}
  32.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\jinja2\environment.py", line 1005, in render
  33.     return concat(self.root_render_func(self.new_context(vars)))
  34.   File "C:\Users\Owner\Documents\Workspace\nghom\documentation\tpo\templates\jumbotron.html", line 14, in root
  35.    
  36.   File "C:\Users\Owner\Documents\Workspace\nghom\documentation\tpo\templates\homepage.html", line 13, in root
  37.     <div class="row flex-xl-nowrap">
  38.   File "C:\Users\Owner\Documents\Workspace\nghom\documentation\tpo\templates\meta.html", line 19, in root
  39.    
  40.   File "c:\users\owner\appdata\local\lektor-cli\lib\lib\site-packages\jinja2\runtime.py", line 630, in _fail_with_undefined_error
  41.     raise self._undefined_exception(hint)
  42. jinja2.exceptions.UndefinedError: '_' is undefined
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top