Description of problem:
sagemath explicitly requires firefox. Why is that necessary? The web-based notebook should work with any browser, and what if I don't want to use the web-based interface at all (but either Cantor or the sage command line directly)?
Version-Release number of selected component (if applicable):
sagemath-5.9-5.fc18 and older
I did not test recently with web browsers other than firefox
and konqueror, but it does not work correctly with knoqueror,
You can test other browsers by just commenting to use default
or change default in /usr/bin/sage:
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
(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.
sagemath-5.9-8.fc19 has been submitted as an update for Fedora 19.
sagemath-5.9-8.fc18 has been submitted as an update for Fedora 18.
* 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:
then log in and leave karma (feedback).
sagemath-5.9-9.fc18 has been submitted as an update for Fedora 18.
sagemath-5.9-9.fc19 has been submitted as an update for Fedora 19.
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.