I downloaded the getID3 library, moved it to sites/all/libraries/getID3 so that getid3_libraries_info would be ok, but when I try to enable the module via Drush it says:
Drush was unable to create the getID3 directory at sites/all/libraries/getid3.

(note, I'm using Windows so the file system is case insensitive)

CommentFileSizeAuthor
#2 getid3-n2375753-2.patch4.21 KBdamienmckenna

Comments

damienmckenna’s picture

The reason this happens is that drush_getid3_pre_pm_enable() in getid3.drush.inc runs drush_getid3_download() which tries to download the library, but it never checks if it's needed.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new4.21 KB

This does a file_exists() check on $library_path before trying to download anything.

le72’s picture

Almost same here.
I use
$drush --select dl getid3
choose 2.0-beta1

then
$drush en getid3
and I got
Drush was unable to create the getID3 directory at sites/all/libraries/getid3.

I am also on Windows.

mglaman’s picture

Status: Needs review » Fixed

Thanks DamienMcKenna!

Status: Fixed » Closed (fixed)

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