Upgrading from bleachbit (4.4.2-4) to bleachbit (4.6.0-1) resulted in following errors:
Exception while running operation 'system': 'No closing quotation'
Traceback (most recent call last):
File "/usr/share/bleachbit/Worker.py", line 345, in run_operations
for _dummy in self.clean_operation(operation):
File "/usr/share/bleachbit/Worker.py", line 159, in clean_operation
for cmd in backends[operation].get_commands(option_id):
File "/usr/share/bleachbit/Cleaner.py", line 385, in get_commands
if filename.endswith('.desktop') and Unix.is_broken_xdg_desktop(filename):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/bleachbit/Unix.py", line 497, in is_broken_xdg_desktop
if __is_broken_xdg_desktop_application(config, pathname):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/bleachbit/Unix.py", line 425, in __is_broken_xdg_desktop_application
execs = shlex.split(config.get('Desktop Entry', 'Exec'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/shlex.py", line 315, in split
return list(lex)
^^^^^^^^^
File "/usr/lib/python3.11/shlex.py", line 300, in __next__
token = self.get_token()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/shlex.py", line 109, in get_token
raw = self.read_token()
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/shlex.py", line 191, in read_token
raise ValueError("No closing quotation")
ValueError: No closing quotation
Resolved by reverting to previous bleachbit (4.4.2-4) version.
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text