You are here

BleachBit Portable 0.8.7 Development Test 2

36 posts / 0 new
Last post
computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
BleachBit Portable 0.8.7 Development Test 2

Application: BleachBit
Category: Utilities
Description: BleachBit quickly frees disk space, removes hidden junk, and easily guards your privacy. Erase cache, delete cookies, clear Internet history, remove unused localizations, shred logs, and delete temporary files. Designed for Linux and Windows systems, it wipes clean 70 applications including Firefox, Internet Explorer, Flash, Google Chrome, Opera, Safari, Adobe Reader, APT, and more.

Download BleachBit Portable 0.8.7 Development Test 2 [6.16 MB download / 7.8MB installed]

(MD5: 9cc82bda9181ac5dab176b1a08ca2a10)

Release Notes:

Version 0.8.7, Development Test 2 (2011-02-09):
Improvement: BleachBit language is now saved and restored when possible (thanks to Chris Morgan for the code to make this possible)

Version 0.8.7, Development Test 1 (2011-02-03):
Updated to the latest version of BleachBit
Updated to the latest version of the PortableApps.com Launcher
Updated to the latest version of the PortableApps.com Installer

Version 0.8, Development Test 2 (2010-07-22):
Improvement: Localization files will no longer be backed up & restored, which means BleachBit Portable will launch and exit slightly faster
Improvement: Deleted installer.ini to ensure all languages supported by PortableApps.com are available, even if BleachBit doesn't currently support them

Version 0.8, Development Test 1 (2010-06-05):
Initial Release

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2008-04-03 22:45
Works

Works on Windows 7 Professional x86.

I wonder if the author could be convinced to develop a version that cleans PortableApp versions of applications.

PortableApps.com Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Thanks for testing! Since

Thanks for testing!

Since BleachBit is FOSS (that's actually the biggest reason I decided to package it), the author wouldn't necessarily have to be the one developing a cleaner for portable apps. I know most (if not all) of the developers here have their hands overly full, but maybe there's somebody who would take an interest in this.
(Heck, I'd be happy to try doing it myself if I had the time)

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 5 months ago
Developer
Joined: 2010-02-13 17:10
Hmm

I may be wrong but after looking at the source code as well as your package it looks to me like things are controlled in xml files in the share directory/cleaners. I think that if trhe xml files are modified then it should work for the portable versions of things?

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
*facepalm* You're completely

*facepalm* You're completely right. Nice work!
I'm not sure exactly what some of the parameters mean (particularly the search parameter), but we could probably figure them out with some time & effort. I think I've got them all worked out. For future reference, or anybody who happens to be interested, here's what I think:
command can have a value of delete or winreg. delete means a file/folder deletion, while winreg means a Registry key deletion.
search can have a value of walk.all, walk.files, file, or glob. walk.all means recursively delete all files and folders in the specified folder, walk.files means delete all files but not any folders in the specified folder, file means delete a single file, and glob means delete all files matching the (RegEx?) pattern in path.
path is the path to the folder or Registry folder to delete items from. For files/folders, it can also contain what appears to be RegEx patterns; these patterns are used in conjunction with the search parameter to determine which files/folders are deleted.

I don't have time to do anything with this right now, but later in the summer I'll look into making a cleaners package for the official PortableApps programs.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 5 months ago
Developer
Joined: 2010-02-13 17:10
facepalm?

New one on me can you define lol

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
That's where I whack my hand

That's where I whack my hand against my forehead in a violent manner, exclaiming "d'oh!" at the same time. Blum
http://www.urbandictionary.com/define.php?term=facepalm

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Darkbee
Darkbee's picture
Offline
Last seen: 3 years 10 months ago
Joined: 2008-04-14 09:41
See Examples
horusofoz
horusofoz's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2008-04-03 22:45
This has been working great

This has been working great for some weeks now.

Automatic essential app status Smile

PortableApps.com Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Thanks for the feedback! I'm

Thanks for the feedback! I'm glad everything's working well for you!

Do you think we can reach for Pre-Release status?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2008-04-03 22:45
I'm all for it. What can be

I'm all for it. What can be done to speed it a long?

PortableApps.com Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Well, there are still a

Well, there are still a couple of things that need to be dealt with on my end. DT1 has a couple of minor things I'm cleaning up in DT2 (I'll drop that in a few moments), and I want to create a plugin installer with cleaners for as many official PA releases as possible. I've also got to chase down the BleachBit author and get him to create an interface for language switching - currently, BleachBit has no way to switch the language. BleachBit looks at the %LANG% environment variable (which usually isn't set) or uses the Windows language, which could easily become a nightmare for PortableApps users who have to shift from machine to machine.

After I get those things dealt with, we'll need to wait a week or two to make sure everything is working properly, then we can ask John for PR status.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Languages: Launcher

It's quite common for apps to have no UI exposed for setting the language (in fact, it's normal in Linux-originating or GTK-based apps for starters). With the PortableApps.com Launcher it's easy to work with that with its language switching.

Normally things which use LANG will be glibc-based.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I think you misunderstood

I think you misunderstood what I was trying to say. There's not just a missing GUI for lang switching: there's no interface for lang switching, not even an entry in the BleachBit settings file. The only way to set the BleachBit language is by setting %LANG%, which means that users will have to use the Platform language (if they're using the Platform), or the Windows language (if they're not using the Platform). Neither option is very good, so I'm going to try to get the BleachBit author to at least add support for a language entry in the settings file.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
This?

Using just LANG and not saving the value anywhere is normal in GTK et al. apps. For people that use the Platform, this will not affect them, but for others it will give them English every time. At the moment that value could be saved in Data\settings\AppNamePortableSettings.ini with a [FileWriteN] section and retrieved with [LanguageFile]; that way it can be preserved without the Platform after using the Platform once. In 2.1 I'm planning on having a single value ([Language]:SaveInternally or some such value), which will be equivalent to the following for you:

[FileWrite1]
Type=INI
File=%PAL:DataDir%\settings\BleachBitPortableSettings.ini
Section=PortableApps.comLauncher
Key=Language
Value=%PAL:LanguageCustom

[LanguageFile]
Type=INI
File=%PAL:DataDir%\settings\BleachBitPortableSettings.ini
Section=PortableApps.comLauncher
Key=Language

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
OK, I'll do that for

OK, I'll do that for Development Test 2. Thanks!

Non-Platform users will be able to manually create that value to specify the language, right?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Yes

The first time, the value it chooses will be put there too - so if en_US is your default, en_US should be what gets stored in that key the first time it runs. Then the user will be able to modify that in that file if they want to.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Sounds good. I'll put that in

Sounds good. I'll put that in DT3, then, and leave the BleachBit dev alone (for now).

Thanks!

EDIT: finally done. How does 0.8.7 DT2 look?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
You can set the LANG env

You can set the LANG env variable. Geany Portable does it.

Of course, I don't know if the launcher offers said functionality

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Yep, PAL offers that

Yep, PAL offers that functionality, but I don't think that would be very useful. See my reply to Chris Morgan above.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Updated, 2010-07-22

Updated, 2010-07-22; see above for details.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Updated, 2011-02-03

Updated to version 0.8.7 on 2011-02-03; see above for details.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Bracket
Offline
Last seen: 10 years 10 months ago
Joined: 2010-11-28 23:26
Error

Errors occurred:

See the logfile
'G\XMAIN\PortableApps\BleachBit\BleachBit.exe.log' for details

BleachBit.exe.log:

Traceback (most recent call last):
File "bleachbit.py", line 42, in
File "bleachbit\GUI.pyo", line 37, in
File "bleachbit\Common.pyo", line 135, in
pywintypes.com_error: (-2147467259, 'Unspecified error', None, None)

I find the error message odd. It gives the wrong file location.
Actual location: 'G:\XMAIN\PortableApps\BleachBitPortable\Data\BleachBit.exe.log'

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Moving file

The error log file is created in App\BleachBit, but the launcher moves it to Data after BleachBit exits. That's why you're seeing an inconsistent file location.

I'm not sure why the errors are occurring, and the error message isn't helping ('unspecified error' is way too vague for me to get an idea of what's going wrong). Do you still get errors when you run a locally-installed version of BleachBit or the "official" portable version from http://bleachbit.sourceforge.net/download/windows ?

Thanks for testing!

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Bracket
Offline
Last seen: 10 years 10 months ago
Joined: 2010-11-28 23:26
Sorry

Very sorry about that. I was in a rush and was going to add more details later, but I forgot.

I have not tried using a local install. I will try that and report back.

I tried to start BleachBit from PAP.
I saw the PA development build splash then BleachBit spit out that error.

Vista/32bit

Offical portable version still gives the error.
I tried installing 0.8.7 locally, but it gives the error too.
I installed 0.7.4 locally and it works. I installed 0.8.7 afterwards and it works now >.>

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Nice work

Nice work isolating it to 0.8.7! I'll contact the BleachBit dev and see if he can fix it.
EDIT: Just finished sending the e-mail and saw your edit. >.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Bracket
Offline
Last seen: 10 years 10 months ago
Joined: 2010-11-28 23:26
Not sure

Not sure. I checked the common places for left behind information. ProgramFiles, ProgramData, Appdata, HKEYCU and HKEYLM. I didn't see anything left behind.
I ran ccleaner too.

I used RevoUninstaller to uninstall it. Revo didn't detect anything afterwards except for a config file in appdata which didn't cause this.

Sorry about all the edits =/

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Huh.

That's weird. I was expecting to see at least one or two files left behind that could explain the problem.

Did you check your environment variables to see if 0.7.4 set or changed something? Also, did you try restarting your system to see if the fix was something 0.7.4 left in RAM?

No problem about the edits; IMHO, it's better than double-posting, and I appreciate all the help tracking this problem down.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I just got a message back

I just got a message back from the BleachBit dev, and he doesn't know what the problem is. He told me that section of code hasn't been changed for awhile, and all it's doing is looking for the startup folder.

Have you been able to reproduce the error again? If not, it may be best to just write this off as one of those weird bugs nobody can reproduce or figure out.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Bracket
Offline
Last seen: 10 years 10 months ago
Joined: 2010-11-28 23:26
I haven't been able to

I haven't been able to reproduce it.
I looked in environment variables and didn't see anything that looked related to bleachbit. Restarted computer with no luck.

Unless someone else reports having this problem, I think its safe to say it was something on my side that was the problem.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I just got this message back

I just got this message back from the BleachBit dev:

This code probably has changed since 0.7.4. I suggest he report the
bug in the BleachBit forum or bug tracker.

If you want to file a bug report, I'll pass on the link to it; otherwise, I can just tell him you can't reproduce the issue and decided to let it go. What would you like to do?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Bracket
Offline
Last seen: 10 years 10 months ago
Joined: 2010-11-28 23:26
[SOLVED]I'll report it

I'll report it in the forums.
Although, something was probably wrong on my end (no idea what)
I think this should be reported since I was able to get an older version to work.

EDIT:
Link to the report I made on forums:
http://bleachbit.sourceforge.net/forum/bug-bleachbit-errors-occurred

SOLVED!
I was missing my StartUp folder and BleachBit didn't know how to handle that so it spit an error at me.
Like I thought, it was my fault because I was missing a file/folder.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Thanks for the info. I'm glad

Thanks for the info. I'm glad to see it wasn't a bug in BleachBit, and I'm even happier you got it taken care of.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Updated, 2011-02-09

Updated to version 0.8.7 Development Test 2 on 2011-02-09; see above for details.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

3D1T0R
3D1T0R's picture
Offline
Last seen: 2 years 8 months ago
Developer
Joined: 2006-12-29 23:48
Firefox/Chrome?

I have found something interesting and confusing.

  1. X:\PortableApps\BleachBitPortable\Data\share\cleaners\firefox_custom.xml is identical to X:\PortableApps\BleachBitPortable\Data\share\cleaners\google_chrome.xml
    (both are for Google Chrome)
  2. If I delete all the cleaners in X:\PortableApps\BleachBitPortable\Data\share\cleaners Firefox (and OpenOffice.org) still appears, so it seems that cleaning FF (& OO.o) is built strait in to BleachBit, and not in a cleaner xml
  3. This seems to be a BleachBit weirdness, not yours, but I thought you might like to know since you offered this up as ready for being an official release

Note: I haven't installed any other versions of BleachBit to see if the proper cleaner for firefox is missing / replaced with chrome's or not.

~3D1T0R

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Confirmed

I just re-downloaded the "official" portable version of BleachBit and confirmed your results. I'm not sure what's going on, but it definitely seems to be a BleachBit problem (not a BleachBit Portable issue).

You may want to contact the BleachBit dev, or post a note in their forums.

Thanks for the report!

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Log in or register to post comments