Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium clean errors: "no such table" #1531

Closed
Utenet opened this issue Aug 29, 2023 · 4 comments · Fixed by #1535
Closed

Chromium clean errors: "no such table" #1531

Utenet opened this issue Aug 29, 2023 · 4 comments · Fixed by #1535
Assignees
Labels
priority:high Fix sooner than later
Milestone

Comments

@Utenet
Copy link

Utenet commented Aug 29, 2023

Hello,
I am getting the errors below when using bleachbit's built-in chromium cleaners. I have only noticed it recently, so it could be a recent chromium update. Any solutions?
Thanks!

clean_operation('chromium'),` options = '['cache', 'cookies', 'dom', 'form_history', 'history', 'search_engines', 'session', 'site_preferences', 'sync', 'vacuum']'
Clean file 0B /home/username/.config/chromium/Default/Preferences
Clean file 0B /home/username/.config/chromium/Default/Preferences
Clean file 0B /home/username/.config/chromium/Default/Preferences
Clean file 0B /home/username/.config/chromium/Local State
Clean file 0B /home/username/.config/chromium/Local State
Clean file 0B /home/username/.config/chromium/Default/databases/Databases.db
Error: chromium.form_history: Function: Clean file: /home/username/.config/chromium/Default/Web Data
Traceback (most recent call last):
  File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 474, in execute_sqlite3
    cursor.execute(cmd)
sqlite3.OperationalError: no such table: autofill_profile_names

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/bleachbit/bleachbit/Command.py", line 160, in execute
    self.func(self.path)
  File "/usr/share/bleachbit/bleachbit/Special.py", line 106, in delete_chrome_autofill
    FileUtilities.execute_sqlite3(path, cmds)
  File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 481, in execute_sqlite3
    raise sqlite3.OperationalError(
sqlite3.OperationalError: no such table: autofill_profile_names: /home/username/.config/chromium/Default/Web Data

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/bleachbit/bleachbit/Worker.py", line 87, in execute
    for ret in cmd.execute(self.really_delete):
  File "/usr/share/bleachbit/bleachbit/Command.py", line 162, in execute
    if -1 == e.message.find('file is encrypted or is not a database') and \
AttributeError: 'OperationalError' object has no attribute 'message'
Clean file 0B /home/username/.config/chromium/Default/History
Clean file 0B /home/username/.config/chromium/Default/Favicons
Clean file 0B /home/username/.config/chromium/Default/Web Data
Clean file 4.1kB /home/username/.config/chromium/Default/Preferences
Clean file 0B /home/username/.config/chromium/Local State
Clean file 0B /home/username/.config/chromium/Default/Preferences
Clean file 0B /home/username/.config/chromium/Default/Preferences
Clean file 0B /home/username/.config/chromium/Default/Preferences
Vacuum 0B /home/username/.config/chromium/Default/History
Vacuum 0B /home/username/.config/chromium/Default/Login Data
Vacuum 0B /home/username/.config/chromium/Default/Web Data
Vacuum 0B `/home/username/.config/chromium/Default/databases/Databases.db
@az0 az0 added the priority:high Fix sooner than later label Aug 29, 2023
@az0 az0 added this to the 4.6 milestone Aug 29, 2023
@az0 az0 changed the title Chromium clean errors Chromium clean errors: "no such table" Aug 29, 2023
@az0
Copy link
Member

az0 commented Aug 29, 2023

I added a notice and explanation to the BleachBit v4.4.2 release notes, and this is a priority fix for the next release. If more detail is needed for the notice, let me know.

@az0 az0 linked a pull request Sep 4, 2023 that will close this issue
@az0 az0 closed this as completed in #1535 Sep 6, 2023
@az0
Copy link
Member

az0 commented Sep 10, 2023

@Utenet
BleachBit version 4.5.0 beta has this fix. Please test and let me know how it goes.

@Utenet
Copy link
Author

Utenet commented Sep 10, 2023 via email

@az0
Copy link
Member

az0 commented Sep 11, 2023

@Utenet

Because "no such table" was fixed, would you please open a new ticket for this issue?

Traceback (most recent call last):
File "/usr/bin/bleachbit", line 28, in <module>
from bleachbit import _
ModuleNotFoundError: No module named 'bleachbit'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high Fix sooner than later
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants