Skip to content

Fix failing CI #35

Closed
Closed

Description

@Smit-create
Extension error (quantecon_book_theme):
Handler <function add_to_context at 0x7fb4973f1ee0> for event 'html-page-context' threw an exception (exception: 'pdf_book_name')
Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/quantecon/lib/python3.9/site-packages/sphinx/events.py", line 94, in emit
    results.append(listener.handler(self.app, *args))
  File "/usr/share/miniconda3/envs/quantecon/lib/python3.9/site-packages/quantecon_book_theme/__init__.py", line 188, in add_to_context
    context["pdf_book_path"] = "/_pdf/" + context["pdf_book_name"] + ".pdf"
KeyError: 'pdf_book_name'

More details: https://github.com/QuantEcon/lecture-python-intro/actions/runs/4042400225/jobs/6950055949

Activity

  1. added
    bugSomething is wrong or broken in a lecture or build
    on Jan 30, 2023
  2. mmcky commented on Feb 1, 2023

    @mmcky
    Contributor

    Thanks @Smit-create I will check this out

  3. self-assigned this
    on Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething is wrong or broken in a lecture or build

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions