Comment 0 for bug 451219

Revision history for this message
Daniel Riedemann (darie) wrote :

Hello Andrew,
I'm testing your 0.7.0 beta right now and found some bugs. I'm going to report them all, each in a separate ticket.
#####

BleachBit doesn't start the first time you try to load it. I'm on Arch Linux, KDE 4.3.2, Kernel 2.6.31.4
Always reproducible:

Delete BleachBit configs:
# rm -rf ~/.config/bleachbit

First try:
# LANG=C bleachbit
info: starting BleachBit version 0.7.0beta
warning: cannot find GPLv3 license text file
debug: appicon_path = '/usr/share/pixmaps/bleachbit.png'
warning: No default locale found. Assuming 'C'
/usr/share/bleachbit/Unix.py:46: ImportWarning: Not importing directory '/usr/share/gnome': missing __init__.py
  import gnome.vfs
debug: running cmd ['df', '-B', '1', '/home/daniel']
debug: running cmd ['df', '-B', '1', '/tmp/']
debug: makedirs(/home/daniel/.config/bleachbit)
Traceback (most recent call last):
  File "/usr/bin/bleachbit", line 42, in <module>
    import bleachbit.GUI
  File "/usr/share/bleachbit/GUI.py", line 40, in <module>
    from bleachbit.Cleaner import backends
  File "/usr/share/bleachbit/Cleaner.py", line 42, in <module>
    import Command
  File "/usr/share/bleachbit/Command.py", line 30, in <module>
    import FileUtilities
  File "/usr/share/bleachbit/FileUtilities.py", line 42, in <module>
    from Options import options
  File "/usr/share/bleachbit/Options.py", line 207, in <module>
    options = Options()
  File "/usr/share/bleachbit/Options.py", line 44, in __init__
    self.restore()
  File "/usr/share/bleachbit/Options.py", line 125, in restore
    self.set_list('shred_drives', Unix.guess_overwrite_paths())
  File "/usr/share/bleachbit/Options.py", line 170, in set_list
    self.__flush()
  File "/usr/share/bleachbit/Options.py", line 50, in __flush
    General.makedirs(Common.options_dir)
  File "/usr/share/bleachbit/General.py", line 88, in makedirs
    chownself(path)
  File "/usr/share/bleachbit/General.py", line 73, in chownself
    uid = pwd.getpwnam(os.getlogin())[3]
OSError: [Errno 2] No such file or directory

Second try:
# LANG=C bleachbit
info: starting BleachBit version 0.7.0beta
warning: cannot find GPLv3 license text file
debug: appicon_path = '/usr/share/pixmaps/bleachbit.png'
warning: No default locale found. Assuming 'C'
/usr/share/bleachbit/Unix.py:46: ImportWarning: Not importing directory '/usr/share/gnome': missing __init__.py
  import gnome.vfs
debug: running cmd ['df', '-B', '1', '/home/daniel']
debug: running cmd ['df', '-B', '1', '/tmp/']
info: automatically preserving language 'C'
info: automatically preserving language 'C'
debug: '/usr/share/bleachbit/cleaners/windows_media_player.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/safari.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/internet_explorer.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/yahoo_messenger.xml' is not usable
Invalid command ''
<option id="recent_documents">
    <label>Recent documents list</label>
    <description>Delete the list of recently used documents</description>
    <action type="glob">~/.kde4/share/apps/gwenview/recentfolders/*rc</action>
    <action type="glob">~/.kde4/share/apps/gwenview/recenturls/*rc</action>
  </option>
debug: '/usr/share/bleachbit/cleaners/gwenview.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/teamviewer.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/winamp.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/winrar.xml' is not usable
debug: '/usr/share/bleachbit/cleaners/microsoft_office.xml' is not usable
/usr/share/bleachbit/GUI.py:543: DeprecationWarning: Use the new widget gtk.Tooltip
  tooltips = gtk.Tooltips()
/usr/share/bleachbit/GUI.py:544: DeprecationWarning: Use the new widget gtk.Tooltip
  tooltips.enable()
warning: exception '[Errno 2] No such file or directory' running 'rpm --eval %_topdir'
info: automatically hiding cleaner 'rpmbuild'
/usr/share/bleachbit/GuiPreferences.py:56: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
/usr/share/bleachbit/GuiPreferences.py:57: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.enable()
/usr/share/bleachbit/GuiPreferences.py:108: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(cb_updates, _("If an update is found, you will be given the option to view information about it. Then, you may manually download and install the update."))
/usr/share/bleachbit/GuiPreferences.py:126: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(cb_shred, _("Overwriting is ineffective on some file systems and with certain BleachBit operations. Overwriting is significantly slower."))

Regards