Parsing error in section Spybot Search and Destroy Updates

Forums: 

Hi, every time I close BleachBit I'm notified that errors occurred, and the bleachbit.exe.log file gains a new entry, always the same :

parsing error in section Spybot Search and Destroy Updates *
Traceback (most recent call last):
File "bleachbit\Winapp.pyo", line 151, in __init__
File "bleachbit\Winapp.pyo", line 285, in handle_section
File "bleachbit\Winapp.pyo", line 357, in handle_filekey
File "bleachbit\Winapp.pyo", line 329, in __make_file_provider
File "xml\dom\minidom.pyo", line 1928, in parseString
File "xml\dom\expatbuilder.pyo", line 940, in parseString
File "xml\dom\expatbuilder.pyo", line 223, in parseString
ExpatError: not well-formed (invalid token): line 1, column 222

BleachBit version: 
2.0
Your operating system: 
Windows 7 64bits

BleachThemAll,

Great bug report! I identified the root cause. In the next hour or so I will push out a new Winapp2.ini file with a temporary workaround. It will automatically download, if you have this option enabled in the preferences.

To fix this properly, I filed bug GH#308

---
Andrew, lead developer

Thank you !
The problem is still here, I don't think I have received yet an updated Winapp2.ini . I even tried destroying the winapp2.ini file to force download of an updated one but still I get the same error.

I made another change. Please try one more time.

---
Andrew, lead developer

Ok the new winapp2.ini was downloaded, there is no longer a parsing error message in the message window at the time of download, and neither in bleachbit.exe.log after I close Bleachbit.

However during cleaning by Bleachbit, I get those error messages in the message window (the beginning in french language means "Error while running [...]") :

Erreur lors de l’exécution de « winapp2_multimedia » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « system » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « winapp2_utilities » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « winapp2_internet » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « internet_explorer » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « winapp2_mozilla » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »

Are you using the graphical interface (GUI) or command line interface (CLI)? I believe you are using the GUI, but I want to make sure.

Does the error happen with preview or just with delete?

The error relates to one of the checkboxes under the Multimedia section. Can you isolate the error by enabling one checkbox at a time?

---
Andrew, lead developer

I'm using the GUI only.
The error does not happen during preview, only during delete.
The particular error :

Erreur lors de l’exécution de « winapp2_multimedia » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »

seems to happen if and only if "Adobe Flash Player" is selected.
However the other errors appear even if the whole multimedia section is unselected.

I'm using the GUI only.
The error does not happen during preview, only during delete.
The particular error :

Erreur lors de l’exécution de « winapp2_multimedia » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »

seems to happen if and only if "Adobe Flash Player" is selected.
However the other errors appear even if the whole multimedia section is unselected.

ROCKNROLLKID's picture

This was fixed here: https://github.com/bleachbit/bleachbit/commit/be9bb6ce1fc145e876c058bc17...

____________________
Also known as Alex.

Moderator for BleachBit and a maintainer for Winapp2.

Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity

Windows 10 x64 (switching to ReactOS in the future).

Sorry Alex, the « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte » errors still appear for me, if this is what you are talking about.
Andrew, do you need me to isolate boxes causing errors in sections other than multimedia too ?

Yes, it would help to be able to reproduce the error. I put files with Unicode filenames in the Adobe path, but the error does not happen here.

I built a new version BleachBit 2.0.689 that may give more detailed error information. Please try this.

Another option is you could list the files in your Adobe Flash directory and send me the list. Options for sending the list include: pastebin, attachment to Github issue, or email.

Here is a command to generate the list to your desktop. You can run this from the Windows console (CMD.EXE). Let me know if you need help with this step.

dir /s /b "%AppData%\Adobe\Flash Player" > %USERPROFILE%\Desktop\adobe_flash_dir_list

---
Andrew, lead developer

The file list in my Flash directory is very short, I'll just write here the result of your console command :

C:\Users\Utilisateur\AppData\Roaming\Adobe\Flash Player\Icon Cache
C:\Users\Utilisateur\AppData\Roaming\Adobe\Flash Player\NativeCache

I installed your new build and now I have the following errors while deleting :

Erreur lors de l’exécution de « system » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « winapp2_utilities » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « internet_explorer » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »
Erreur lors de l’exécution de « winapp2_mozilla » : « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte »

I don't see an error with the multimedia section any more, although it's selected.
I will try to isolate what boxes cause errors when I have more time.

I noticed something, I don't know if it's new from this last build or if this was already true before, but the « 'utf8' codec can't decode byte 0xe8 in position 13: invalid continuation byte » errors appear only when I launch Bleachbit with the "no UAC" option in the Windows start menu, they don't appear when I launch Bleachbit normally.

Note that there are boxes I have never selected because I'm not sure I want the corresponding items deleted, so maybe the boxes I have never tested would cause errors too.

Boxes causing errors :

Erreur lors de l’exécution de « system » : in the System section,
Fichiers temporaires (Temporary files)
Journaux (Logs ? Journals ? in english)

Erreur lors de l’exécution de « winapp2_utilities » : in the winapp2 Utilities section,
Dell Logs
Intel iCLS Client
Intel Installation Logs

Erreur lors de l’exécution de « winapp2_internet » : in the winapp2 internet section,
Java

Erreur lors de l’exécution de « internet_explorer » : in the internet explorer section,
Fichiers temporaires (Temporary Files)

Erreur lors de l’exécution de « winapp2_mozilla » : in the winapp2 mozilla section,
Firefox Logs
Stored HSTS Cookies Extras

BleachThemAll: I tried to reproduce this issue, but I could not reproduce it yet. I would still like to work with you to figure it out. Would you please file the new bug in GitHub? This helps me manage it by targeting it to an issue, so I do not lose it. Then I will work on it more and get back with you.

---
Andrew, lead developer