Hazel Rule Cannot Move Empty Folders to Trash Folder.

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

Moderator: Mr_Noodle

I am having an issue with a rule. (See image).
Image

The rule isn't able to move an empty folder to the trash folder.
I am getting the following errors.
Image

Here's the Hazel log.
https://www.dropbox.com/scl/fi/hsexfeshc79mda4l0nab6/Hazel-Log-2024.10.08.16.25.txt?rlkey=4ppt0p1lwt0dru3k64il1axkd&st=897irusg&dl=0
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

Can you turn on debug logging as described here? https://www.noodlesoft.com/kb/hazel-debug-mode/

After that, post updated logs.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I've uploaded a copy of the log with the debug feature on

CTRL+F (Search): "2024-10-14 22:24:45.561 hazelworker[88063] please delete this empty folder: Rule Delete Empty Folders matched"

https://www.dropbox.com/scl/fi/ox98xckmexf3jb70mdll1/2024.10.14-Hazel.txt?rlkey=ykcp9s4zuj3wldk6rbge0k2tu&st=9gcxu14q&dl=0
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

What version of macOS are you running? The error seems really weird. Are you able to move that file to the trash in Finder?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I'm running Sequoia 15.0.1.
I'm able to delete the file manually, also drag and drop it into the trash.
Last edited by davidelloyd on Thu Oct 17, 2024 10:00 am, edited 1 time in total.
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

Does it prompt for a password when doing that? Do you have this issue with non Dropbox folders?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I'm not getting a prompt for a password.
I moved the files and rules to non-Dropbox folders, and the rules worked.
This issue started a few weeks ago.
I would like to continue using Dropbox.
Last edited by davidelloyd on Thu Oct 17, 2024 9:55 am, edited 1 time in total.
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

Can you run the following command in Terminal and post the results?

Code: Select all
ls -led ~/Library/CloudStorage/Dropbox/.Trash
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

The code returned the following:

Code: Select all
0: group:everyone deny delete
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

I think the first line of the output is missing.

Any chance your Dropbox is near it's size limit?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I have 3.5TB used of 4TB.

I have included a screenshot of Terminal that shows the return message.
https://www.dropbox.com/scl/fi/z8evcnpjuh4icc31283kc/2024-10-18-Screenshot-575x365.jpg?rlkey=3vpnoxg3io91gelwvrn253j7e&st=cyl9asyw&dl=0
Last edited by davidelloyd on Mon Oct 21, 2024 10:17 am, edited 1 time in total.
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

Not seeing the screenshot. Can you repost it?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I've updated the link.

I have 3.5TB used of 4TB.

I have included a screenshot of Terminal that shows the return message.
https://www.dropbox.com/scl/fi/z8evcnpj ... 9asyw&dl=0
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

Can you run the same command on the folder you want to move to the trash?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I'm receiving an error from Terminal. Dropbox has parentheses in one of its folders (which I cannot rename), "Mac (2)", so Terminal returned an error. I thought I would be able to fix it by adding slashes, but that didn't work either.

I was able to get Terminal to point at the folder.

This is what Terminal returned when it worked.
Code: Select all
MacHD:forDeletion dj$ ls -led
drwxr-xr-x@ 2 dj  staff  64 Oct 23 00:09 .
MacHD:forDeletion dj$


This is when I tried the entire file pathname.
Code: Select all
MacHD:~ dj$ ls -led ~/Users/dj/Library/CloudStorage/Dropbox/Mac (2)/Downloads/for deletion
-bash: syntax error near unexpected token `('
MacHD:~ dj$ ls -led ~/Users/dj/Library/CloudStorage/Dropbox/Mac\ (2\)/Downloads/for deletion
-bash: syntax error near unexpected token `('
MacHD:~ dj$ ls -led ~/Users/dj/Library/CloudStorage/Dropbox/Mac/ (2/)/Downloads/for deletion
-bash: syntax error near unexpected token `('
-DJ
davidelloyd
 
Posts: 15
Joined: Mon Jul 01, 2024 6:29 pm

Next

Return to Support

cron