Help on CleanerML syntax; question on Thunderbird.xml

Forums: 

I'm not much of a coder.
1st, "Thunderbird" is not shown in Bleachbit 1.6 list of apps - in left pane (to select Tb items to find / clean). Firefox is. Consequently, BB finds no Thunderbird entries to clean - not even from the Tb created default profile.

I don't find much on Bleachbit documentation site - creating cleanerML files - about how to specify Firefox or Tbird profiles in <strong>custom</strong> locations.
That could be say, on another partition - E:\, or a custom created / named profile, in the default profile path.

Are there more CleanerML detailed examples on how to specify custom profile locations?

Also, is this syntax correct - copied from the existing thunderbird.xml (BB 1.6 portable)? Could it be why Tb doesn't show up in BB's UI at all?:

<code><option id=cookies>
"<label>Cookies</label>"
<description>Delete cookies, which contain information such as web site preferences, authentication, and tracking identification</description>
<action command="delete" search="glob" path="$APPDATA\Thunderbird\Profiles\????????.default\cookies.sqlite"/>
<action command="delete" search="glob" path="~/.thunderbird/default/????????.slt/cookies.sqlite"/><code>

Note the profile name. AFAIK, in recent Thunderbird versions, the app-created default profile is named:
"xxxxxxxx.Default User," not: "xxxxxxxx.default" (as used in BB's Thunderbird.xml).

Would specifying "xxxxxxxx.default" make a difference (when that's not the actual default profile name)?

Also, what's the ".slt" reference in the line, "/????????.slt" ?
Never seen .slt in any profile.

Thanks.

ROCKNROLLKID's picture

That is weird. You said you use a vista x64, right? there are ML entries for TB, so if they aren't showing trying reinstalling both BB and TB and see if that fixes the issue. As for additional information about CleanerML, you can try searching around FAQs, the documents and help files for additional information about CleanerML.

____________________
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).

Yes, Vista x64 w/ SP2.
I use BB portable. I re-checked - older BB versions also don't display Tbird & its individual items to check, in the L pane. Historically, I didn't clean Tbird much, using any app - so unsure how long this problem's existed in BB (for me).

"What's in a name?"
Re: Thunderbird.xml profile name, or "Ground Control to Major Bug:"
A quick change to the thunderbird.xml file, in BB portable 1.6 shows perhaps I was correct? - about the Tb profile name.

I edited thunderbird.xml - changing the profile name from "????????.default" to "????????.Default User," in one line:
<option id="cookies">
<label>Cookies</label>
<description>Delete cookies, which contain information such as web site preferences, authentication, and tracking identification</description>
<action command="delete" search="glob" path="$APPDATA\Thunderbird\Profiles\????????.Default User\cookies.sqlite"/>

Next start of BB portable 1.6, it showed Thunderbird & 5 items w/ check boxes in the Left pane. A BB analysis then found cookies.sqlite:
"Delete 524.3kB C:\Users\<name>\AppData\Roaming\Thunderbird\Profiles\0tr0eq3p.Default User\cookies.sqlite "

Then changed the profile name to "????????.Default User" under the Cache section (for Windows) & the BB preview found most (if not all) cache entries for that default profile.

There could be other errors in the xml file (besides profile name).

Follow up - thunderbird.xml default profile name:
Changing all instances in thunderbird.xml (Bleachbit 1.6 portable, Windows) of the currently used "default" profile name, from "????????.default" - to what appears to be the correct name (in recent Thunderbird versions for * Windows *): "????????.Default User," allows Bleachbit Preview to find dozens of Tbird entries.

Before making the default profile name change in thunderbird.xml, Bleachbit Preview found no thunderbird entries, on the same Vista x64 machine with the same existing Thunderbird profiles.

I tried accessing the bug report launchpad to file a bug.
I still will file a bug if someone can confirm the correct address & if I need a new launchpad account.
On the Bleachbit Bug page , clicking Login, redirects to
https://login.launchpad.net/w0aN2OEZj4NeG7I5/+decide - with description:
"Ubuntu One is the single account you use to log in to all services and sites related to Ubuntu."

ROCKNROLLKID's picture

I confirmed your issue with launchpad in your other topic. For future reference, let's try to keep issues in one topic and not ask or comment them in multiple as it gets confusing and scattered.

As for your original issue, I don't think CleanerML entries for TB have been updated in awhile, so there are probably only a few. Andrew recently re-added the option "hide irrelevant cleaners" in BleachBit after it was taken out in 1.0 because some entries were not showing in BB on certain system. Have you tried playing around with this setting at all and get any different results? If not, then you should file a bug report on launchpad about this issue. Vista was a cluster since the day it came out and I am sure today not many people use it anymore. Not sure when the last time BleachBit was tested on Vista.

____________________
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).