bleachbit.py crashed with RuntimeError in __init__(): No work to do

Bug #1196526 reported by Daniel Winzen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Fix Released
Low
Andrew Ziem
bleachbit (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I just downloaded this program and tried some parameters including »-p« and then bleachbit crashes. I would expect a message printed to the console, that there is nothing to preview instead of crashing.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: bleachbit 0.9.5-2
ProcVersionSignature: Ubuntu 3.10.0-1.8-generic 3.10.0-rc7
Uname: Linux 3.10.0-1-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
Date: Mon Jul 1 14:57:05 2013
ExecutablePath: /usr/share/bleachbit/bleachbit.py
InstallationDate: Installed on 2013-02-27 (124 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130226)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: python /usr/bin/bleachbit -p
PythonArgs: ['/usr/bin/bleachbit', '-p']
SourcePackage: bleachbit
Title: bleachbit.py crashed with RuntimeError in __init__(): No work to do
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom debian-tor dip lpadmin plugdev sambashare sudo

Revision history for this message
Daniel Winzen (q-d-deactivatedaccount) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in bleachbit (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Andrew Ziem (ahziem1) wrote :

What if you add a cleaner after -p like this?

bleachbit -p firefox.cache

Revision history for this message
Daniel Winzen (q-d-deactivatedaccount) wrote :

When I add a cleaner after the -p option it is working as expected, but without I get this crash and I think that it should be possible to print out a message, that no cleaner was specified, instead of crashing.

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

Fixed in SVN r2927

Changed in bleachbit:
assignee: nobody → Andrew Ziem (ahziem1)
importance: Undecided → Low
milestone: none → 0.9.7
status: New → Fix Committed
Revision history for this message
Andrew Ziem (ahziem1) wrote :
Changed in bleachbit:
milestone: 0.9.7 → 1.0.0
status: Fix Committed → Fix Released
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.