I have a number of rules designed to sort incoming monthly pdf statements into folders/subfolders contained within my Dropbox folder. These statements include bank, utility, credit card, and investments. All the rules use awk to extract the date from the pdf. I've had a good number of the rules crash after the first use, and the fix is to rebuild the rule identically including copying and pasting the scripts at which point things work fine. The rules match in the preview window but crash on the subsequent script. Duplicating the rule does not work; the duplicated rule also crashes. But a newly built rule, identical in every respect, works perfectly. This is not an issue where the date is moving around in the pdf and the script needs to be adjusted. It is simply that the rule, or a duplicated rule crashes every time where an identical rule built from scratch works fine.
Is it possible that something about dropbox is causing rules to crash? Should I change these scripts to move the statements initially to a folder not in dropbox and subsequently, with another rule that doesn't involve a script but only looks at the file name, move them to the appropriate dropbox folder?
Richard