8000 Cannot find open-sans-all-{300,600,700,800} · Issue #1282 · jupyter-book/jupyter-book · GitHub
[go: up one dir, main page]

Skip to content
Cannot find open-sans-all-{300,600,700,800} #1282
@dataframing

Description

@dataframing

Describe the bug

Hi there! When deploying our book internally using Python's builtin http.server (via python -m http.server --directory=./.../_build/html), everything works (which is really cool!) except on each page's GET, we're logging an extra 404. This is because we can't seem to find the different font files for open-sans-all-{300,600,700,800}.woff and .woff2. Here's a few of the logs we're seeing:

172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /intro.html HTTP/1.1" 304 -
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/pygments.css HTTP/1.1" 304 -
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/documentation_options.js HTTP/1.1" 304 -
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/copybutton.js HTTP/1.1" 304 -
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/togglebutton.css HTTP/1.1" 304 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-300.woff2 HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-300.woff HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-600.woff2 HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-600.woff HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-700.woff2 HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-700.woff HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-800.woff2 HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:12] code 404, message File not found
172.17.0.1 - - [23/Mar/2021 15:09:12] "GET /_static/vendor/open-sans_all/1.44.1/files/open-sans-all-800.woff HTTP/1.1" 404 -
172.17.0.1 - - [23/Mar/2021 15:09:29] "GET /start/setup-pycharm.html HTTP/1.1" 304 -

This doesn't seem to be interfering with deployment or any of the pages, so if it's a bug, it seems benign. Just wondering if this is intended behavior, or whether this is an opportunity to fix a minor bug. Thank you again for all the hard work! This is a fantastic project.

Environment

  • Python Version [e.g. 3.7.1]: Python 3.7.5
  • Package versions or output of jupyter-book --version:
Jupyter Book: 0.10.1
MyST-NB: 0.12.0
Sphinx Book Theme: 0.0.41
MyST-Parser: 0.13.5
Jupyter-Cache: 0.4.2
NbClient: 0.5.3
  • Operating System: Ubuntu (Docker)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0