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

Python packages for plugins missing in flatpak version of Picard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • 2.2.1
    • None
    • Manjaro GNU/Linux Ivy 5.2.15-1-MANJARO with GNOME 3.32 and Picard 2.2.1 via flatpak

       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?

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

              Created:
              Updated:
              Resolved:

                Version Package