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

--- Comment #23 from Nikita Sirgienko <warqu...@gmail.com> ---
(In reply to avlas from comment #21)
> I tested this fix (using Cantor's nightly flatpak package) and although it's
> informative about missing plotting capabilities, it could be improved.
I don't think, that Cantor as flatpak can be usable, because Cantor needs
executable and filesystem access from host and this is not very good working in
flatpak.
Also, I suppose, you point to your script, that you have mentioned before,
rigth?
```
#!/bin/sh
exec /usr/bin/flatpak run --branch=stable --arch=x86_64 --filesystem=/tmp
org.octave.Octave "$@"
```
I have reproduce this conditions (flatpak Cantor and this script) and well, the
problem is, that inside flatpak package path /usr/bin/flatpak is invalid, so
Cantor just print me error from this sh script. But I suppose, we still need a
code for notice user, if Octave executable finishes suddenly, like in some
other backends.

> First, I don't think the user needs to know about
> /tmp/cantor_octave_plot_integration_test.txt, just telling that access to
> the /tmp was not granted would likely be enough.
But that problem is more complicated and there are some possibilityes: Octave
don't create this file, Cantor haven't permissions to read /tmp, etc. So,
because of that the message have so inconcrete text.

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

Reply via email to