Error uploading by FTP

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

Moderator: Mr_Noodle

Error uploading by FTP Sat Feb 01, 2014 6:11 am • by MoodyM
Firstly, I had this EXACT rule working perfectly on my 17" MacBook Pro. I got a new MBP yesterday and now I get the following error in the log. When setting up the rule, Hazel let me browse to the target folder on the FTP site, so it was connecting ok at that point.

I do notice in the log that Hazel is inserting a double // after "domain.com". I am not typing this // into the path in the rule setup.

2014-02-01 10:04:47.870 hazelworker[3251] Failed trying to get contents of directory for ftp://<username>@domain.com//media/disk/home/<username>/private/rtorrent/watch/The.Name.OfMyFile.torrent: Error Domain=Hazel Connection Code=5 "The operation couldn’t be completed. (Hazel Connection error 5.)"
2014-02-01 10:04:47.870 hazelworker[3251] Caught exception in rule evaluation of file The.Name.OfMyFile.torrent: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]
2014-02-01 10:04:47.870 hazelworker[3251] (
0 CoreFoundation 0x00007fff8e4e841c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff89734e75 objc_eception_throw + 43
2 CoreFoundation 0x00007fff8e3d41df -[__NSArrayI objectAtIndex:] + 175
3 hazelworker 0x000000010c5c85a3 start + 212675
4 hazelworker 0x000000010c5c887f start + 213407
5 hazelworker 0x000000010c5c89e3 start + 213763
6 hazelworker 0x000000010c5db92d start + 291405
7 hazelworker 0x000000010c5b7f17 start + 145463
8 hazelworker 0x000000010c5975bc start + 11996
9 hazelworker 0x000000010c5983e4 start + 15620
10 hazelworker 0x000000010c599a96 start + 21430
11 hazelworker 0x000000010c594714 start + 52
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Mon Feb 03, 2014 4:24 pm • by Mr_Noodle
When choosing the folder initially, did you enter any path in the initial path field? What is the correct URL in this case?
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Mon Feb 03, 2014 4:39 pm • by MoodyM
I tried:

/media/home/<username>/private/rtorrent/watch, and Hazel took me straight into that directory on my FTP server in a dialog box, so I know it's connecting ok.

I had this working great on my 17" MacBook Pro which I just got rid off and bought a new 15" Retina MBP and I get this error.
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Tue Feb 04, 2014 5:14 pm • by Mr_Noodle
Have you tried not entering an initial path and navigating to it in the UI instead?
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Wed Feb 05, 2014 2:37 am • by MoodyM
Yep, exactly the same problem
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 3:00 pm • by Mr_Noodle
Even if it looks the same to you, can you post the logged error in that case?
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Wed Feb 05, 2014 4:51 pm • by MoodyM
Hmm, it worked this time!
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 5:00 pm • by MoodyM
Worked on MBP, but on Mac Mini for got this error:

2014-02-05 20:55:26.774 hazelworker[439] Failed trying to get contents of directory for sftp://<user>@server.com/media/sdg1/home/<user>/private/rtorrent/watch/<filename>.torrent: Error Domain=Hazel Connection Code=5 "The operation couldn’t be completed. (Hazel Connection error 5.)"
2014-02-05 20:55:26.799 hazelworker[439] Caught exception in rule evaluation of file <filename>.torrent: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]
2014-02-05 20:55:26.831 hazelworker[439] (
0 CoreFoundation 0x00007fff901cc41c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b418e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff900b81df -[__NSArrayI objectAtIndex:] + 175
3 hazelworker 0x000000010f0765a3 start + 212675
4 hazelworker 0x000000010f07687f start + 213407
5 hazelworker 0x000000010f0769e3 start + 213763
6 hazelworker 0x000000010f08992d start + 291405
7 hazelworker 0x000000010f065f17 start + 145463
8 hazelworker 0x000000010f0455bc start + 11996
9 hazelworker 0x000000010f0463e4 start + 15620
10 hazelworker 0x000000010f047a96 start + 21430
11 hazelworker 0x000000010f042714 start + 52
)
2014-02-05 20:55:28.945 hazelworker[439] <filename>.torrent: Rule Copy of Upload matched.
2014-02-05 20:55:59.045 hazelworker[439] Failed trying to get contents of directory for sftp://<user>@server.com/media/sdg1/home/<user>/private/rtorrent/watch/<filename>.torrent: Error Domain=Hazel Connection Code=5 "The operation couldn’t be completed. (Hazel Connection error 5.)"
2014-02-05 20:55:59.046 hazelworker[439] Caught exception in rule evaluation of file <filename>.torrent: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]
2014-02-05 20:55:59.046 hazelworker[439] (
0 CoreFoundation 0x00007fff901cc41c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b418e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff900b81df -[__NSArrayI objectAtIndex:] + 175
3 hazelworker 0x000000010f0765a3 start + 212675
4 hazelworker 0x000000010f07687f start + 213407
5 hazelworker 0x000000010f0769e3 start + 213763
6 hazelworker 0x000000010f08992d start + 291405
7 hazelworker 0x000000010f065f17 start + 145463
8 hazelworker 0x000000010f0455bc start + 11996
9 hazelworker 0x000000010f0463e4 start + 15620
10 hazelworker 0x000000010f047a96 start + 21430
11 hazelworker 0x000000010f042714 start + 52
)
2014-02-05 20:56:01.137 hazelworker[439] <filename>.torrent: Rule Copy of Upload matched.
2014-02-05 20:56:31.228 hazelworker[439] Failed trying to get contents of directory for sftp://<user>@server.com/media/sdg1/home/<user>/private/rtorrent/watch/J<filename>.torrent: Error Domain=Hazel Connection Code=5 "The operation couldn’t be completed. (Hazel Connection error 5.)"
2014-02-05 20:56:31.229 hazelworker[439] Caught exception in rule evaluation of file <filename>.torrent: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]
2014-02-05 20:56:31.229 hazelworker[439] (
0 CoreFoundation 0x00007fff901cc41c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b418e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff900b81df -[__NSArrayI objectAtIndex:] + 175
3 hazelworker 0x000000010f0765a3 start + 212675
4 hazelworker 0x000000010f07687f start + 213407
5 hazelworker 0x000000010f0769e3 start + 213763
6 hazelworker 0x000000010f08992d start + 291405
7 hazelworker 0x000000010f065f17 start + 145463
8 hazelworker 0x000000010f0455bc start + 11996
9 hazelworker 0x000000010f0463e4 start + 15620
10 hazelworker 0x000000010f047a96 start + 21430
11 hazelworker 0x000000010f042714 start + 52
)
2014-02-05 20:56:31.233 hazelworker[439] Done processing folder <folder>
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 5:35 pm • by Mr_Noodle
What version of Hazel are you running?

A couple other things:
- Are you logging in with the exact same account in both cases?
- Can you try exporting the rule from the machine where it works and importing it on the machine where it doesn't and see what happens?
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Wed Feb 05, 2014 5:42 pm • by MoodyM
Did that, still doesn't work on Mac Mini
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 5:43 pm • by Mr_Noodle
And what version of Hazel are you running?
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Wed Feb 05, 2014 5:45 pm • by MoodyM
Actually the error on the Mac Mini this time was a "Timeout" error.

Version 3.2.3 build 1077
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 5:47 pm • by Mr_Noodle
Have you tried connecting to the server via Finder on the mini? Try connecting to the top level and navigating down as you did within Hazel.
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error uploading by FTP Wed Feb 05, 2014 5:53 pm • by MoodyM
Connects fine in Finder on Mini using "Connect to server" menu option.
MoodyM
 
Posts: 34
Joined: Tue Aug 13, 2013 7:36 am

Re: Error uploading by FTP Wed Feb 05, 2014 6:20 pm • by Mr_Noodle
I'll need to think about it more but for some reason it's timing out. Do you have access to the FTP server logs?
Mr_Noodle
Site Admin
 
Posts: 11881
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Next

Return to Support