Bug 445650 - CAS worksheets fail to initialize in Labplot
Summary: CAS worksheets fail to initialize in Labplot
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.8.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-17 14:38 UTC by optokinetic
Modified: 2021-11-25 09:47 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 optokinetic 2021-11-17 14:38:43 UTC
SUMMARY
Any CAS worksheet will fail to initialize in Labplot, even though I can use Cantor normally. I normally use Python and R worksheets, and I have these installed on my computer.

STEPS TO REPRODUCE
1. Create new project
2. Create new CAS worksheet (using any backend)
 
OBSERVED RESULT
The CAS worksheet window will say "Failed to initialize [x]", where [x] is Python, R, Octave, or any backend

EXPECTED RESULT
CAS worksheet should initialize and perform normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kernel 5.14.14-2-default (64-bit)
(available in About System)
KDE Plasma Version:  5.23.2
KDE Frameworks Version:  5.87.0
Qt Version:  5.15.2

ADDITIONAL INFORMATION
Comment 1 optokinetic 2021-11-17 21:53:56 UTC
Running labplot2 from terminal and trying to create a worksheet will prompt the following:
dir:  "/usr/lib64/qt5/plugins/cantor/backends"
dir:  "/usr/bin/cantor/backends"
Failed to load Cantor plugin:
Cantor Part file name: 
        The shared library was not found.
Comment 2 Stefan Gerlach 2021-11-17 22:12:30 UTC
Do you have cantor installed? On OpenSUSE just run a "zypper in -y cantor" to installed it. This package contains all the backends.
Does this work for you?
Comment 3 optokinetic 2021-11-17 22:44:51 UTC
(In reply to Stefan Gerlach from comment #2)

I have Cantor installed, and it works fine! I have tried removing and reinstalling Cantor, Labplot and libcantorlibs, but Labplot CAS worksheets won't initialize even though Cantor works.
Comment 4 optokinetic 2021-11-18 20:39:26 UTC
I did a fresh installation of both openSUSE Tumbleweed and Manjaro on my spare laptop today. I installed Labplot with all its dependencies, including Cantor. On both distros CAS worksheets fail to initialize in Labplot, but Cantor works perfectly. Same terminal prompt.
Comment 5 Stefan Gerlach 2021-11-22 19:41:23 UTC
It looks like Cantor has changed the path to the component needed to load the plugins recently. A fix is now in the latest development version of LabPlot and will be part of the upcoming version 2.9.0. Are you able to test the latest development version? I can check if there are repositories providing the latest version.
Comment 6 optokinetic 2021-11-24 13:40:18 UTC
Installed newest developmental version, and now CAS worksheets work again. Thank you for looking into this!