Bug 457796

Summary: Maxima backend does not work with flatpak Cantor
Product: [Applications] cantor Reporter: Jack Hill <jackhill3103>
Component: maxima-backendAssignee: Cantor Bugs <cantor-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack Hill 2022-08-12 12:16:07 UTC
SUMMARY
When I try to enter a command, Cantor hangs


STEPS TO REPRODUCE
1. Install Cantor through flatpak
2. Install maxima 
Mine is in installed to /usr/bin/maxima
3. Set path to maxima in Cantor (Settings -> Configure Cantor -> Maxima -> Executable)
Make sure you use the file chooser dialogue when searching for maxima. This means flatpak will copy the maxima exe to a directory accessible to Cantor.
4. Start a maxima session in Cantor
5. Try to enter a valid maxima command
I used `diff(x^2, x);`

OBSERVED RESULT
Cantor hangs
The console output is a never ending stream of quotation marks: ""
(the console used to execute `flatpak run org.kde.Cantor`; NOT the output from Cantor's "Session" tab) 

EXPECTED RESULT
It shouldn't hang
It should run the command and output "2 x"

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220809
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.15-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION