Skip to content

bug: Flatpak installation cannot find perl binary on linux when generating dynamic playlists #58

@nothingface0

Description

@nothingface0

System Details
OS: Ubuntu 24.04.2 LTS
Arch: x64
Desktop Environment: Gnome
Version: v3.3.0
Installed by: Flatpak

Describe the bug
When trying to generate a dynamic playlist (no rules, default settings) from Cantata, I get You need to install "perl" on your system in order for Cantata's dynamic mode to function.

perl is installed on the system running Cantata:

This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-gnu-thread-multi
(with 44 registered patches, see perl -V for more detail)

I suspect that, since flatpak is sandboxed, cantata has no access to the local file system.

I tried configuring cantata to have access to the host filesystem (sudo flatpak override dog.unix.cantata.Cantata --filesystem=host), but nothing changed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Playlists
  2. Click Add
  3. Name the playlist

Image

  1. Click OK
  2. Click on created playlist's play button
  3. Error pops up

Expected behavior
A dynamic playlist shows up.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions