gerardpuig / ubuntu-cleaner

Ubuntu Cleaner is a tool that makes it easy to clean your ubuntu system.
GNU General Public License v3.0
225 stars 21 forks source link

Ubuntu Cleaner crashed when selecting Personal item on Ubuntu 20 #55

Open JuraLys opened 10 months ago

JuraLys commented 10 months ago

see attached screenshot Ubuntu-cleaner-crash(

gerardpuig commented 10 months ago

thanks for reporting, could you open the app from the command line and give me more details on the crash? maybe it's because you have too many files, thanks!

JuraLys commented 10 months ago

thanks for reporting, could you open the app from the command line and give me more details on the crash? maybe it's because you have too many files, thanks!

please write which command should I enter? ubuntucleaner: command not found

JuraLys commented 10 months ago

thanks for reporting, could you open the app from the command line and give me more details on the crash? maybe it's because you have too many files, thanks!

ptsg@ptsgVM20:~$ sudo ubuntu-cleaner /usr/lib/python3/dist-packages/ubuntucleaner/settings/debug.py:7: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Gdk, Gtk, Notify /usr/bin/ubuntu-cleaner:70: DeprecationWarning: Gdk.threads_init is deprecated Gdk.threads_init() /usr/bin/ubuntu-cleaner:71: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading GObject.threads_init() Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ubuntucleaner/janitor/init.py", line 447, in on_janitor_check_button_toggled self._auto_scan_cruft(iter, checked) File "/usr/lib/python3/dist-packages/ubuntucleaner/janitor/init.py", line 538, in _auto_scan_cruft self.do_scan_task() File "/usr/lib/python3/dist-packages/ubuntucleaner/janitor/init.py", line 544, in do_scan_task plugin.set_property('scan_finished', False) AttributeError: 'NoneType' object has no attribute 'set_property'

gerardpuig commented 10 months ago

thanks! that helps for the investigation. I'll try to reproduce it locally and fix it in the new version when I have some time for it