Skip to content

Shredder GUI crashes on startup: GLib has no attribute 'option' #767

Description

@lc31dns

Hello,

I hit a GUI startup crash with Shredder on Kali.

Environment:

  • rmlint-gui 2.10.2
  • Python 3.13.12
  • GLib 2.88.0
  • Kali GNU/Linux 2026.1

The launcher and rmlint --gui were both crashing at startup.

Traceback:
AttributeError: 'gi.repository.GLib' object has no attribute 'option'

After checking the installed code, shredder/cmdline.py still uses:

  • GLib.option.OptionParser
  • GLib.option.make_option

On my system:

  • hasattr(GLib, "option") is False
  • hasattr(GLib, "OptionContext") is True

I applied a local patch replacing the argument parsing in parse_arguments() with Python argparse, and after that rmlint --gui started working again.

So this looks like a compatibility issue in Shredder’s GUI argument parsing, not a dock/launcher issue.

If useful, I can provide the local patch I used.

Thanks.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions