Bug 2276256

Summary: Missing dependency: python3-pycurl
Product: [Fedora] Fedora Reporter: once-solemn
Component: bottlesAssignee: Sandro <gui1ty>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: ego.cordatus, gui1ty, mail, maxwell, saibiabk7, thunderbirdtr, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: bottles-51.11-7.fc40 bottles-51.11-7.fc39 bottles-51.11-7.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-21 15:04:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description once-solemn 2024-04-21 06:11:22 UTC
There's really not much to this one. Bottles requires "python3-pycurl" to be installed, otherwise it won't launch with an "ModuleNotFoundError: No module named 'pycurl'" error.

It's worth noting that I built this system up from a "minimal install" in the Fedora everything iso, and that's probably why I don't have pycurl by default.

Reproducible: Always

Steps to Reproduce:
1.Install Bottles
2.Launch Bottles
Actual Results:  
Nothing. 

Expected Results:  
That the program launches

/usr/share/bottles/bottles/backend/utils/generic.py:97: SyntaxWarning: invalid escape sequence '\d'
  [int(t) if t.isdigit() else t.lower() for t in re.split("(\d+)", text)]
Traceback (most recent call last):
  File "/usr/bin/bottles", line 45, in <module>
    from bottles.frontend import main
  File "/usr/share/bottles/bottles/frontend/main.py", line 36, in <module>
    from bottles.frontend.windows.main_window import MainWindow
  File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 30, in <module>
    from bottles.backend.managers.manager import Manager
  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 39, in <module>
    from bottles.backend.managers.component import ComponentManager
  File "/usr/share/bottles/bottles/backend/managers/component.py", line 25, in <module>
    import pycurl
ModuleNotFoundError: No module named 'pycurl'

Comment 1 Sandro 2024-04-21 09:37:25 UTC
Thanks for the bug report. You are probably right, pycurl is rather ubiquitous and that's why this hasn't been noticed so far.

It is listed in upstream's dependency list[1]. The trouble is that is not used during build since upstream wrapped the build into meson scripts. I see what I can do about it.

[1] https://github.com/bottlesdevs/Bottles/blob/main/requirements.txt

Comment 2 Sandro 2024-04-21 15:04:04 UTC
Fixed in version 51.11-6. Somehow Bodhi has failed to update the bug. That might still happen, though.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-06cb8b0de3

Comment 3 Fedora Update System 2024-04-22 00:54:08 UTC
FEDORA-2024-06cb8b0de3 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-06cb8b0de3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-06cb8b0de3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-04-22 02:38:53 UTC
FEDORA-2024-abb61edf84 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-abb61edf84`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-abb61edf84

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-04-22 02:52:08 UTC
FEDORA-2024-c0a4908d42 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c0a4908d42`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c0a4908d42

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-04-26 01:48:22 UTC
FEDORA-2024-6a904272e8 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6a904272e8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6a904272e8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-04-26 01:57:33 UTC
FEDORA-2024-aa9321eab1 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-aa9321eab1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-aa9321eab1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-04-26 02:02:37 UTC
FEDORA-2024-a31138f2fa has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a31138f2fa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a31138f2fa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-05-04 01:23:07 UTC
FEDORA-2024-6a904272e8 (bottles-51.11-7.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-05-04 01:32:58 UTC
FEDORA-2024-a31138f2fa (bottles-51.11-7.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-05-04 02:19:39 UTC
FEDORA-2024-aa9321eab1 (bottles-51.11-7.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Sandro 2024-05-05 06:46:42 UTC
*** Bug 2279123 has been marked as a duplicate of this bug. ***