Bug 425102 - Python 3 backend not found although installed
Summary: Python 3 backend not found although installed
Status: RESOLVED NOT A BUG
Alias: None
Product: cantor
Classification: Applications
Component: python3-backend (show other bugs)
Version: 20.04
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Nikita Sirgienko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-07 09:51 UTC by Marcello Massaro
Modified: 2020-08-08 11:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Massaro 2020-08-07 09:51:38 UTC
SUMMARY
On startup, Cantor shows a popup saying "Backend Python 3 is not installed". This is not true, as python 3 is installed. Clicking on the "Create new document" toolbar button also displays this error. If OTOH I click on "File > New > Python", a new workbook is created and everything works.


STEPS TO REPRODUCE
1. Open up Cantor, with correct dependencies installed.
2. (Optionally) Click on the leftmost toolbar button "Create new document".

OBSERVED RESULT
Pop-up warns user that backend for Python 3 is not installed, although it is.

EXPECTED RESULT
No popup.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.12-arch1-1
OS Type: 64-bit

ADDITIONAL INFORMATION
Cantor version: 20.04.3
Comment 1 Nikita Sirgienko 2020-08-07 10:04:28 UTC
This is correct, because before there are two Python backends in Cantor: Python2 and Python3. But now, after Python 2 end of life, Python2 have been removed and Python3 now names just Python.
Comment 2 Nikita Sirgienko 2020-08-07 10:09:50 UTC
I suppose, that in settings, the backend by default is Python3. Change the default backend to Python and I suppose the problem will gone.
Comment 3 Marcello Massaro 2020-08-07 10:51:48 UTC
I see now. I changed my default backend and now it works as expected! Maybe the popup could (in the future) suggest to the user to change their default backend if it's not present. (e.g. it was removed)