https://bugs.kde.org/show_bug.cgi?id=375467

            Bug ID: 375467
           Summary: Cantor hangs at "Initializing Session" when choosing
                    Sage backend
           Product: cantor
           Version: 16.12
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: sage-backend
          Assignee: fil...@kde.org
          Reporter: doublejiniti...@gmail.com
                CC: alexanderrie...@gmail.com
  Target Milestone: ---

I'm using Cantor 16.12.1 with Sagemath 7.5 on Manjaro Testing. When choosing
the Sage backend cantor will hang on "Initiaizing session" forever. I've let it
wait for 10 minutes and it does not progress. Sage works fine in the terminal,
and Cantor is looking for sage in /usr/bin/sage.

Here is Cantor's stderr output:

dir:  "/usr/lib/qt/plugins/cantor/backends"
Error while loading plugin:  "."
Error while loading plugin:  ".."
Error while loading plugin:  "cantor_luabackend.so"
Creating MaximaBackend
Creating NullBackend
Creating PythonBackend
Creating PythonBackend
Creating RBackend
Creating SageBackend
Creating ScilabBackend
dir:  "/usr/bin/cantor/backends"
Created a CantorPart
Backend  "Sage"  offers extensions:  ("HistoryExtension", "ScriptExtension",
"CASExtension", "CalculusExtension", "LinearAlgebraExtension", "PlotExtension",
"PackagingExtension")
Spawning a new Sage session
new worksheetaccess interface
()
()
()
()
()
()
()
()
()
()
()
()
(QKeySequence("Ctrl+Shift+S"))
(QKeySequence("Ctrl+S"))
()
(QKeySequence("Ctrl+Z"))
(QKeySequence("Ctrl+Shift+Z"))
(QKeySequence("Ctrl+X"), QKeySequence("Shift+Del"))
(QKeySequence("Ctrl+C"), QKeySequence("Ctrl+Ins"))
(QKeySequence("Ctrl+V"), QKeySequence("Shift+Ins"))
(QKeySequence("Ctrl+F"))
(QKeySequence("Ctrl+R"))
(QKeySequence("F3"))
(QKeySequence("Shift+F3"))
()
(QKeySequence("Ctrl+P"))
()
(QKeySequence("Ctrl++"), QKeySequence("Ctrl+="))
(QKeySequence("Ctrl+-"))
()
()
()
()
()
()
()
(QKeySequence("Shift+Return"))
(QKeySequence("Ctrl+Return"))
()
()
()
()
(QKeySequence("Shift+Del"))
()
()
()
()
loading assistants...
dir:  "/usr/lib/qt/plugins/cantor/assistants"
Error while loading assistant:  "."
Error while loading assistant:  ".."
plugin  "AdvancedPlot"  requires  ("AdvancedPlotExtension")
plugin  "AdvancedPlot"  is   not   supported by  "Sage"
plugin  "Create Matrix"  requires  ("LinearAlgebraExtension")
plugin  "Create Matrix"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_create_matrix_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Differentiate"  requires  ("CalculusExtension")
plugin  "Differentiate"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_differentiate_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Eigenvalues"  requires  ("LinearAlgebraExtension", "HistoryExtension")
plugin  "Eigenvalues"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_eigenvalues_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Eigenvectors"  requires  ("LinearAlgebraExtension",
"HistoryExtension")
plugin  "Eigenvectors"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_eigenvectors_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Import Package"  requires  ("PackagingExtension")
plugin  "Import Package"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_import_package_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Integrate"  requires  ("CalculusExtension")
plugin  "Integrate"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_integrate_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Invert Matrix"  requires  ("LinearAlgebraExtension",
"HistoryExtension")
plugin  "Invert Matrix"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_invert_matrix_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Plot2d"  requires  ("PlotExtension")
plugin  "Plot2d"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_plot2d_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Plot3d"  requires  ("PlotExtension")
plugin  "Plot3d"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_plot3d_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "QalculatePlot"  requires  ("QalculatePlotExtension")
plugin  "QalculatePlot"  is   not   supported by  "Sage"
plugin  "RunScript"  requires  ("ScriptExtension")
plugin  "RunScript"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_runscript_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
plugin  "Solve"  requires  ("CASExtension")
plugin  "Solve"  is    supported by  "Sage"
KXMLGUI file found at deprecated location
("/usr/share/cantor/cantor_solve_assistant.rc") -- please use
${KXMLGUI_INSTALL_DIR} to install this file instead.
dir:  "/usr/bin/cantor/assistants"
loading panel plugins for session of type  "Sage"
dir:  "/usr/lib/qt/plugins/cantor/panels"
Error while loading panel:  "."
Error while loading panel:  ".."
plugin  "Help"  requires  ("")
Requesting capabilities of SageSession
plugin  "Help"  is    supported
setting session to  0xae43b0
plugin  "Variable Manager"  requires  ("VariableManagementExtension")
plugin  "Variable Manager"  is   not   supported
dir:  "/usr/bin/cantor/panels"
Requesting capabilities of SageSession
Requesting capabilities of SageSession
login
evaluating:  "__cantor_enable_typesetting(false)"
evaluating  "__cantor_enable_typesetting(false)"
wsStatusChange 0
out: 
"â\u0094\u008Câ\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0090\r\nâ\u0094\u0082
SageMath version 7.5, Release Date: 2017-01-11                    
â\u0094\u0082\r\nâ\u0094\u0082 Type \"notebook()\" for the browser-based
notebook interface.        â\u0094\u0082\r\nâ\u0094\u0082 Type \"help()\" for
help.                                           
â\u0094\u0082\r\nâ\u0094\u0094â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0098\r\n"
found version:  ("7.5", "7", "5")
using the current set of commands
out: 
"â\u0094\u008Câ\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0090\r\nâ\u0094\u0082
SageMath version 7.5, Release Date: 2017-01-11                    
â\u0094\u0082\r\nâ\u0094\u0082 Type \"notebook()\" for the browser-based
notebook interface.        â\u0094\u0082\r\nâ\u0094\u0082 Type \"help()\" for
help.                                           
â\u0094\u0082\r\nâ\u0094\u0094â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0098\r\n\u001B]0;IPython:
home/jj\u0007"
found version:  ("7.5", "7", "5")
using the current set of commands
out: 
"â\u0094\u008Câ\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0090\r\nâ\u0094\u0082
SageMath version 7.5, Release Date: 2017-01-11                    
â\u0094\u0082\r\nâ\u0094\u0082 Type \"notebook()\" for the browser-based
notebook interface.        â\u0094\u0082\r\nâ\u0094\u0082 Type \"help()\" for
help.                                           
â\u0094\u0082\r\nâ\u0094\u0094â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0098\r\n\u001B]0;IPython:
home/jj\u0007\u001B[?1l\u001B[6n"
found version:  ("7.5", "7", "5")
using the current set of commands
out: 
"â\u0094\u008Câ\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0090\r\nâ\u0094\u0082
SageMath version 7.5, Release Date: 2017-01-11                    
â\u0094\u0082\r\nâ\u0094\u0082 Type \"notebook()\" for the browser-based
notebook interface.        â\u0094\u0082\r\nâ\u0094\u0082 Type \"help()\" for
help.                                           
â\u0094\u0082\r\nâ\u0094\u0094â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0080â\u0094\u0098\r\n\u001B]0;IPython:
home/jj\u0007\u001B[?1l\u001B[6n\u001B[?2004h\u001B[?25l\u001B[?7l\u001B[0m\r\u001B[0m\u001B[J\r\u001B[0m\u001B[?12l\u001B[?25h\u001B[?25l\r\u001B[0m\u001B[J\r\u001B[J\u001B[?7h\u001B[0m\u001B[?12l\u001B[?25h\u001B[?2004l\u001B[?1l\u001B[6n\u001B[?2004h\u001B[?25l\u001B[?7l\u001B[0m\r\u001B[0m\u001B[J\r\u001B[0m\u001B[?12l\u001B[?25h\u001B[?25l\r\u001B[0m\u001B[?12l\u001B[?25h"
found version:  ("7.5", "7", "5")
using the current set of commands
QObject::disconnect: Unexpected null parameter
Shortcut for action  "format_text_bold" "&Bold" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "format_text_italic" "&Italic" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "format_text_underline" "&Underline" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "format_text_strikeout" "&Strike Out" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "evaluate_current" "Evaluate Entry" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "insert_command_entry" "Insert Command Entry" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "remove_current" "Remove current Entry" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "show_completion" "Show Completion" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
updating panels
adding panel for  "Help"
logout
SAGE_TMP_ROOT = /home/jj/.sage/temp/jacob-Thinkpad
Starting sage-cleaner with PID 23997
Checking PIDs [23833]
Process 23833 is no longer running, so we clean up
Deleting /home/jj/.sage/temp/jacob-Thinkpad/23833
Checking PIDs []
cleanup() #2 took 0.00s
Checking PIDs []
cleanup() #3 took 0.00s
Checking PIDs []
cleanup() #4 took 0.00s
Checking PIDs []
cleanup() #5 took 0.00s
Checking PIDs []
cleanup() #6 took 0.00s
Checking PIDs []
cleanup() #7 took 0.00s
Checking PIDs []
cleanup() #8 took 0.00s
Checking PIDs []
cleanup() #9 took 0.00s
Checking PIDs []
cleanup() #10 took 0.00s
sage-cleaner is finished
Removing pidfile and logfile

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to