Bug 967251
Summary: | sagemath: Hardcoded Requires: firefox | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kevin Kofler <kevin> |
Component: | sagemath | Assignee: | Paulo Andrade <paulo.cesar.pereira.de.andrade> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | paulo.cesar.pereira.de.andrade, redhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sagemath-5.9-9.fc18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-19 02:43:00 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
Kevin Kofler
2013-05-26 02:03:58 UTC
I did not test recently with web browsers other than firefox and konqueror, but it does not work correctly with knoqueror, mostly several javascript warnings all over the place. You can test other browsers by just commenting to use default or change default in /usr/bin/sage: export SAGE_BROWSER=firefox I will try to work on getting it to work correctly with other browsers, if hard to debug issues arise, usually it is java plugin related. At first I preferred to make it have as few issues as possible, so that if an user installs sagemath, by typing "notebook()" in the command line, everything should work, instead of needing the user to debug why things do not work "out of the box". *** Bug 971430 has been marked as a duplicate of this bug. *** IMO, leave it to the user to set a sane browser, if they choose badly, it's on them. The easiest fix here would be to just do export SAGE_BROWSER=xdg-open (and and a dependency on xdg-utils, if you don't already have one) I know it used to work with firefox and chromium-browser. Other browers (opera I never saw working with icedtea-web, but it was long ago I last tested), and with konqueror it keeps pop'ing up some warnig messages from jsMath. I left it in the /usr/bin/sage script so that it is easy to spot, and this way I would trade receiving a few bug reports of hardcoded firefox usage vs a lot of bug reports about not working properly on other browsers. But the thing is, Firefox is a ridiculous dependency if I want to use SAGE inside Cantor or on the command line. SAGE is more than just the web app. Curiously, only yesterday I tested again sage with cantor and noticed the problem. I think it is a good enough reason to tell people to set SAGE_BROWSER if it does not work good enough with konqueror (did not last time I tested). Well, of course, if you run notebook() in Cantor, it will behave no differently than if you do it in a SAGE running in a terminal. But that's not really how Cantor is intended to be used. :-) (Cantor has its own notebooks, it's not supposed to be a frontend to fire up the web notebook.) sagemath-5.10-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/sagemath-5.10-4.fc20 sagemath-5.9-8.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/sagemath-5.9-8.fc19 sagemath-5.9-8.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/sagemath-5.9-8.fc18 Package sagemath-5.10-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing sagemath-5.10-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16782/sagemath-5.10-4.fc20 then log in and leave karma (feedback). sagemath-5.9-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/sagemath-5.9-9.fc18 sagemath-5.9-9.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/sagemath-5.9-9.fc19 sagemath-5.10-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. sagemath-5.9-9.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. sagemath-5.9-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |