Bug 1170270
| Summary: | ipython notebook 404 GET glyphicons-halflings.png | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sergio Pascual <sergio.pasra> |
| Component: | ipython | Assignee: | Thomas Spura <tomspur> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | 7andrew, me, michel, misc, mrunge, neteler, orion, python-sig, shahms, tomspur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-02 05:25:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sergio Pascual
2014-12-03 16:25:28 UTC
So it seems it try to find it in usr/lib/python2.7/site-packages/IPython/html/static/img/glyphicons-halflings.png , or /usr/share/javascript/img/glyphicons-halflings.png or ~/.ipython/profile_default/static/img/glyphicons-halflings.png I found that file in a lot of package, but none being a obvious match for the source. It is likely just cut and paste from bootstrap around. Can you reproduce this with 2.4.1 from updates-testing? I can't. What I found: 2.4.1 seems to refer to img/glyphicons-halflings.png in /usr/lib/python2.7/site-packages/IPython/html/static/style/style.min.css. When I install ipython 2.4.1 via pip, that reference is there as well, but it also does not install glyphicons-halflings.png. Yeah, i can reproduce with the package in update-testing on F22. ( 2.4.1-1 ). I can see it now. Does this appear to cause any issues? Unless it does, I don't think I'm going to try to fix it. This affect the UI on http://127.0.0.1:8888/tree , the icon is used to show the type of file. So not having it make it less obvious to see what is a directory and what is a notebook and what is not. Or maybe that's the icon of a house, who is used to go back to the home page, who cannot be displayed on my notebook for the moment ( didn't try the new version in update-testing yet ) Compare https://ipython.org/ipython-doc/dev/_images/treeview.png with what is running now. That is actually the result of an incomplete patch to use font-awesome 4. This was a pretty major change and I'm tempted to just drop the patches in fedora and use the bundled font-awesome. Before I do that though I've got some additional patches to try. ipython-2.4.1-5.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/FEDORA-2015-7900/ipython-2.4.1-5.fc21 Package ipython-2.4.1-5.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-5.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-5.fc21 then log in and leave karma (feedback). (In reply to Michael Scherer from comment #1) > So it seems it try to find it in > usr/lib/python2.7/site-packages/IPython/html/static/img/glyphicons-halflings. > png , or /usr/share/javascript/img/glyphicons-halflings.png or > ~/.ipython/profile_default/static/img/glyphicons-halflings.png > > I found that file in a lot of package, but none being a obvious match for > the source. It is likely just cut and paste from bootstrap around. I have a glyphicons-halflings-fonts package, RFE tickets welcome. *** Bug 1221016 has been marked as a duplicate of this bug. *** An (ugly) workaround is to copy over/link the missing files:
mkdir /usr/lib/python2.7/site-packages/IPython/html/static/img
# get glyphicons-halflings.png from somewhere
cp glyphicons-halflings.png /usr/lib/python2.7/site-packages/IPython/html/static/img/
ln -s /usr/share/fonts/fontawesome /usr/lib/python2.7/site-packages/IPython/html/static/fonts
No more error messages.
Perhaps static/fonts/ and static/img/ need to be added to the RPM?
My system
kernel: 4.0.5-200.fc21.x86_64
rpms: python-ipython-notebook-2.4.1-1.fc21.noarch
fontawesome-fonts-web-4.1.0-2.fc21.noarch
Here's the thing - I don't see glyphicons-halflings.png anywhere in upstream. When I run a pip installed ipython notebook, it doesn't try to load it. So something else seems to be wrong that then triggers it to try to load that. I haven't figured that out yet. Latest update should fix the font-awesome path loads at least. 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). This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. 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 '21'. 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 21 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. Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |