It would seem the views_cycle module attempts to install the jquery.cycle library from an invalid location. If you open the jquery.cycle.js file fetched upon installation, it is actually a 404 error page.

The problem appears to be in views_cycle.drush.inc, around line 43:

$remote_file = http://www.malsup.com/jquery/cycle/jquery.cycle.all.min.js

The file is above actually missing on the remote server.

The temporary solution would be to download manually the jquery.cycle library from http://www.malsup.com/jquery/cycle/download.html and copy the jquery.cycle.all.min.js to the views_cycle module and renaming it to jquery.cycle.js.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adamdicarlo’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta4
FileSize
1.9 KB

I ran into this issue too. Here's a patch that updates the download URL and uses drush_shell_exec() to run a basic check on the download using the 'file' command.

The problem I think is that wget fails on 404 but curl doesn't. (Sigh.) This seems to be a decent solution unless the function was changed to *require* wget.

I've changed the issue version because this patch is made against 6.x-1.0-beta4.

adamdicarlo’s picture

Status: Active » Needs review

Ah, right--needs review.

jhedstrom’s picture

FileSize
1.7 KB

Works for me. Attached is the same patch w/o the git specific syntax.

Crell’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Needs review » Closed (duplicate)

I decided that Libraries API was a more robust way to go.

#859548: Switch to Libraries API for including the jquery.cycle.js file