Page 1 of 1

Organize into folders not working correctly

PostPosted: 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

Re: Organize into folders not working correctly

PostPosted: Tue May 07, 2013 8:04 pm
by mclearr
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.

Re: Organize into folders not working correctly

PostPosted: Wed May 08, 2013 12:37 pm
by Mr_Noodle
Possibly some issue with Dropbox? I suggest trying it in a non-Dropbox folder and seeing if you get the same errors.

Re: Organize into folders not working correctly

PostPosted: 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!

Re: Organize into folders not working correctly

PostPosted: Tue Aug 27, 2013 2:17 pm
by Niklaskruse
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

Re: Organize into folders not working correctly

PostPosted: Wed Aug 28, 2013 3:28 pm
by Mr_Noodle
Out of curiosity, can you try it with a folder that doesn't have a colon (:) in it?

Re: Organize into folders not working correctly

PostPosted: Wed Aug 28, 2013 4:08 pm
by Niklaskruse
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?

Re: Organize into folders not working correctly

PostPosted: Fri Aug 30, 2013 12:36 pm
by Mr_Noodle
I'm not sure I understand that last part. Could you elaborate?

Re: Organize into folders not working correctly

PostPosted: Fri Aug 30, 2013 1:06 pm
by Niklaskruse
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.

Re: Organize into folders not working correctly

PostPosted: Thu Sep 05, 2013 12:19 pm
by Mr_Noodle
So, did you try it without the colon?

Re: Organize into folders not working correctly

PostPosted: Fri Sep 06, 2013 1:51 am
by Niklaskruse
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!!