Bug 502991 - Unable to use Julia via CAS for Computational Notebooks
Summary: Unable to use Julia via CAS for Computational Notebooks
Status: CONFIRMED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.11.1
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-18 23:10 UTC by justaphysicsexpert
Modified: 2025-04-19 17:05 UTC (History)
0 users

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


Attachments
Screenshot of CAS Preferences window from Flatpak version of LabPlot (45.32 KB, image/png)
2025-04-18 23:14 UTC, justaphysicsexpert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description justaphysicsexpert 2025-04-18 23:10:58 UTC
SUMMARY
As stated in (https://userbase.kde.org/LabPlot/ComputationalNotebooks), one can use Julia for generating plots via computational notebooks within LabPlot. But despite having first installed the latest release of Julia on my system and then installing LabPlot via various sources (distro's package manager (tried using apt and zypper), flatpak or the appimage from KDE website) one-by-one (to compare them), either the option to configure CAS wasn't present in the settings menu or when it was available, within CAS preferences window, there was no tab/option to configure the executable and plotting options for Julia, like there is for Python. Please see attached screenshot of the CAS preferences window.

STEPS TO REPRODUCE
1. Install Julia as per the instructions at https://julialang.org/download/
2. Install LabPlot (for example via Flatpak)
3. Click on Settings menu in the titlebar, select Configure CAS option from the drop-down menu

OBSERVED RESULT
No option to configure CAS for Julia

EXPECTED RESULT
Separate Tab to configure CAS for Julia and ability to add Julia-based computational notebooks to the project

SOFTWARE/OS VERSIONS
[using latest Flatpak on Linux Mint 22.1]
------------------------------------------------------------
Output of "flatpak info org.kde.Platform"
-------------------------------------------------------------
KDE Application Platform - Shared libraries used by KDE applications

          ID: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/5.15-23.08
        Arch: x86_64
      Branch: 5.15-23.08
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 918.6 MB

      Commit: e8ad045230bad525ddc832a76a35673df1849822d1bbba13f4b914f3df9ddf70
      Parent: a3ee8f2346ac4df90f97b8728f7d60b19c2a692d7c32664ca598906de6e0d54e
     Subject: build of org.kde.Sdk, Mon Apr 14 20:28:23 UTC 2025 (8f135c84e8a8c269e15d8d5c6737ae1e8b3048c7)
        Date: 2025-04-15 02:57:58 +0000
----------------------------------------------------------
Output of "flatpak info org.kde.labplot2"
-----------------------------------------------------------

LabPlot - Interactive Data Visualization and Analysis

          ID: org.kde.labplot2
         Ref: app/org.kde.labplot2/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 2.11.1
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 273.2 MB
     Runtime: org.kde.Platform/x86_64/5.15-23.08
         Sdk: org.kde.Sdk/x86_64/5.15-23.08

      Commit: 371918a9b44df1ba2ede95c9436587dac7b403530a4c7543832be47d878ad240
      Parent: 9040417f96502d051bb19b590ae78216c866d53cac10d76de4fb9ac6f904ae7c
     Subject: poppler: Update poppler-25.03.0.tar.xz to 25.04.0 (56aa0c85)
        Date: 2025-04-02 11:47:08 +0000
ADDITIONAL INFORMATION
Comment 1 justaphysicsexpert 2025-04-18 23:14:19 UTC
Created attachment 180395 [details]
Screenshot of CAS Preferences window from Flatpak version of LabPlot
Comment 2 Alexander Semke 2025-04-19 17:05:38 UTC
(In reply to justaphysicsexpert from comment #0)
> SUMMARY
> As stated in (https://userbase.kde.org/LabPlot/ComputationalNotebooks), one
> can use Julia for generating plots via computational notebooks within
> LabPlot. But despite having first installed the latest release of Julia on
> my system and then installing LabPlot via various sources (distro's package
> manager (tried using apt and zypper), flatpak or the appimage from KDE
> website) one-by-one (to compare them), either the option to configure CAS
> wasn't present in the settings menu or when it was available, within CAS
> preferences window, there was no tab/option to configure the executable and
> plotting options for Julia, like there is for Python. Please see attached
> screenshot of the CAS preferences window.
> 
> STEPS TO REPRODUCE
> 1. Install Julia as per the instructions at https://julialang.org/download/
> 2. Install LabPlot (for example via Flatpak)
> 3. Click on Settings menu in the titlebar, select Configure CAS option from
> the drop-down menu
> 
> OBSERVED RESULT
> No option to configure CAS for Julia

Julia is not available yet in packages/installers produced by the KDE build infrastructure, this only includes the flatpack build. It's on our roadmap to also support Julia for this packages. For now, you need to use the package for LabPlot with the support for Julia produced by your distribution or compile LabPlot and Cantor from sources with the support for Julia, which is clearly more work unfortunately.