Organize into folders not working correctly

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Organize into folders not working correctly Tue May 07, 2013 12:57 pm • by mclearr
I have several rules set up to move files into a specific folder (Statements), and then into subfolders organized by year (2013, 2012, etc...). But Hazel is moving the files directly into 'Statements' and not into the designated 2013 subfolder.

This behavior seems to occur with some rules and not with other rules, which are working correctly.

I would appreciate any hints or suggestions on how to troubleshoot this problem or correct it.

Thanks!

-Rob
mclearr
 
Posts: 3
Joined: Tue May 07, 2013 12:51 pm

Additional info from logs; a failed rule followed by a successful rule. Both rules apply to the same incoming folder and to output / sorting folders which are located in the same general region of my home folder:

[File Event] File renamed: /Users/username/Incoming/2013-05-07 visa.pdf renamed to /Users/username/Incoming/2013-05-07 visa.pdf .
2013-05-07 19:53:49.882 hazelworker[82484] [File Event] File moved: 2013-05-07 visa.pdf moved from folder /Users/username/Incoming to folder /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Statements.
2013-05-07 19:53:49.918 hazelworker[82484] Could not get Finder item for file: /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Statements/2013-05-07 visa.pdf
2013-05-07 19:53:49.918 hazelworker[82484] Error creating FSRef for path /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Statements/2013-05-07 visa.pdf (symlinks not followed): -43 - File not found
2013-05-07 19:53:49.918 hazelworker[82484] Move path failed. Could not get FSRef for source path /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Statements/2013-05-07 visa.pdf .
2013-05-07 19:53:49.918 hazelworker[82484] [Error] Sorting into subfolder failed: Could not move file /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Statements/2013-05-07 visa.pdf to subfolder 2013.
2013-05-07 19:53:52.307 hazelworker[82484] Done processing folder Incoming
2013-05-07 19:54:14.655 hazelworker[82546] Processing folder Incoming
2013-05-07 19:54:16.969 hazelworker[82546] 2013-05-06 personal statement.pdf: Rule Personal General matched.
2013-05-07 19:54:17.554 hazelworker[82546] [File Event] File moved: 2013-05-06 personal statement.pdf moved from folder /Users/username/Incoming to folder /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Receipts.
2013-05-07 19:54:17.624 hazelworker[82546] [File Event] File moved into subfolder: /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Receipts/2013-05/2013-05-06 personal statement.pdf sorted from folder /Users/username/Dropbox/My Documents/Financial Records/Personal Finances/Receipts to subfolder 2013-05.
mclearr
 
Posts: 3
Joined: Tue May 07, 2013 12:51 pm

Possibly some issue with Dropbox? I suggest trying it in a non-Dropbox folder and seeing if you get the same errors.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Organize into folders not working correctly Wed May 08, 2013 12:45 pm • by mclearr
I was thinking along the same lines, but thought that since both rules applied to subfolders within Dropbox that it was probably something else. I will try it in a non-Dropbox folder though, or maybe I'll just turn off Dropbox temporarily. Thanks!
mclearr
 
Posts: 3
Joined: Tue May 07, 2013 12:51 pm

Any news on this problem...
i got the exact same problem.
i have tried to make the same rules on a non-dropbox folder and it is working like a charm.
but when i try to make the exact same rules on a dropbox folder i get this error:
Code: Select all
2013-08-27 19:03:28.489 hazelworker[26716] Error creating FSRef for path /Users/Niklaskruse/Dropbox/Kruse Production/Faktura ud/Fakturaer 2013/Comtech Holding A:S /PDF'er: -43 - File not found
2013-08-27 19:03:28.489 hazelworker[26716] Move path failed. Could not get FSRef for destination path /Users/Niklaskruse/Dropbox/Kruse Production/Faktura ud/Fakturaer 2013/Comtech Holding A:S /PDF'er.
2013-08-27 19:03:28.489 hazelworker[26716] [Error] Sorting into subfolder failed: Could not move file /Users/Niklaskruse/Dropbox/Kruse Production/Faktura ud/Faktura TETS  .pdf to subfolder Fakturaer 2013/Comtech Holding A:S /PDF'er
Niklaskruse
 
Posts: 4
Joined: Tue Aug 27, 2013 2:11 pm

Out of curiosity, can you try it with a folder that doesn't have a colon (:) in it?
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

sorry forgot to write that, i have tried that. But with the same problem.

The funny part of the ":" is that it's actually a "/"

It is a "sort into subfolder" rule where one of the tokens is a comment tokken.
I got another rules with the samme pattern which work with out problems.
Another problem is that the keeps running since it tries to sort it over and over again.
but i just keeps on creating the right folder name but with a (White Space ConflictXX) at the end. Maybe that gives you a clue?
Niklaskruse
 
Posts: 4
Joined: Tue Aug 27, 2013 2:11 pm

I'm not sure I understand that last part. Could you elaborate?
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Since it is a "sort into subfolder" rule, it keeps running the rules on the same file because it isn't move to the subfolder.
It creates the folder and subfolder with the correct name but doesn't move the matched file into the subfolder.

The second time the rules run it creates a new folder with the correct name but with "White Space Conflict" and then a number at the end.

And so it goes on until i pauses the folder and stoppes Hazel.
Hope the clears out things.
Niklaskruse
 
Posts: 4
Joined: Tue Aug 27, 2013 2:11 pm

So, did you try it without the colon?
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Yes i did tried that, but with the same problem..

after ALOT of days with trial and error :evil: , i found out the problem apparently was my invoice template.
wich was the master to all the processed excel files.

i have a rule where a applescript adds a comment based on a specifik cell in the file, and then a "sort into subfolder" rule based on that comment.

and on the HD there was no problem but after trying the rule in dropbox i got the error.

But now everything is working :D after editing the specifik cell in the file.

Again thank you for make my days alot more easy with this wonderful program!!
Niklaskruse
 
Posts: 4
Joined: Tue Aug 27, 2013 2:11 pm


Return to Open Discussion