Open joepie91 opened 11 years ago
Issue for me on OS X 10.9.3:
Starting RsyncUpload for Item verizon36pack:~res04af rsync: --contimeout=300: unknown option rsync error: syntax or usage error (code 1) at /SourceCache/rsync/rsync-42/rsync/main.c(1333) [client=2.6.9]
this despite having a recent rsync install via homebrew somehow python subprocess wasn’t picking it up solution: remove rsync from /usr/bin and symlink it to the one in /usr/local/bin
Obviously that's not a generic solution.
The rsync checking makes sense.
Surely it'd be better to catch the error from rsync the first time, and deal with it appropriately ? Obviously if the error is the missing option, try without that option. Might find that other options also don't work (and then need to be caught too.
Or, install our own rsync with the appropriate options, and make sure to directly call it via the full path, instead of depending on $PATH.
A particular user using OS X ran into issues running a pipeline on his machine.
Upon reaching the uploading stage of the isohunt-grab pipeline, he ran into the following error:
The rsync version used is
rsync version 2.6.9 protocol version 29
.My proposal would be to, when detecting wget-lua, also do rsync --help to detect whether contimeout is an available option. This way a basic compatibility with other rsync versions is possible.
The following is the output of
rsync --help
for this user: