Bug 2173282 - rmlint GUI misses dependency to GtkSourceView3
Summary: rmlint GUI misses dependency to GtkSourceView3
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: rmlint
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-25 11:07 UTC by Christian Stadelmann
Modified: 2025-07-09 04:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-27 21:07:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian Stadelmann 2023-02-25 11:07:51 UTC
Description of problem:
rmlint needs GtkSourceView 3 to show the GUI, but it is not marked as a dependency.

Version-Release number of selected component (if applicable):
rmlint-2.10.1-11.fc37.x86_64

How reproducible:
always (packaging issue)

Steps to Reproduce:
1. Have rmlint installed, but without having gtksourceview3 installed
2. Start `rmlint --gui`

Actual results:
rmlint aborts with an error:

$ rmlint --gui
Traceback (most recent call last):
  File "/tmp/.shredder-bootstrap.py.RY5Z01", line 18, in <module>
  File "/usr/lib/python3.11/site-packages/shredder/__init__.py", line 11, in <module>
    gi.require_version('GtkSource', '3.0')
  File "/usr/lib64/python3.11/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace GtkSource not available for version 3.0

Expected results:
Start just fine or hint to install gtksourceview3.

Additional info:
I recommend to add `Recommends: gtksourceview3` to the spec file. You could also make it "Requires", but that would pull in a GUI dependency on a non-GUI application which I would not like if I'd be using a headless system.

Comment 1 Marco Nolden 2023-03-16 19:39:53 UTC
I stumbled across this bug when I noticed a "Shredder Duplicate Finder" application icon in Gnome which seems to do nothing. 

Steps to reproduce:
1. Have rmlint installed, but without having gtksourceview3 installed
2. Launch "Shredder Duplicate Finder" using Gnome shell

Actual results:
Nothing happens, no error messafge

Expected result:
An error message, or rmlint GUI appears.

It's specified in /usr/share/applications/shredder.desktop , part of rmlint package

Comment 2 Fedora Admin user for bugzilla script actions 2023-06-11 01:03:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Fedora Admin user for bugzilla script actions 2023-07-17 00:55:10 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Fedora Release Engineering 2023-08-16 07:10:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 5 Pedro Barreto 2024-05-11 14:02:23 UTC
I confirm this bug on Fedora 40 - it seems the package is abandoned.

Comment 6 Fedora Admin user for bugzilla script actions 2024-08-22 18:48:45 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Artur Frenszek-Iwicki 2024-09-12 18:53:26 UTC
The package currently has "Recommends: gtksourceview3", which means the dep will get pulled unless the user has disabled weak dependencies.
I'm thinking about moving the GUI to a separate sub-package; it could then have a hard Requires on GtkSourceView3.
This should make the GUI work reliably, while also allowing users not interested in the GUI to avoid pulling unnecessary deps.

Comment 8 Aoife Moloney 2024-11-08 10:48:19 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Aoife Moloney 2024-11-27 21:07:28 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Red Hat Bugzilla 2025-07-09 04:25:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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