In Mac OSX, wget is not installed by default so drush make tries to use curl -o download option.

Executing this from command line:
curl -o '/var/folders/aZ/aZJZjX3JFdybHXG-QOAfGU+++TM/-Tmp-//drush_make_tmp_1265827873/tinymce_3_2_7.zip' 'http://downloads.sourceforge.net/project/tinymce/TinyMCE/3.2.7/tinymce_3...'

does not download the library

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

No more descriptive errors sorry.

Comments

dmitrig01’s picture

Good point. I'm not sure myself how to fix this. I've tried this myself (I'm on mac as well) and it didn't work for me either. Could you try to get a working command, and then I can integrate that into the code - thanks!

wulff’s picture

Status: Active » Needs review

The solution, AFAICT, is to add an option to curl in downloadFile().

The following command seems to do the trick:

curl -Lo %s %s

-L: "If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place."

In the case of launchpad, this error occurs because download links redirect to URLs on launchpadlibrarian.net.

dmitrig01’s picture

Status: Needs review » Fixed

fixed, thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.