https://bugs.kde.org/show_bug.cgi?id=433982
Bug ID: 433982 Summary: Octave worksheet evaluation hangs on plot() function Product: cantor Version: 20.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: octave-backend Assignee: cantor-b...@kde.org Reporter: eg...@basealt.ru Target Milestone: --- SUMMARY On the plot() function (and some other like: hist, bar, stem3, etc.) the evaluation hangs. STEPS TO REPRODUCE 1. Open cantor with octave backend 2. Write 'plot(1:1)' 3. Click 'Evaluate Worksheet' OBSERVED RESULT The program is responsible, but nothing is plotted. The green '>>>' prompt is blinking. At the bottom says 'Calculating...'. EXPECTED RESULT The plot result appears. SOFTWARE/OS VERSIONS Linux: Ubuntu 20.10 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2 Cantor Version: 20.08.2 Octave Version: 5.2.0 Also reproduces under: Linux: Alt Linux Workstation K 9.1 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.12.9 Cantor Version: 20.12.3 Octave Version: 6.2.0 ADDITIONAL INFORMATION Console output after "Evaluate Worksheet": ``` evaluate worksheet login starting ("/usr/bin/octave-cli", "--silent", "--interactive", "--persist", "--eval", "PS1('CANTOR_OCTAVE_BACKEND_PROMPT:\\#> ');", "--eval", "PS2('CANTOR_OCTAVE_BACKEND_SUBPROMPT:\\#> ');", "--eval", "addpath \"/usr/share/cantor/octavebackend\";", "--eval", "suppress_verbose_help_message(1);") wsStatusChange 1 login done evaluating: "if (length(available_graphics_toolkits()) > 0)\n printf(\"%d\", 1);\nelse\n printf(\"%d\", 0);\nendif" wsStatusChange 0 currentExpressionStatusChanged 1 "if (length(available_graphics_toolkits()) > 0)\n printf(\"%d\", 1);\nelse\n printf(\"%d\", 0);\nendif" readOutput start parsing "CANTOR_OCTAVE_BACKEND_PROMPT:1> " readError readOutput start parsing "1CANTOR_OCTAVE_BACKEND_PROMPT:2> " readError parseOutput: "1" setting result to a type 1 result currentExpressionStatusChanged 2 "if (length(available_graphics_toolkits()) > 0)\n printf(\"%d\", 1);\nelse\n printf(\"%d\", 0);\nendif" wsStatusChange 1 QString::arg: Argument missing: set (0, "defaultfigurevisible","off");, evaluating: "set (0, \"defaultfigurevisible\",\"off\");" wsStatusChange 0 currentExpressionStatusChanged 1 "set (0, \"defaultfigurevisible\",\"off\");" evaluating: "plot(1:1)" readOutput start parsing "CANTOR_OCTAVE_BACKEND_PROMPT:3> " readError parseOutput: "" currentExpressionStatusChanged 2 "set (0, \"defaultfigurevisible\",\"off\");" currentExpressionStatusChanged 1 "plot(1:1)" readOutput start parsing "CANTOR_OCTAVE_BACKEND_PROMPT:4> " readError parseOutput: "" ``` -- You are receiving this mail because: You are watching all bug changes.