Bleachbit crash with elevated privileges.

Everything about X, Gnome, KDE, ... and everything running on it

Bleachbit crash with elevated privileges.

Postby VentGrey » 2017-04-01 00:49

I wanted to do some system cleanup in my current Debian 9 (Testing) installation so I decided to install bleachbit, but when I try to use it with any method of elevated privileges (su, sudo, gksu, gksudo, su-to-root) but the result is the same, it crashes everytime and shows no console output, I tried to consult some bugs but none of them offer a good solution :(
Technical details:
Code: Select all
Kernel - 4.9.0-2-amd64
Bleachbit-1.12
BleachBit version 1.12
GTK version 2.24.31
local_cleaners_dir = /home/vent/.config/bleachbit/cleaners
locale_dir = /usr/share/locale/
options_dir = /home/vent/.config/bleachbit
personal_cleaners_dir = /home/omar/.config/bleachbit/cleaners
system_cleaners_dir = /usr/share/bleachbit/cleaners
locale.getdefaultlocale = ('es_MX', 'UTF-8')
os.getenv('DESKTOP_SESSION') = lightdm-xsession
os.getenv('LOGNAME') = vent
os.getenv('USER') = vent
os.getenv('SUDO_UID') = None
os.path.expanduser('~') = /home/vent
platform.linux_distribution() = ('debian', '9.0', '')
platform.platform = Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
platform.version = #1 SMP Debian 4.9.13-1 (2017-02-27)
sys.argv = ['/usr/bin/bleachbit']
sys.executable = /usr/bin/python
sys.version = 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118]
__file__ = /usr/share/bleachbit/bleachbit/Diagnostic.pyc
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 131
Joined: 2016-04-26 23:57
Location: /dev/friends

Re: Bleachbit crash with elevated privileges.

Postby debiman » 2017-04-01 07:09

maybe you need to install another app that will sort out the mess bleachbit created?
:mrgreen: ok, only joking.

methinks maybe bleachbit runs with normal user privs and asks for superuser privs when needed?
User avatar
debiman
 
Posts: 1086
Joined: 2013-03-12 07:18

Re: Bleachbit crash with elevated privileges.

Postby VentGrey » 2017-04-01 19:57

That's the problem, I can run it without superuser privileges but it never asks for those privileges when cleaning, it just complains about "Permission denied". :mrgreen:
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 131
Joined: 2016-04-26 23:57
Location: /dev/friends

Re: Bleachbit crash with elevated privileges.

Postby GarryRicketson » 2017-04-01 20:20

I stopped using BleachBit, but on the older versions of BleachBit, and Debian, ..(6 , 7) ,
If you used the menu/gui, it had 2 choices, "start as user", "start as root", the
same, if you started it from the command line, if you want to "clean", directories
that require root privileges, you need to start it as root or use sudo.
It should start as root, or using sudo.
If that is not working properly, then something is wrong.
Maybe in the package when it was installed, ?
Being that it is Debian testing , it could be many things,...
Check the Debian testing bug reports, maybe ?

I am sure since you are using Debian testing you know how to do that, so
I won't go into that.

====edited=====
A search does not yield anything specific to Debian (testing) but:
How to use BleachBit as root on Debian 9

Here, they recommend "gksudo",
http://askubuntu.com/questions/228512/how-to-run-bleachbit-as-root
User avatar
GarryRicketson
 
Posts: 4133
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Bleachbit crash with elevated privileges.

Postby VentGrey » 2017-04-02 00:43

tried using gksu and gksudo but it crashed after a while, now leaving a tiny output which is:
Code: Select all
debug: DeepScan.scan: searches= {'/root': [u'^\\.DS_Store$', u'\\.[Bb][Aa][Kk]$', u'[a-zA-Z]{1,4}~$', u'^~wr[a-z][0-9]{4}\\.tmp$', u'^ppt[0-9]{4}\\.tmp$', u'^Thumbs\\.db$', u'^Thumbs\\.db:encryptable$']}

Google search results only show bug output but no solution,
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 131
Joined: 2016-04-26 23:57
Location: /dev/friends


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable