BleachBit shows Errors trying to update

Bug #1957053 reported by Morales Klimop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bleachbit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When enabling the update uption of BleachBit in 'Preferences'; (Check periodically for software updates via the internet)

BleachBit starts up with error,
See attachment

1> Ubuntu 20.04 LTS
/usr/bin/bleachbit

Installation method:
sudo apt install bleachbit

2> Version:
bleachbit:
  Installed: 3.9.0-1
  Candidate: 3.9.0-1
  Version table:
 *** 3.9.0-1 100
        100 /var/lib/dpkg/status

3> Look for updates

4> Displays errors (see attachment)

Revision history for this message
Morales Klimop (morales6969) wrote (last edit ):

Error when checking for updates:
Traceback (most recent call last):
  File "/usr/share/bleachbit/bleachbit/GUI.py", line 1160, in check_online_updates
    updates = Update.check_updates(options.get('check_beta'),
  File "/usr/share/bleachbit/bleachbit/Update.py", line 155, in check_updates
    opener.addheaders = [('User-Agent', user_agent())]
  File "/usr/share/bleachbit/bleachbit/Update.py", line 87, in user_agent
    dist = platform.dist()
AttributeError: module 'platform' has no attribute 'dist'

Revision history for this message
Andrew Ziem (ahziem1) wrote :

This was fixed two years ago for BleachBit 4.0.0 https://github.com/bleachbit/bleachbit/issues/819

The latest BleachBit 4.4.0 is here https://www.bleachbit.org/

Ubuntu has a "no rolling release" policy, so the version in the Ubuntu repository may be rather old.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bleachbit - 4.4.2-1

---------------
bleachbit (4.4.2-1) unstable; urgency=medium

  * Team upload

  [ Fabio Fantoni ]
  * New upstream release (Closes: #958344, #970229, #974530, #994094)
    (LP: #1957053, #1875809, #1933289)
  * Bump debhelper-compat to 13
  * d/control: add missed dependency gir1.2-notify-0.7
  * update d/copyright
  * d/control: specify that rules don't require root

  [ Jeremy Bicha ]
  * debian/control: Depend on pkexec

 -- Fabio Fantoni <email address hidden> Thu, 17 Mar 2022 08:55:46 -0400

Changed in bleachbit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.