Public bug reported:

In ubuntu 21.04 (hirsute), bleachbit fails to launch as root (sudo or
pkexec). However, as normal user it launches.

version: bleachbit/hirsute,now 3.9.0-1 all [installed]


The output in terminal when running as root is:

Traceback (most recent call last):
  File "/usr/bin/bleachbit", line 43, in <module>
    import bleachbit.GUI
  File "/usr/share/bleachbit/bleachbit/GUI.py", line 26, in <module>
    from bleachbit import Cleaner, FileUtilities
  File "/usr/share/bleachbit/bleachbit/Cleaner.py", line 32, in <module>
    from bleachbit.Options import options
  File "/usr/share/bleachbit/bleachbit/Options.py", line 382, in <module>
    set_root_log_level()
  File "/usr/share/bleachbit/bleachbit/Log.py", line 84, in set_root_log_level
    is_debug = options.get('debug')
  File "/usr/share/bleachbit/bleachbit/Options.py", line 160, in get
    return self.config.getboolean(section, option)
  File "/usr/lib/python3.9/configparser.py", line 828, in getboolean
    return self._get_conv(section, option, self._convert_to_boolean,
  File "/usr/lib/python3.9/configparser.py", line 808, in _get_conv
    return self._get(section, conv, option, raw=raw, vars=vars,
  File "/usr/lib/python3.9/configparser.py", line 803, in _get
    return conv(self.get(section, option, **kwargs))
  File "/usr/lib/python3.9/configparser.py", line 1163, in _convert_to_boolean
    raise ValueError('Not a boolean: %s' % value)
ValueError: Not a boolean: ['False']

** Affects: bleachbit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bleachbit hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933289

Title:
  bleachbit fails to launch as root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bleachbit/+bug/1933289/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to