Rules pausing midway

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

Moderator: Mr_Noodle

Rules pausing midway Thu Jun 03, 2021 6:03 am • by grenadilla
I have a number of rules sorting files that I send out to clients into folders and renaming.

-Files are sorted into folders and renamed

-Then I ask hazel to note there names into a text file

echo ${1##*/} >> /Volumes/LIVEWORK/04_SENDING/includedFiles.txt

Currently some of the files are sorted and others have to wait for next hazel cycle...

Log shows...

2021-06-03 11:21:45.882 hazelworker[2436] File includedFiles.txt is busy. Skipping for now.


Any idea how to remedy this??
grenadilla
 
Posts: 4
Joined: Thu Jun 03, 2021 5:39 am

Re: Rules pausing midway Thu Jun 03, 2021 9:44 am • by Mr_Noodle
Is includedFiles.txt in the same directory as the files being processed? That log message indicates Hazel trying to match includedFiles.txt against rules, and not being able to because it's in use. It shouldn't affect other files in the same folder being processed.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rules pausing midway Thu Jun 03, 2021 9:57 am • by grenadilla
Yes it is indeed. Ok so thats not the error in the log... mmmm

If the folder is open as a in Finder would that pause hazels moving??


Mr_Noodle wrote:Is includedFiles.txt in the same directory as the files being processed? That log message indicates Hazel trying to match includedFiles.txt against rules, and not being able to because it's in use. It shouldn't affect other files in the same folder being processed.
grenadilla
 
Posts: 4
Joined: Thu Jun 03, 2021 5:39 am

Re: Rules pausing midway Thu Jun 03, 2021 10:00 am • by grenadilla
Its strange though sometimes it flys through all the files and other times not. I'm wondering whether the shell script should be different??


grenadilla wrote:Yes it is indeed. Ok so thats not the error in the log... mmmm

If the folder is open as a in Finder would that pause hazels moving??


Mr_Noodle wrote:Is includedFiles.txt in the same directory as the files being processed? That log message indicates Hazel trying to match includedFiles.txt against rules, and not being able to because it's in use. It shouldn't affect other files in the same folder being processed.
grenadilla
 
Posts: 4
Joined: Thu Jun 03, 2021 5:39 am

Re: Rules pausing midway Fri Jun 04, 2021 9:25 am • by Mr_Noodle
Turn on debug mode as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

After that, send in the logs for a file which was not moved promptly.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Rules pausing midway Thu Jun 10, 2021 4:06 am • by grenadilla
Ahh that’s super useful didn’t know there was a debugger


Many thanks

Mr_Noodle wrote:Turn on debug mode as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

After that, send in the logs for a file which was not moved promptly.
grenadilla
 
Posts: 4
Joined: Thu Jun 03, 2021 5:39 am


Return to Support