NOTICE: Problems with Hazel and Dropbox

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

Moderator: Mr_Noodle

NOTICE: Problems with Hazel and Dropbox Tue Mar 31, 2015 11:47 am • by Mr_Noodle
There has been a standing issue where when using Hazel with Dropbox Shared folders, Hazel stops receiving file events. If you have experienced this, please email support as I may have the ear of someone at Dropbox that is willing to work together on resolving this. Your help here can help solve a longstanding problem and help many others that have run into this.

Thanks.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: NOTICE: Problems with Hazel and Dropbox Tue Jun 16, 2015 7:47 pm • by Frederick
I'm not sure if this is such a situation, but I have a situation where a rule is matching and starts executing, but the file never moves to the dropbox folder. Oddly enough this does not happen with every file.

Whadyaknow? I changed the Move order to the top of the list and it worked fine! :D
Frederick
 
Posts: 8
Joined: Tue May 22, 2012 10:05 am

If it isn't too late, I have this issue and am ready, willing, and able to help.
zenstudent
 
Posts: 1
Joined: Tue Sep 01, 2015 3:22 pm

Re: NOTICE: Problems with Hazel and Dropbox Tue Sep 01, 2015 5:23 pm • by Mr_Noodle
Thanks for the offer. As of now, it has been determined to be an Apple issue and a bug has been filed with them. Hopefully they address it at some point.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: NOTICE: Problems with Hazel and Dropbox Wed Sep 30, 2015 10:59 am • by siberuser
My problem may fall under this thread.

I have an extremely simple problem which does involve Dropbox. I am also a new user, so the problem may lie at a measurable distance from my own computer screen.

I want to do a very simple sync of a text file which I keep in Dropbox. I add to this file regularly, and would like to have Hazel back up this text file to a file on my Mac hard drive.

Set the Hazel rule for my Dropbox folder to "if the name of the file is [the exact name of the file I'm trying to back up]" and "date last modified is after date last matched" then "sync into [the destination folder]"

I find that sometimes the sync does happen, more often than not it does not happen. This is an extremely simple case here, and so I am mystified. Maybe it falls under the "problems with Hazel & DB" rubric. Or maybe I'm missing something. Thank you in advance.
siberuser
 
Posts: 1
Joined: Wed Sep 30, 2015 10:45 am

Re: NOTICE: Problems with Hazel and Dropbox Wed Sep 30, 2015 11:32 am • by Mr_Noodle
I've already replied in email. In the future, please only post here or email. Do not do both as it makes it confusing where the thread is being continued plus it requires double the work for everyone involved.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: NOTICE: Problems with Hazel and Dropbox Mon Feb 15, 2016 6:07 pm • by ikomrad
Is this still an issue?
ikomrad
 
Posts: 15
Joined: Sat Nov 07, 2015 11:42 pm
Location: Denver,co

Re: NOTICE: Problems with Hazel and Dropbox Tue Feb 16, 2016 1:11 pm • by Mr_Noodle
I haven't heard about it in a while. If you think you are seeing it, please email in with details.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: NOTICE: Problems with Hazel and Dropbox Tue May 24, 2016 12:39 pm • by 9xv
I've been having issues with Hazel 4.0.1 in conjunction with DropBox and similar types of situations.

Whenever I have a folder that is continuously updated (via either FTP transfer, large batch downloads, or DropBox) Hazel runs through the folder and applies rules but after a certain amount of time it just stops running. According to the log Hazel is "Done processing folder." I would like the hazel rules to be applied as the files arrive in the folder, since there are often tens of thousands of files and it is faster to sort them as they arrive, than all at once. But even with smaller batches of less than a hundred, Hazel seems to think it finished everything in the folder and doesn't rescan as more files are being added continuously.

Is there a work around for this situation?
9xv
 
Posts: 1
Joined: Tue May 24, 2016 12:24 pm

Re: NOTICE: Problems with Hazel and Dropbox Wed May 25, 2016 5:00 am • by jphorn
I'm not sure if I have this issue, but I'm having problems getting files copied out of a shared Dropbox folder of which I only have viewing permissions.

My rule is fairly simple

Code: Select all
If all conditions
any file
copy to folder [Y]


Image

Even previewing the rule doesn't show me any files in this shared folder, even though there are plenty.
Log file doesn't tell me anything, other than that the folder has been Forced processed.

Image

Did I misinterpret the ruleset?
jphorn
 
Posts: 2
Joined: Wed May 25, 2016 4:37 am

Re: NOTICE: Problems with Hazel and Dropbox Wed May 25, 2016 10:45 am • by Mr_Noodle
9xv: Note that FTP (at least the built-in FTP server in OS X) seems to not send out file events at all when you upload files. As for why it's stopping mid-batch, I suggest you email support with your logs. Note the time period that I should focus on and I'll take a look at it.

jphorn: The status window doesn't show any files at all, or doesn't show that the files match?
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: NOTICE: Problems with Hazel and Dropbox Thu May 26, 2016 4:06 am • by jphorn
Mr_Noodle wrote:jphorn: The status window doesn't show any files at all, or doesn't show that the files match?

The window doesn't show any files at all.
jphorn
 
Posts: 2
Joined: Wed May 25, 2016 4:37 am

Re: NOTICE: Problems with Hazel and Dropbox Thu May 26, 2016 9:50 am • by Mr_Noodle
Then there's a deeper issue. Maybe Hazel doesn't have read permissions. I suggest emailing support. Include details about the folder in question. Permissions, is it network share, etc.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: NOTICE: Problems with Hazel and Dropbox Sun Oct 23, 2016 3:58 pm • by beideman
i'm using a very simple apple script (modded katie floyd) to batch our pdfs created with scansnap. it uses pdfpen as the ocr engine.

tell application "PDFpen"
open theFile as alias
tell document 1
ocr
repeat while performing ocr
delay 1
end repeat
delay 1
close with saving
end tell
end tell


when applying it to a dropbox folder i get some files ocr'd correctly but others cause errors:

PDFPen/Hazel OCR errors


2016-10-21 14:07:32.301 hazelworker[3765] 2015 Prop tax statement.pdf: Rule DocumentSnap Batch OCR with displays matched.
2016-10-21 14:07:32.301 hazelworker[3765] Hazel Alert: starting script
2016-10-21 14:07:32.301 hazelworker[3765] [Custom Message] Hazel Alert: starting script
2016-10-21 14:07:32.964 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/2015 Prop tax statement.pdf.
2016-10-21 14:07:32.965 hazelworker[3765] OSAScript error: {
NSLocalizedDescription = "PDFpen got an error: Connection is invalid.";
NSLocalizedFailureReason = "Connection is invalid.";
OSAScriptErrorAppAddressKey = "<NSAppleEventDescriptor: [0x0,2b32b3 \"PDFpen\"]>";
OSAScriptErrorAppNameKey = PDFpen;
OSAScriptErrorBriefMessageKey = "Connection is invalid.";
OSAScriptErrorMessageKey = "PDFpen got an error: Connection is invalid.";
OSAScriptErrorNumberKey = "-609";
OSAScriptErrorRangeKey = "NSRange: {0, 0}";

2016-10-21 14:08:14.892 hazelworker[3765] Asphalt resurfacing bids 2012.pdf: Rule DocumentSnap Batch OCR with displays matched.
2016-10-21 14:08:14.892 hazelworker[3765] Hazel Alert: starting script
2016-10-21 14:08:14.892 hazelworker[3765] [Custom Message] Hazel Alert: starting script
2016-10-21 14:08:15.546 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Asphalt resurfacing bids 2012.pdf.
2016-10-21 14:08:15.547 hazelworker[3765] OSAScript error: {
NSLocalizedDescription = "PDFpen got an error: Connection is invalid.";
NSLocalizedFailureReason = "Connection is invalid.";
OSAScriptErrorAppAddressKey = "<NSAppleEventDescriptor: [0x0,2ba2ba \"PDFpen\"]>";
OSAScriptErrorAppNameKey = PDFpen;
OSAScriptErrorBriefMessageKey = "Connection is invalid.";
OSAScriptErrorMessageKey = "PDFpen got an error: Connection is invalid.";
OSAScriptErrorNumberKey = "-609";
OSAScriptErrorRangeKey = "NSRange: {0, 0}";
}

2016-10-21 14:08:31.635 hazelworker[3765] Chev truck emissions report 2016.pdf: Rule DocumentSnap Batch OCR with displays matched.
2016-10-21 14:08:31.635 hazelworker[3765] Hazel Alert: starting script
2016-10-21 14:08:31.635 hazelworker[3765] [Custom Message] Hazel Alert: starting script
2016-10-21 14:08:32.286 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Chev truck emissions report 2016.pdf.
2016-10-21 14:08:32.287 hazelworker[3765] OSAScript error: {
NSLocalizedDescription = "PDFpen got an error: Connection is invalid.";
NSLocalizedFailureReason = "Connection is invalid.";
OSAScriptErrorAppAddressKey = "<NSAppleEventDescriptor: [0x0,2c02c0 \"PDFpen\"]>";
OSAScriptErrorAppNameKey = PDFpen;
OSAScriptErrorBriefMessageKey = "Connection is invalid.";
OSAScriptErrorMessageKey = "PDFpen got an error: Connection is invalid.";
OSAScriptErrorNumberKey = "-609";
OSAScriptErrorRangeKey = "NSRange: {0, 0}";
}

2016-10-21 14:08:56.784 hazelworker[3765] French horn notes from Boomer music.pdf: Rule DocumentSnap Batch OCR with displays matched.
2016-10-21 14:08:56.784 hazelworker[3765] Hazel Alert: starting script
2016-10-21 14:08:56.784 hazelworker[3765] [Custom Message] Hazel Alert: starting script
2016-10-21 14:08:57.439 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/French horn notes from Boomer music.pdf.
2016-10-21 14:08:57.439 hazelworker[3765] OSAScript error: {
NSLocalizedDescription = "PDFpen got an error: Connection is invalid.";
NSLocalizedFailureReason = "Connection is invalid.";
OSAScriptErrorAppAddressKey = "<NSAppleEventDescriptor: [0x0,2c72c7 \"PDFpen\"]>";
OSAScriptErrorAppNameKey = PDFpen;
OSAScriptErrorBriefMessageKey = "Connection is invalid.";
OSAScriptErrorMessageKey = "PDFpen got an error: Connection is invalid.";
OSAScriptErrorNumberKey = "-609";
OSAScriptErrorRangeKey = "NSRange: {0, 0}";
}


From Hazel log

2016-10-21 11:32:43.492 hazelworker[2455] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_Control Panel Applications.pdf.
2016-10-21 11:39:04.776 hazelworker[2496] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_Control Panel Applications.pdf.
2016-10-21 11:41:04.797 hazelworker[2496] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_Control Panel File Sharing.pdf.
2016-10-21 11:45:18.232 hazelworker[2496] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_Control Panel System.pdf.
2016-10-21 11:47:47.551 hazelworker[2496] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_File Station.pdf.
2016-10-21 11:50:21.152 hazelworker[2496] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_Log Center.pdf.
2016-10-21 11:51:43.220 hazelworker[2496] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Dropbox/Technology/Network/Home network/Configurations/Synology 1515+ config/Setings screenshots/10_13_16 before reset/synology control panel_Media Server.pdf.
2016-10-21 12:10:16.370 hazelworker[2749] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/synology control panel_Control Panel File Sharing.pdf.
2016-10-21 12:10:53.621 hazelworker[2749] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/synology control panel_Control Panel File Sharing.pdf.
2016-10-21 14:07:32.964 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/2015 Prop tax statement.pdf.
2016-10-21 14:08:15.546 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Asphalt resurfacing bids 2012.pdf.
2016-10-21 14:08:32.286 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Chev truck emissions report 2016.pdf.
2016-10-21 14:08:57.439 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/French horn notes from Boomer music.pdf.
2016-10-21 14:09:29.292 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Lightcenter 4_27_16.pdf.
2016-10-21 14:09:40.047 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Lightcenter 4_28_16_b.pdf.
2016-10-21 14:09:49.935 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Models of Chemical Bonding.pdf.
2016-10-21 14:10:15.285 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Provident annual escrow statement 2016.pdf.
2016-10-21 14:10:24.291 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Toshiba canvio drive enclosure install.pdf.
2016-10-21 14:10:57.128 hazelworker[3765] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Unable to sign out of iCloud.pdf.
2016-10-22 09:59:16.051 hazelworker[4933] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Lightcenter 4_28_16_b.pdf.
2016-10-22 09:59:58.433 hazelworker[4933] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Provident annual escrow statement 2016.pdf.
2016-10-22 10:00:09.345 hazelworker[4933] [Error] AppleScript failed: Error executing AppleScript on file /Users/steven/Temp for OCRing/Unable to sign out of iCloud.pdf.

is this a result of the "event" issue with dropbox?
beideman
 
Posts: 1
Joined: Sat Oct 22, 2016 6:25 pm

Re: NOTICE: Problems with Hazel and Dropbox Mon Oct 24, 2016 11:12 am • by Mr_Noodle
This looks to be totally unrelated and seems to be an issue on PDFPen's end. I'd suggest contacting their support.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Next

Return to Support