bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.2k stars 258 forks source link

[Bug]: refuses to launch #3356

Open scarf005 opened 4 months ago

scarf005 commented 4 months ago

Describe the bug

When running on flatpak, it will fail to run. same as #3216 but it was closed without fixes.

To Reproduce

  1. install bottles on flathub
  2. launch bottles

Package

Flatpak from Flathub

Distribution

Ubuntu 23.10

Debugging Information

flatpak run --command=bottles-cli com.usebottles.bottles info health-check
Traceback (most recent call last):
  File "/app/bin/bottles-cli", line 46, in <module>
    from bottles.backend.managers.manager import Manager
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 39, in <module>
    from bottles.backend.managers.component import ComponentManager
  File "/app/share/bottles/bottles/backend/managers/component.py", line 25, in <module>
    import pycurl
ImportError: pycurl: libcurl link-time version (8.2.1-DEV) is older than compile-time version (8.5.0-DEV)

Troubleshooting Logs

Traceback (most recent call last):
  File "/app/bin/bottles", line 45, in <module>
    from bottles.frontend import main
  File "/app/share/bottles/bottles/frontend/main.py", line 36, in <module>
    from bottles.frontend.windows.main_window import MainWindow
  File "/app/share/bottles/bottles/frontend/windows/main_window.py", line 30, in <module>
    from bottles.backend.managers.manager import Manager
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 39, in <module>
    from bottles.backend.managers.component import ComponentManager
  File "/app/share/bottles/bottles/backend/managers/component.py", line 25, in <module>
    import pycurl
ImportError: pycurl: libcurl link-time version (8.2.1-DEV) is older than compile-time version (8.5.0-DEV)

Additional context

flatpak info com.usebottles.bottles 2024년 04월 28일 (일) 오후 09시 11분 50초 Bottles - Run Windows Software

      ID: com.usebottles.bottles
     Ref: app/com.usebottles.bottles/x86_64/stable
    Arch: x86_64
  Branch: stable
 Version: 51.11
 License: GPL-3.0-only
  Origin: flathub

Collection: org.flathub.Stable Installation: system Installed: 456.4 MB Runtime: org.gnome.Platform/x86_64/45 Sdk: org.gnome.Sdk/x86_64/45

  Commit: 45778204c773b7f489a9a88ca24ef325cea99a0dd1cd8eff24b6201a96c4f724
  Parent: 34fd84393ff5717222995783ae052c4da78ab0e15bfeb9649b1bdf3f72592235
 Subject: Update Bottles to 51.11 (5d801701)
    Date: 2024-02-18 21:57:46 +000
dull4h4n commented 4 months ago

Version installed from aur also behaving this way. Cannot open successfully.

dull4h4n commented 4 months ago

Was able to install the flatpak which had no existing data or bottles and it installed and opened, allowed me to add bottles. Possibly something about old data that is causing issues with current version.

dull4h4n commented 4 months ago

Added bottles to flatpak, still opens, but none of the bottled apps open.