Bug 1580129 - Failure to get Mathjax fonts
Summary: Failure to get Mathjax fonts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mathjax
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1473987
Blocks: 1581899
TreeView+ depends on / blocked
 
Reported: 2018-05-20 14:17 UTC by Jonathan Underwood
Modified: 2019-05-02 23:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-02 23:18:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Underwood 2018-05-20 14:17:34 UTC
Description of problem:
When running Jupyter on Fedora 28, and rendering markdown cells containing maths/LaTeX input, I see this in the console:

[W 14:18:03.702 NotebookApp] 404 GET /static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Main-Italic.woff?V=2.7.1 (::1) 2.73ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3
[W 14:18:03.715 NotebookApp] 404 GET /static/components/MathJax/fonts/HTML-CSS/STIX-Web/otf/STIXMathJax_Main-Italic.otf?V=2.7.1 (::1) 1.49ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=python3


Version-Release number of selected component (if applicable):

[root@ws0 Test2]# rpm -qa | grep jupyter
python3-jupyter-core-4.4.0-2.fc28.noarch
python3-jupyter-client-5.2.3-1.fc28.noarch
[root@ws0 Test2]# rpm -q | grep notebook
rpm: no arguments given for query
[root@ws0 Test2]# rpm -qa | grep notebook
python3-notebook-5.4.0-2.fc28.noarch
[root@ws0 Test2]# rpm -qa | grep mathjax
mathjax-typewriter-fonts-2.7.1-2.fc27.noarch
mathjax-sansserif-fonts-2.7.1-2.fc27.noarch
mathjax-size4-fonts-2.7.1-2.fc27.noarch
mathjax-math-fonts-2.7.1-2.fc27.noarch
mathjax-main-fonts-2.7.1-2.fc27.noarch
mathjax-size3-fonts-2.7.1-2.fc27.noarch
mathjax-size2-fonts-2.7.1-2.fc27.noarch
mathjax-size1-fonts-2.7.1-2.fc27.noarch
mathjax-caligraphic-fonts-2.7.1-2.fc27.noarch
mathjax-script-fonts-2.7.1-2.fc27.noarch
mathjax-ams-fonts-2.7.1-2.fc27.noarch
mathjax-winie6-fonts-2.7.1-2.fc27.noarch
mathjax-2.7.1-2.fc27.noarch
mathjax-winchrome-fonts-2.7.1-2.fc27.noarch
mathjax-fraktur-fonts-2.7.1-2.fc27.noarch

How reproducible:
Everytime

Steps to Reproduce:
1. Create a notebook, add a markdown cell with some maths input.
2. Observe console window (the same one that the command jupyter notebook was entered to start the notebook session)
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jonathan Underwood 2018-05-20 14:18:11 UTC
[I 14:54:00.089 NotebookApp] Creating new notebook in 
[W 14:54:01.004 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20180520083257 (::1) 1.54ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=python3
[I 14:54:01.187 NotebookApp] Kernel started: cc1360c3-446a-469a-8dcc-5a37099be0b8
[I 14:54:01.710 NotebookApp] Adapting to protocol v5.1 for kernel cc1360c3-446a-469a-8dcc-5a37099be0b8
[W 14:54:04.766 NotebookApp] 404 GET /static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Main-Italic.woff?V=2.7.1 (::1) 1.66ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=python3
[W 14:54:04.775 NotebookApp] 404 GET /static/components/MathJax/fonts/HTML-CSS/STIX-Web/otf/STIXMathJax_Main-Italic.otf?V=2.7.1 (::1) 2.24ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=python3

Comment 2 Jonathan Underwood 2018-05-20 14:22:20 UTC
Changing component to python-notebook

Comment 3 Jonathan Underwood 2018-05-21 21:06:16 UTC
Changing component to mathjax - mathjax seems to be missing some fonts.

The /usr/share/javascript/mathjax/jax/output/HTML-CSS/fonts/STIX-Web directory doesn't have either the otf or woff sub-directories.

Comment 4 Miro Hrončok 2018-05-23 21:15:43 UTC
*** Bug 1581899 has been marked as a duplicate of this bug. ***

Comment 5 Miro Hrončok 2018-05-23 22:38:26 UTC
I'll build notebook with bundled mathjax as a workaround.

Comment 6 Fedora Update System 2018-05-23 23:18:00 UTC
python-ipykernel-4.8.2-1.fc28 python-notebook-5.5.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a88ea58d2

Comment 7 Jonathan Underwood 2018-05-24 07:54:26 UTC
Tried installing python3-notebook-5.5.0-2.fc28, but:

# dnf install ./python3-notebook-5.5.0-2.fc28.noarch.rpm 
Last metadata expiration check: 0:07:38 ago on Thu 24 May 2018 08:45:46 BST.
Error: 
 Problem: conflicting requests
  - nothing provides python3.6dist(pyzmq) >= 17 needed by python3-notebook-5.5.0-2.fc28.noarch

Comment 8 Miro Hrončok 2018-05-24 08:11:51 UTC
Grab that from testing. https://bodhi.fedoraproject.org/updates/FEDORA-2018-30dc9a799a

Comment 9 Fedora Update System 2018-05-24 18:00:09 UTC
python-ipykernel-4.8.2-1.fc28, python-notebook-5.5.0-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a88ea58d2

Comment 10 Jonathan Underwood 2018-05-26 12:10:54 UTC
As mentioned in BZ #1581899, python-notebook-5.5.0-2 fixes the problem, but the bundled mathjax conflicts with the standalone mathjax package.

What's really needed here is  afixed mathjax package update.

Comment 11 Jonathan Underwood 2018-05-26 17:51:21 UTC
I've updated the mathjax package to the latest release, and added a sub-package for the missing STIXWeb fonts:

https://src.fedoraproject.org/rpms/mathjax/pull-request/1

I am going to change this status back to new - the python-notebook package update doesn't actually resolve this bug with the mathjax package, but instead attempts to work around it.

Comment 12 Miro Hrončok 2018-05-27 13:31:14 UTC
Ad bug status: I've set "Close bugs" to false, but it didn't change the behavior.

Comment 13 Fedora Update System 2018-05-27 21:30:36 UTC
python-ipykernel-4.8.2-1.fc28 python-notebook-5.5.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a88ea58d2

Comment 14 Fedora Update System 2018-05-28 15:48:34 UTC
python-ipykernel-4.8.2-1.fc28, python-notebook-5.5.0-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3a88ea58d2

Comment 15 Fedora Update System 2018-06-06 13:30:38 UTC
python-ipykernel-4.8.2-1.fc28, python-notebook-5.5.0-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Ben Cotton 2019-05-02 21:38:33 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.