Hi, this was a little weird. I had Views 3.3 and Views Slideshow 7.x-3.x-dev, and the drush en views_slideshow command did not work with Views 3.3 and 3.x-dev. However, enabling it in the Modules page worked, after I had downloaded 3.x-dev. This was a small issue but someone may find it helpful to have documented.

$ drush en views_slideshow
Module views_slideshow cannot be enabled because it depends on views  (3.x) but 7.x-3.3 is available  [error]
$ drush dl views-7.x-3.x-dev
Project views (7.x-3.x-dev) downloaded to                                                             [success]
/sites/default/modules/views.
Project views contains 2 modules: views, views_ui.
$ drush en views_slideshow
Module views_slideshow cannot be enabled because it depends on views  (3.x) but 7.x-3.3+132-dev is    [error]
available
$ drush cc all
'all' cache was cleared                                                                               [success]
$ drush en views_slideshow
Module views_slideshow cannot be enabled because it depends on views  (3.x) but 7.x-3.3+132-dev is    [error]
available

Anyway if anyone gets this problem, the workaround appears to be going to the module page to control it. Best regards, excellent module all around.

Comments

Jan van Diepen’s picture

I got the same message on enabling the module through drush.

The dependency is recorded on the 3rd line in the .info file:

dependencies[] = views (3.x)

According to the documentation on http://drupal.org/node/542202 this should be correct syntax. It is not doing what is expected from the command line using drush.

Change the line to:

dependencies[] = views (>=3.0)

and you should be fine with any version of views3.

InTheLyonsDen’s picture

Same issue...

Editing views_slideshow.info fixes it as Jan Van Diepen illuminated. Thanks!

name = Views Slideshow
description = Provides a View style that displays rows as a jQuery slideshow. This is an API and requires Views Slideshow Cycle or another module that supports the API.
dependencies[] = views (>=3.0)
package = Views
core = 7.x

snufkin’s picture

Status: Active » Needs review
StatusFileSize
new445 bytes

Attaching patch.

xiukun.zhou’s picture

Status: Needs review » Fixed

Thanks snufkin.
commit:86ed190

Status: Fixed » Closed (fixed)

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

edwoodjigga’s picture

Its good to learn that from you...