Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Crash on launching flatpak #3216

Closed
aadilayub opened this issue Dec 25, 2023 · 8 comments
Closed

[Bug]: Crash on launching flatpak #3216

aadilayub opened this issue Dec 25, 2023 · 8 comments

Comments

@aadilayub
Copy link

Describe the bug

The program crashes and refuses to launch, when running the flatpak.

To Reproduce

  1. Install Bottles from Flathub
  2. Run the program

Package

Flatpak from Flathub

Distribution

Fedora Silverblue 39

Debugging Information

It is not possible to run this command.

Troubleshooting Logs

~ took 11s 
❯ flatpak run com.usebottles.bottles
Traceback (most recent call last):
  File "/app/bin/bottles", line 44, 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.4.0-DEV)

Additional context

No response

@fredinwheel
Copy link

I've had a chance to try and reproduce this error today in relation to #3213 but I haven't come across it. Bottles launched normally both from the CLI and GUI. Apart from the problem in the above mentioned issue, there didn't seem to be any issues with Bottles on my Silverblue setup. Could there be something you configured in your system that causes this error?

@aadilayub
Copy link
Author

aadilayub commented Dec 26, 2023

Could there be something you configured in your system that causes this error?

Unfortunately I don't know enough about Flatpak to tell if that is the case. I've digged up some more info from Warehouse. Is there anything out of the ordinary here?

image

@aadilayub
Copy link
Author

aadilayub commented Dec 26, 2023

From #3213:

Let's take #3216 for example, it's 100% caused by a shitty frontend for flatpak that updated Bottles without updating the GNOME runtime (org.gnome.Platform). And depending on how disastrous that software is, it may or may not be fixed by a simple flatpak update.

For the record, I only installed Bottles from GNOME Software (with Flathub as the only flatpak remote), and didn't do anything after that. After I ran into the crash, I tried removing/instaling the program a bunch of times. flatpak update doesn't show any available updates either.

I also reinstalled after using the "cleanup" function in Warehouse, and still get the same error.

@HubKing
Copy link

HubKing commented Dec 29, 2023

I get this error too. #3218 (comment)

I usually use Pamac to install/update Flatpak apps, but I had run flatpak update in the terminal to update everything, and that did not fix this. I just tried flatpak install --reinstall com.usebottles.bottles, and I still get the same error.

@ChaosEngine60
Copy link

I get this error too. #3218 (comment)

I usually use Pamac to install/update Flatpak apps, but I had run flatpak update in the terminal to update everything, and that did not fix this. I just tried flatpak install --reinstall com.usebottles.bottles, and I still get the same error.

I just downgraded to 51.9 using Warehouse and now Bottles is working. If you are already using 51.9 and getting the error, maybe you could try downgrading to 51.8? Worth a shot.

@HubKing
Copy link

HubKing commented Dec 29, 2023

Downgrading did not solve the problem. I also tried uninstall and install instead of the reinstall flag; that did not solve it either.

I installed the AUR version (which builds it from the source code), and that version worked.

@ChaosEngine60
Copy link

"There's more than one way to skin a cat" springs to mind. Well done.

@mirkobrombin
Copy link
Member

Cannot replicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants