When using the ipython notebook, it is unable to display some icons. This show this message : WARNING:tornado.access:404 GET /static/fonts/fontawesome-webfont.ttf?v=4.1.0 (127.0.0.1) 3.18ms referer=http://127.0.0.1:8888/static/style/style.min.css?v=5f407fabccb859314401c15f5bc2d147 After debugging, it seems to try to open : [pid 9266] stat("/home/misc/.ipython/profile_default/static/fonts/fontawesome-webfont.woff", 0x7ffe9e79dee0) = -1 ENOENT (No such file or directory) [pid 9266] stat("/usr/share/javascript/fonts/fontawesome-webfont.woff", 0x7ffe9e79dee0) = -1 ENOENT (No such file or directory) [pid 9266] stat("/usr/lib/python2.7/site-packages/IPython/html/static/fonts/fontawesome-webfont.woff", 0x7ffe9e79dee0) = -1 ENOENT (No such file or directory) I suspect the 2nd should go to /usr/share/fonts/fontawesome/fontawesome-webfont.woff, so maybe the patch used to add _jsdir should also include /usr/share/fonts ?
Created attachment 1023590 [details] Trivial patch Here is a small patch that should solve the issue.
That may be a good solution. But what's surprising to me is that it isn't looking in /usr/lib/python2.7/site-packages/IPython/html/static/components/font-awesome/font/fontawesome-webfont.woff. Looks like the pip installed style.min.css uses a path of: ../components/font-awesome/font/fontawesome-webfont.woff?v=3.2.1 But the fedora compiled style.min.css ends up with: ../fonts/fontawesome-webfont.woff?v=4.1.0 So we don't seem to be compiling that correctly. I don't understand this process very well though.
Looks like the variable for FA's path is now $fa-font-path and needs to be set in IPython/html/static/style/style.less. I've got a fix.
ipython-2.4.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ipython-2.4.1-2.fc21
ipython-2.4.1-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ipython-2.4.1-2.fc22
ipython-2.4.1-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
It doesn't seems to work for me on F22. I maybe have some local configuration or something that break it, so I will need to set a new VM and test.
Ok, testing on F22, this is not fixed.
ipython-2.4.1-6.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ipython-2.4.1-6.fc22
Package ipython-2.4.1-6.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ipython-2.4.1-6.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7900/ipython-2.4.1-6.fc21 then log in and leave karma (feedback).
ipython-2.4.1-7.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ipython-2.4.1-7.fc21
ipython-2.4.1-7.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ipython-2.4.1-7.fc22
ipython-2.4.1-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
ipython-2.4.1-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.