https://bugs.kde.org/show_bug.cgi?id=375467
--- Comment #15 from Nikita Sirgienko <warqu...@gmail.com> --- (In reply to Antonio Rojas from comment #14) > (In reply to Nikita Sirgienko from comment #13) > > Theoretically, If there is way to run 'sage-ipython' directly, without sage > > bash file, I guess, that I could fix this bug for all sage versions, but I > > am not sure. > > Running sage-ipython directly should work fine, the problem is finding where > the binary is installed. You can get the location of the SAGE_LOCAL dir with > > sage -c "from sage.env import SAGE_LOCAL; print SAGE_LOCAL" > > and the sage-ipython should be located in $SAGE_LOCAL/bin $ sage -c "from sage.env import SAGE_LOCAL; print SAGE_LOCAL" gives '/usr/' for me, and sage-ipython locate in '/usr/share/sagemath/bin', so it's not so simple. That worse, sage-ipython fails for me with this trackeback: Traceback (most recent call last): File "./sage-ipython", line 7, in <module> from sage.repl.interpreter import SageTerminalApp File "/usr/lib/python2.7/dist-packages/sage/repl/interpreter.py", line 112, in <module> from sage.env import SAGE_LOCAL File "/usr/lib/python2.7/dist-packages/sage/env.py", line 123, in <module> _add_variable_or_fallback('SAGE_ETC', opj('$SAGE_LOCAL', 'etc')) File "/usr/lib/python2.7/dist-packages/sage/env.py", line 103, in _add_variable_or_fallback value = sep.join(components) TypeError: sequence item 0: expected string, NoneType found And I don't understand, how I can fix it and run sage-ipython correctly. I guess, that sage bash file set up environment for sage-ipython, and we need also do it before directly run sage-ipython. -- You are receiving this mail because: You are watching all bug changes.