Skip to content

[Bug]: ModuleNotFoundError: No module named 'fluidsynth' #3985

@RadimEZ

Description

@RadimEZ

Describe the bug

> flatpak --user remote-info --log flathub com.usebottles.bottles

Bottles - Run Windows software

        ID: com.usebottles.bottles
       Ref: app/com.usebottles.bottles/x86_64/stable
      Arch: x86_64
    Branch: stable
   Version: 51.21
   License: GPL-3.0-only
Collection: org.flathub.Stable
  Download: 160,6 MB
 Installed: 492,0 MB
   Runtime: org.gnome.Platform/x86_64/48
       Sdk: org.gnome.Sdk/x86_64/48

    Commit: 7904af95bea440d5303ba47d961ae7c9664369cbf7169ca4573014fd011d93b9
    Parent: 40b42e531a4bb20df44fe866b2e695360cce0e8a78aff7153a5d4ea58fefbcab
   Subject: Merge pull request #498 from flathub/mirkobrombin-patch-9 (2ee4c53168fa)
      Date: 2025-07-15 12:43:09 +0000
> flatpak run --command=bottles-cli com.usebottles.bottles info health-check
Traceback (most recent call last):
  File "/app/bin/bottles-cli", line 47, in <module>
    from bottles.backend.managers.manager import Manager
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 41, in <module>
    from bottles.backend.managers.dependency import DependencyManager
  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 35, in <module>
    from bottles.backend.wine.executor import WineExecutor
  File "/app/share/bottles/bottles/backend/wine/executor.py", line 12, in <module>
    from bottles.backend.utils.midi import FluidSynth
  File "/app/share/bottles/bottles/backend/utils/midi.py", line 20, in <module>
    from fluidsynth import cfunc, Synth  # type: ignore [import-untyped]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'fluidsynth'

To Reproduce

  1. Update to latest flatpak
  2. Launch com.usebottles.bottles
  3. Observe error above

Package

Flatpak from Flathub

Distribution

Manjaro KDE Plasma

Debugging Information

> flatpak run --command=bottles-cli com.usebottles.bottles info health-check
Traceback (most recent call last):
  File "/app/bin/bottles-cli", line 47, in <module>
    from bottles.backend.managers.manager import Manager
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 41, in <module>
    from bottles.backend.managers.dependency import DependencyManager
  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 35, in <module>
    from bottles.backend.wine.executor import WineExecutor
  File "/app/share/bottles/bottles/backend/wine/executor.py", line 12, in <module>
    from bottles.backend.utils.midi import FluidSynth
  File "/app/share/bottles/bottles/backend/utils/midi.py", line 20, in <module>
    from fluidsynth import cfunc, Synth  # type: ignore [import-untyped]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'fluidsynth'

Troubleshooting Logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions