appsweep appears not to work

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

appsweep appears not to work Thu Dec 27, 2007 6:47 pm • by rblunden
I am currently trying out Hazel and am impressed by it. However, I can't get AppSweep to work. I have it enabled, but whenever I drag an application file to the trash, I get no offer to delete associated files. I have tried this with a number of applications, including MS Word. Any suggestions? Thanks
rblunden
 
Posts: 2
Joined: Thu Dec 27, 2007 6:42 pm
Location: Wales, UK

Re: appsweep appears not to work Fri Dec 28, 2007 4:19 am • by danio1972
rblunden wrote:I am currently trying out Hazel and am impressed by it. However, I can't get AppSweep to work. I have it enabled, but whenever I drag an application file to the trash, I get no offer to delete associated files. I have tried this with a number of applications, including MS Word. Any suggestions? Thanks


I came to the forum as I too have noticed that 'appsweep' seems to not be working.

I have the latest version of Hazel installed and running, a small amount of rules and trash emptying after 12-hours. Both the rules and the trash emptying seem to be working well.

I remember before buying Hazel I uninstalled an application and I did see the 'appsweep' window pop up; however, I have had cause to uninstall 2 applications today and nothing happens. There doesn't appear to be any activity and nothing appears logged to the Hazel log file.

A search reveals PLIST items left behind for the applications which I manually removed.

Is there anything that can be checked or adjusted to get this feature back on track please? I've tried re-installation, stop/restart of the program and restart of my iMac. So far no success.
--
Simon

Using OS X 10.5.4
danio1972
 
Posts: 14
Joined: Fri Dec 28, 2007 4:02 am
Location: Birmingham, UK

Fri Dec 28, 2007 6:18 am • by danio1972
Just following up on my own post; I found through searching on the forum a command line syntax for enabling debug. I've done this and trashed an application, I can now see what the issue is.

The application is moved to the Trash, the appsweep process runs, seems to see the application installed on my 'Time Machine' drive and therefore aborts the process, seeing the reason for it being in Trash as an 'Upgrade'.

Log File Output [Application that was uninstalled is called 'Pastor' -:

2007-12-28 10:00:41.549 hazelfolderwatch[1880] Removing Spider-Man 3.MP4.
2007-12-28 10:14:04.028 (null)[0] DEBUG: Program is licensed.
2007-12-28 10:14:04.032 hazelfolderwatch[1935] DEBUG: Initialized
2007-12-28 10:14:04.037 hazelfolderwatch[1935] DEBUG: Pausing to wait for things to settle down.
2007-12-28 10:14:05.037 hazelfolderwatch[1935] DEBUG: Processing directories: (
"/Users/simonfincham/.Trash",
"/Volumes/Time Machine Backups/.Trashes/501",
"/Volumes/Data Store/.Trashes/501",
"/Volumes/Data Store 3/.Trashes/501",
"/Volumes/Data Store 2/.Trashes/501",
"/Volumes/Media1/.Trashes/501"
)
2007-12-28 10:14:05.040 hazelfolderwatch[1935] DEBUG: About to process directory /Users/simonfincham/.Trash
2007-12-28 10:14:05.043 hazelfolderwatch[1935] DEBUG: Application /Users/simonfincham/.Trash/Simon's Passwords.pastor already checked for uninstall on 2007-12-28 07:40:06 +0000. Skipping uninstall check.
2007-12-28 10:14:05.043 hazelfolderwatch[1935] DEBUG: Application /Users/simonfincham/.Trash/Simon's Passwords.tsv already checked for uninstall on 2007-12-28 07:40:06 +0000. Skipping uninstall check.
2007-12-28 10:14:05.044 hazelfolderwatch[1935] DEBUG: Application /Users/simonfincham/.Trash/com.moneydance.Moneydance.plist already checked for uninstall on 2007-12-28 07:53:09 +0000. Skipping uninstall check.
2007-12-28 10:14:05.045 hazelfolderwatch[1935] DEBUG: Application /Users/simonfincham/.Trash/com.noodlesoft.Hazel.plist already checked for uninstall on 2007-12-28 08:18:00 +0000. Skipping uninstall check.
2007-12-28 10:14:05.046 hazelfolderwatch[1935] DEBUG: Application /Users/simonfincham/.Trash/com.noodlesoft.HazelHelper.plist already checked for uninstall on 2007-12-28 08:18:00 +0000. Skipping uninstall check.
2007-12-28 10:14:05.046 hazelfolderwatch[1935] DEBUG: Application /Users/simonfincham/.Trash/widget-dk.algoritmer.widget.emitSMS.plist already checked for uninstall on 2007-12-28 08:00:56 +0000. Skipping uninstall check.
2007-12-28 10:14:05.050 hazelfolderwatch[1935] DEBUG: Directory /Users/simonfincham/.Trash processed.
2007-12-28 10:14:05.050 hazelfolderwatch[1935] DEBUG: Sleeping
2007-12-28 10:14:07.055 hazelfolderwatch[1935] DEBUG: About to process directory /Volumes/Time Machine Backups/.Trashes/501
2007-12-28 10:14:07.057 hazelfolderwatch[1935] DEBUG: Directory /Volumes/Time Machine Backups/.Trashes/501 processed.
2007-12-28 10:14:07.057 hazelfolderwatch[1935] DEBUG: Sleeping
2007-12-28 10:14:09.062 hazelfolderwatch[1935] DEBUG: About to process directory /Volumes/Data Store/.Trashes/501
2007-12-28 10:14:09.065 hazelfolderwatch[1935] DEBUG: Directory /Volumes/Data Store/.Trashes/501 processed.
2007-12-28 10:14:09.065 hazelfolderwatch[1935] DEBUG: Sleeping
2007-12-28 10:14:11.069 hazelfolderwatch[1935] DEBUG: About to process directory /Volumes/Data Store 3/.Trashes/501
2007-12-28 10:14:11.072 hazelfolderwatch[1935] DEBUG: Directory /Volumes/Data Store 3/.Trashes/501 processed.
2007-12-28 10:14:11.072 hazelfolderwatch[1935] DEBUG: Sleeping
2007-12-28 10:14:13.077 hazelfolderwatch[1935] DEBUG: About to process directory /Volumes/Data Store 2/.Trashes/501
2007-12-28 10:14:13.079 hazelfolderwatch[1935] DEBUG: Directory /Volumes/Data Store 2/.Trashes/501 processed.
2007-12-28 10:14:13.079 hazelfolderwatch[1935] DEBUG: Sleeping
2007-12-28 10:14:15.084 hazelfolderwatch[1935] DEBUG: About to process directory /Volumes/Media1/.Trashes/501
2007-12-28 10:14:15.087 hazelfolderwatch[1935] DEBUG: Directory /Volumes/Media1/.Trashes/501 processed.
2007-12-28 10:14:15.087 hazelfolderwatch[1935] DEBUG: Sleeping
2007-12-28 10:14:17.090 hazelfolderwatch[1935] DEBUG: Done
2007-12-28 10:14:21.638 (null)[0] DEBUG: Program is licensed.
2007-12-28 10:14:21.642 hazelfolderwatch[1939] DEBUG: Initialized
2007-12-28 10:14:21.646 hazelfolderwatch[1939] DEBUG: Pausing to wait for things to settle down.
2007-12-28 10:14:22.646 hazelfolderwatch[1939] DEBUG: Processing directories: (
"/Users/simonfincham/.Trash",
"/Volumes/Time Machine Backups/.Trashes/501",
"/Volumes/Data Store/.Trashes/501",
"/Volumes/Data Store 3/.Trashes/501",
"/Volumes/Data Store 2/.Trashes/501",
"/Volumes/Media1/.Trashes/501"
)
2007-12-28 10:14:22.648 hazelfolderwatch[1939] DEBUG: About to process directory /Users/simonfincham/.Trash
2007-12-28 10:14:22.675 hazelfolderwatch[1939] DEBUG: Application already installed at: /Volumes/Time Machine Backups/Backups.backupdb/Simon Fincham’s iMac/2007-12-20-004243/Macintosh HD/Applications/Pastor.app
2007-12-28 10:14:22.675 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/Pastor.app is still installed. Must be an update. Not running uninstall.
2007-12-28 10:14:22.676 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/Simon's Passwords.pastor already checked for uninstall on 2007-12-28 07:40:06 +0000. Skipping uninstall check.
2007-12-28 10:14:22.676 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/Simon's Passwords.tsv already checked for uninstall on 2007-12-28 07:40:06 +0000. Skipping uninstall check.
2007-12-28 10:14:22.677 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/com.moneydance.Moneydance.plist already checked for uninstall on 2007-12-28 07:53:09 +0000. Skipping uninstall check.
2007-12-28 10:14:22.677 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/com.noodlesoft.Hazel.plist already checked for uninstall on 2007-12-28 08:18:00 +0000. Skipping uninstall check.
2007-12-28 10:14:22.678 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/com.noodlesoft.HazelHelper.plist already checked for uninstall on 2007-12-28 08:18:00 +0000. Skipping uninstall check.
2007-12-28 10:14:22.678 hazelfolderwatch[1939] DEBUG: Application /Users/simonfincham/.Trash/widget-dk.algoritmer.widget.emitSMS.plist already checked for uninstall on 2007-12-28 08:00:56 +0000. Skipping uninstall check.
2007-12-28 10:14:22.682 hazelfolderwatch[1939] DEBUG: Directory /Users/simonfincham/.Trash processed.
2007-12-28 10:14:22.682 hazelfolderwatch[1939] DEBUG: Sleeping
2007-12-28 10:14:24.687 hazelfolderwatch[1939] DEBUG: About to process directory /Volumes/Time Machine Backups/.Trashes/501
2007-12-28 10:14:24.689 hazelfolderwatch[1939] DEBUG: Directory /Volumes/Time Machine Backups/.Trashes/501 processed.
2007-12-28 10:14:24.690 hazelfolderwatch[1939] DEBUG: Sleeping
2007-12-28 10:14:26.694 hazelfolderwatch[1939] DEBUG: About to process directory /Volumes/Data Store/.Trashes/501
2007-12-28 10:14:26.697 hazelfolderwatch[1939] DEBUG: Directory /Volumes/Data Store/.Trashes/501 processed.
2007-12-28 10:14:26.697 hazelfolderwatch[1939] DEBUG: Sleeping
2007-12-28 10:14:28.702 hazelfolderwatch[1939] DEBUG: About to process directory /Volumes/Data Store 3/.Trashes/501
2007-12-28 10:14:28.704 hazelfolderwatch[1939] DEBUG: Directory /Volumes/Data Store 3/.Trashes/501 processed.
2007-12-28 10:14:28.704 hazelfolderwatch[1939] DEBUG: Sleeping
2007-12-28 10:14:29.030 (null)[0] DEBUG: Program is licensed.
2007-12-28 10:14:29.043 hazelfolderwatch[1944] DEBUG: Initialized
2007-12-28 10:14:29.043 hazelfolderwatch[1944] DEBUG: Pausing to wait for things to settle down.
2007-12-28 10:14:30.709 hazelfolderwatch[1939] DEBUG: About to process directory /Volumes/Data Store 2/.Trashes/501
2007-12-28 10:14:30.712 hazelfolderwatch[1939] DEBUG: Directory /Volumes/Data Store 2/.Trashes/501 processed.
2007-12-28 10:14:30.712 hazelfolderwatch[1939] DEBUG: Sleeping
2007-12-28 10:14:31.043 hazelfolderwatch[1944] DEBUG: Processing directories: (
"/Users/simonfincham/Downloads"
)
2007-12-28 10:14:31.043 hazelfolderwatch[1944] DEBUG: About to process directory /Users/simonfincham/Downloads
2007-12-28 10:14:31.065 hazelfolderwatch[1944] DEBUG: Directory /Users/simonfincham/Downloads processed.
2007-12-28 10:14:31.065 hazelfolderwatch[1944] DEBUG: Sleeping
2007-12-28 10:14:32.716 hazelfolderwatch[1939] DEBUG: About to process directory /Volumes/Media1/.Trashes/501
2007-12-28 10:14:32.719 hazelfolderwatch[1939] DEBUG: Directory /Volumes/Media1/.Trashes/501 processed.
2007-12-28 10:14:32.719 hazelfolderwatch[1939] DEBUG: Sleeping
2007-12-28 10:14:33.068 hazelfolderwatch[1944] DEBUG: Done
2007-12-28 10:14:34.723 hazelfolderwatch[1939] DEBUG: Done
--
Simon

Using OS X 10.5.4
danio1972
 
Posts: 14
Joined: Fri Dec 28, 2007 4:02 am
Location: Birmingham, UK

Fri Dec 28, 2007 1:14 pm • by Mr_Noodle
Thanks for the log output. It appears Time Machine has broken things. It is keeping a backup of the application and does not de-register it from the OS. So, the OS still thinks the app is in play, so to speak. I'll have to look into working around this somehow. I'm planning a patch in a couple weeks so hopefully I can sort this out before then.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Fri Dec 28, 2007 1:25 pm • by Mr_Noodle
As a follow-up, this Apple "feature" has adverse effects in other areas.

Here's a discussion of the issue: http://tewha.net/2007/11/mac-os-x-runs-deleted-applications/

And a possible workaround for now: http://www.macosxhints.com/article.php?story=20071102084155353 (warning: requires you to be commandline savvy)

I'll look into it more as it's unclear whether Apple considers this a bug, and therefore will fix it, or if this behavior will continue as-is, in which case I would need to figure out how to work around it.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Fri Dec 28, 2007 1:44 pm • by rblunden
Looking at the Apple support discussion, it appears that a number of problems arise from the fact that Time Machine keeps old application files. I've decided to erase my backup disk and start again with Time Machine, excluding my application folder.
rblunden
 
Posts: 2
Joined: Thu Dec 27, 2007 6:42 pm
Location: Wales, UK

Fri Dec 28, 2007 2:02 pm • by danio1972
Mr_Noodle wrote:Thanks for the log output. It appears Time Machine has broken things. It is keeping a backup of the application and does not de-register it from the OS. So, the OS still thinks the app is in play, so to speak. I'll have to look into working around this somehow. I'm planning a patch in a couple weeks so hopefully I can sort this out before then.


Thanks; I'll look forward to the fix in due course; for now I'll remove 'Applications' from the Time Machine backup.

I think it's important 'Time machine' can backup the App directory as some people will use their TM backup for full restorations - once 'Superduper' is released for Leopard I will use that as it's a more complete solution, for many 'Time Machine' is a no brainer safety net.
--
Simon

Using OS X 10.5.4
danio1972
 
Posts: 14
Joined: Fri Dec 28, 2007 4:02 am
Location: Birmingham, UK

Fri Dec 28, 2007 3:16 pm • by danio1972
By way of a further update; I've excluded the Application directory from Time Machine and have specifically deleted all backups of the Application folder [rather than wiping the Time Machine drive] from Time Machine - performed an application uninstall (the same that failed earlier) and all is now working fine.
--
Simon

Using OS X 10.5.4
danio1972
 
Posts: 14
Joined: Fri Dec 28, 2007 4:02 am
Location: Birmingham, UK

Tue Jan 01, 2008 6:58 pm • by Mr_Noodle
FYI, I have a workaround for this. Check the beta forums over the next couple days as I'll probably put up a test version if you want to try it out.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Wed Jan 02, 2008 5:33 am • by danio1972
Mr_Noodle wrote:FYI, I have a workaround for this. Check the beta forums over the next couple days as I'll probably put up a test version if you want to try it out.


Brilliant; I will, thank you! :D
--
Simon

Using OS X 10.5.4
danio1972
 
Posts: 14
Joined: Fri Dec 28, 2007 4:02 am
Location: Birmingham, UK

Wed Jan 02, 2008 4:54 pm • by Mr_Noodle
Beta is up. Give it a whirl and let me know how it works for you.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Fri Jan 04, 2008 12:09 pm • by danio1972
I'm still having good success with the Beta version when running with Time Machine enabled.

Could I ask, what triggers 'appsweep' to run? I know the obvious answer is that it runs when an application is moved to trash, but, it doesn't always....

Usually when an application is moved to trash the appsweep process runs and the dialogue is displayed with the support files for review. On occasions where appsweep doesn't run I've left things for some time maybe 20 minutes, just to see what happens, nothing. If I then move the application back to the applications directory and re-trash it, the process fires off as expected.

I've noticed this 'tends' to happen if my iMac is busy with other matters, perhaps re-encoding a Video file or manipulating a RAR set etc

I hope that makes sense.
--
Simon

Using OS X 10.5.4
danio1972
 
Posts: 14
Joined: Fri Dec 28, 2007 4:02 am
Location: Birmingham, UK

Fri Jan 04, 2008 3:14 pm • by Mr_Noodle
Hard to say. It could be because its busy. Check the logs again (with debug turned on). There's a chance it's busy doing something. If you have "secure delete" checked, for instance, it can spend a long time deleting a large folder. It's also possible there was nothing to process. Feel free to post any interesting logs you find.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Wed Jan 09, 2008 5:41 pm • by marcus314
I have a similar issue, but do not use time machine. Specifically, it's hit-or-miss with whether or not Hazel will notify me of supporting files (even if I KNOW they are there)...
marcus314
 
Posts: 3
Joined: Wed Jan 09, 2008 5:37 pm

Thu Jan 10, 2008 12:58 pm • by Mr_Noodle
macrus314:

Could you elaborate? What app are you throwing away and what files is it missing? Also, if you could provide any logs with debugging turned on, that'd be helpful.

To enable debugging, on the commandline do:

Code: Select all
defaults write com.noodlesoft.Hazel Debug -bool YES


To turn it back off, do:

Code: Select all
defaults remove com.noodlesoft.Hazel Debug
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Next

Return to Support