What is the fix for this?

Forums: 

Have been receiving these two errors CONSTANTLY for the last month. Just did a complete uninstall, then new install and right off the bat, same two errors appear. I don't understand the errors, much less how to get rid of 'em. Can someone please give me a solution?

So what are the errors? Please include them verbatim.

---
Andrew, lead developer

Sorry....here they are:

Traceback (most recent call last):
File "bleachbit\Worker.pyo", line 88, in execute
File "bleachbit\Command.pyo", line 143, in execute
File "bleachbit\Special.pyo", line 126, in delete_chrome_history
File "bleachbit\Special.pyo", line 236, in get_chrome_bookmark_ids
File "bleachbit\Special.pyo", line 254, in get_chrome_bookmark_urls
KeyError: 'url'
Traceback (most recent call last):
File "bleachbit\Worker.pyo", line 88, in execute
File "bleachbit\Command.pyo", line 143, in execute
File "bleachbit\Special.pyo", line 117, in delete_chrome_favicons
RuntimeError: C:\Users\Pat\AppData\Local\Google\Chrome\User Data\Default\Favicons is version 22

It looks like you may be using a new version of Google Chrome, and this is a safe guard against making changes on an untested version. Which version are you using? The current version is Google Chrome 19.

---
Andrew, lead developer

Huh. That may be the problem. Using version 20.0.1132.34 BETA. Is there a way to overcome the problem using beta versions. Or is my only choice to go w/"final" version?

EDIT: Nope, that isn't the problem. Uninstalled the beta version, installed the latest "final" version. Errors still apply. What else?

When you ran Google Chrome 20 for the first time, it upgraded the data files in your user profile directory. There is no way to downgrade the data files except to delete them.

More specifically, you could create a backup of whole Google Chrome profile folder* and rename it. Then Google Chrome 19 will see it is empty, so it will recreate it in the older format.

* C:\Users\Pat\AppData\Local\Google\Chrome\

Instead of doing this to the whole folder (if you have stuff you really want to keep), then I could provide a list of the individual files.

I will add support for Google Chrome 20 when I can.

---
Andrew, lead developer

Thanks for the support Andrew. However, this isn't worth of trouble of trying to get rid of 2 small errors. Will just wait until the fix becomes permanent through updates.

Please test BleachBit 0.9.3 beta with this fix for Google Chrome 20. Please reply here with a whether it fixed all, some, or none of your problem.

---
Andrew, lead developer

Uninstalled old, installed beta from your link, ran program, it took care of 1 of the 2 errors. But did not show what the error was or generate a "bleachbit.exe.log" as the old one, so can't tell you which of the 2 errors were eradicated. Anything else I can do? REALLY like the new icon!!

Uninstalled old, installed new BETA. It now only shows 1 error, but as it didn't generate a log can't tell you which one it is. Nice new icon, too! Anything else I can do?

EDIT: Ran again and this time, it produced a log for the error. It is:

Traceback (most recent call last):
File "bleachbit\Worker.pyo", line 88, in execute
File "bleachbit\Command.pyo", line 143, in execute
File "bleachbit\Special.pyo", line 127, in delete_chrome_history
File "bleachbit\Special.pyo", line 237, in get_chrome_bookmark_ids
File "bleachbit\Special.pyo", line 255, in get_chrome_bookmark_urls
KeyError: 'url'

I tried to reproduce "KeyError: 'url'" but I don't see how this would happen normally. It looks like you have a bookmark without a URL. It would help if you could please send me your bookmark files to my email address by clicking on my name at the very bottom of any web page on this site.

This is the bookmarks file
C:\Users\Pat\AppData\Local\Google\Chrome\User Data\Default\Bookmarks

---
Andrew, lead developer

Thanks Andrew! Bookmark file is on the way!

Please try the fix in either of these downloads:

BleachBit 0.9.3 beta 2 portable

BleachBit 0.9.3 beta 2 installer

---
Andrew, lead developer

And that fix has it running clean and smoooooth! ;-) Thanks so very much for the help, Andrew! Saw your post on DLSR software forum, too! Username there: Snoopy2....