Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinx 7 traceback #175

Open
oliver-sanders opened this issue Aug 29, 2023 · 0 comments
Open

Sphinx 7 traceback #175

oliver-sanders opened this issue Aug 29, 2023 · 0 comments

Comments

@oliver-sanders
Copy link
Contributor

A new traceback seen with Sphinx 7:

Traceback (most recent call last):    
  File "lib/python3.9/site-packages/sphinx/builders/html/__init__.py", line 1121, in handle_page    
    output = self.templates.render(templatename, ctx)    
  File "lib/python3.9/site-packages/sphinx/jinja2glue.py", line 200, in render    
    return self.environment.get_template(template).render(context)    
  File "lib/python3.9/site-packages/jinja2/environment.py", line 1291, in render    
    self.environment.handle_exception()    
  File "lib/python3.9/site-packages/jinja2/environment.py", line 925, in handle_exception    
    raise rewrite_traceback_stack(source=source)    
  File "lib/python3.9/site-packages/sphinx/themes/basic/genindex.html", line 28, in top-level template code    
    {{ firstname|e }}    
  File "/net/home/h06/osanders/cylc-doc/src/_templates/layout.html", line 1, in top-level template code                                {% extends "!layout.html" %}    
  File "lib/python3.9/site-packages/hieroglyph/themes/slides/layout.html", line 80, in top-level template code    
    {{ css() }}    
  File "lib/python3.9/site-packages/jinja2/sandbox.py", line 393, in call    
    return __context.call(__obj, *args, **kwargs)                                                                     
  File "lib/python3.9/site-packages/jinja2/runtime.py", line 828, in _invoke    
    rv = self._func(*arguments)                                                                                            
  File "lib/python3.9/site-packages/hieroglyph/themes/slides/layout.html", line 61, in template                                    
    <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />                                      
jinja2.exceptions.UndefinedError: 'style' is undefined    

hieroglyph: 2.1.0
sphinx: 7.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant