Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1613

Python packages for plugins missing in flatpak version of Picard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Invalid
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Manjaro GNU/Linux Ivy 5.2.15-1-MANJARO with GNOME 3.32 and Picard 2.2.1 via flatpak

      Description

       Greetings,

      when trying to install the BPM analyzer plugin for the flatpak build of Picard I get the following error:

      An error occured while loading the plugin 'bpm':
      
      
      Plugin 'bpm' : Traceback (most recent call last):
        File "/app/lib/python3.7/site-packages/picard/pluginmanager.py", line 258, in _load_plugin_from_directory
          plugin_module = zip_importer.load_module(full_module_name)
        File "/home/userxyz/.var/app/org.musicbrainz.Picard/config/MusicBrainz/Picard/plugins/bpm.zip/bpm/__init__.py", line 20, in <module>
          from aubio import source, tempo
      ModuleNotFoundError: No module named 'aubio'
      

      When installing Picard via the system package manager, the error can be fixed by installing the python-aubio package or by installing aubio via pip install system-wide.

      Due to the nature of flatpak, this fix doesn't work.

      I found a blog post online about the possibility to embed python packages in flatpak apps: Link

      Is this feasible for Picard?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Bendodroid Bennett Wetters
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package