Bug 2063437 - Bottles is missing gtksourceview4 dependency
Summary: Bottles is missing gtksourceview4 dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bottles
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-12 18:14 UTC by Georg Grabler
Modified: 2022-03-26 15:20 UTC (History)
2 users (show)

Fixed In Version: bottles-2022.2.28-2.fc34 bottles-2022.2.28-2.fc35 bottles-2022.2.28-2.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-14 22:26:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Georg Grabler 2022-03-12 18:14:09 UTC
Description of problem:
Bottles won't start after installing on a KDE system since it requires gtksourceview4, which is not a bottles package depencdency

Version-Release number of selected component (if applicable):
bottles-2022.2.28-1.fc35.src.rpm

How reproducible:
Install bottles on a fc35 installation without installing gtksourceview4

Steps to Reproduce:
1. Install a FC35 spin without Gnome
2. Install bottles
3. Run bottles

Actual results:
(19:12:00) WARNING Custom bottles path /mnt/Data/Games/Bottles does not exist, falling back to default 
Traceback (most recent call last):
  File "/usr/bin/bottles", line 56, in <module>
    from bottles import main
  File "/usr/share/bottles/bottles/main.py", line 33, in <module>
    from bottles.window import MainWindow
  File "/usr/share/bottles/bottles/window.py", line 35, in <module>
    from bottles.views.details import DetailsView
  File "/usr/share/bottles/bottles/views/details.py", line 25, in <module>
    from bottles.views.bottle_details import BottleView
  File "/usr/share/bottles/bottles/views/bottle_details.py", line 36, in <module>
    from bottles.dialogs.generic import MessageDialog
  File "/usr/share/bottles/bottles/dialogs/generic.py", line 20, in <module>
    gi.require_version('GtkSource', '4')
  File "/usr/lib64/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkSource not available


Expected results:
The application to run

Additional info:
Installing gtksourceview4 makes bottles work perfectly well. So in my opinion it should be a direct dependency of bottles and the package should not rely on running on a GTK-based system for it's dependencies to be properly installed.

Comment 1 Fedora Update System 2022-03-12 18:51:15 UTC
FEDORA-2022-a103232bc3 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a103232bc3

Comment 2 Fedora Update System 2022-03-12 18:51:51 UTC
FEDORA-2022-f3c68e0690 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f3c68e0690

Comment 3 Fedora Update System 2022-03-12 18:54:01 UTC
FEDORA-2022-173b765d26 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-173b765d26

Comment 4 Artem 2022-03-12 18:54:58 UTC
Thanks for reporting. Update submitted.

Comment 5 Fedora Update System 2022-03-12 22:36:06 UTC
FEDORA-2022-a103232bc3 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-a103232bc3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a103232bc3

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

Comment 6 Fedora Update System 2022-03-13 17:44:12 UTC
FEDORA-2022-f3c68e0690 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-f3c68e0690`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f3c68e0690

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

Comment 7 Fedora Update System 2022-03-13 18:38:22 UTC
FEDORA-2022-173b765d26 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-173b765d26`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-173b765d26

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

Comment 8 Fedora Update System 2022-03-14 22:26:04 UTC
FEDORA-2022-173b765d26 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-03-15 00:08:00 UTC
FEDORA-2022-f3c68e0690 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2022-03-26 15:20:24 UTC
FEDORA-2022-a103232bc3 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.