The following modules are required but were not found. Move them into the appropriate modules subdirectory, such as sites/all/modules. Missing modules: Libraries (>=2.x)
...but Im still using the latest libraries dev version

Here's where it broke: http://drupalcode.org/project/navbar.git/commitdiff/0057e3359e2dfec90c25...

Here's some other module .info files that also depend on libraries api:
http://drupalcode.org/project/colorbox.git/blob/refs/heads/7.x-2.x:/colo...
http://drupalcode.org/project/galleria.git/blob/HEAD:/galleria.info
http://drupalcode.org/project/awssdk.git/blob/HEAD:/awssdk.info
http://drupalcode.org/project/geshifilter.git/blob/refs/heads/7.x-1.x:/g...

Maybe theres a missing space or maybe > doesnt work with .x versions? try (>= 2.x) or (>= 2.0) or perhaps dont specify a version?

Comments

theohawse’s picture

StatusFileSize
new310 bytes

Patch attached for testing

theohawse’s picture

StatusFileSize
new318 bytes
theohawse’s picture

StatusFileSize
new310 bytes

This is the only method that seems to work for me

theohawse’s picture

Status: Active » Closed (fixed)

Ok looks like this bug comes from using the dev version of libraries api.
Using the latest 7.x-2.1 version solved the issue in the end.

theohawse’s picture

Status: Closed (fixed) » Active

Re-opening since the bug has reappeared

when trying to run update.php this comes up:
Unresolved dependency Libraries (Version >=2.x required)

jessebeach’s picture

Status: Active » Closed (fixed)

Thank you theohawse. I removed the dependency declaration from navbar.info and added some requirements info in hook_requirements in navbar.install.

Fixed in 7.x-1.x (88bc632f742b5cb9b1fcbb53ca034d8566b2fb8c).

hass’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

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

drupalycious’s picture

Status: Closed (fixed) » Active
StatusFileSize
new14.54 KB

Hello,

sorry for re-opening this but I downloaded the dev version and this problem is still there, I also tried with 7.x-1.0-alpha10 and with the version available on git.
The error does not show during mysite/update.php but when you go to admin/reports/status you get the following message in the status list entries:
Libraries is enabled. Version 2.x or higher is required. Please check your version if you are experiencing trouble with the Navbar module.

I tested it with the latest stable and dev releases of libraries 2.x,
I also tried to remove the dependency line,
but the message is still there.

yet it doesn't seem to affect the navbar module behavior.

Thanks

recidive’s picture

Can't get latest navbar dev release to work, I tried libraries 2.x with no luck. This warning shows up to me on status report page too.

recidive’s picture

I got this working with patch in #1989794: Status report page looking for wrong backbone and underscore files. The problem I was getting is that the module includes the min.js whilst the status report page was looking for the file without the 'min' part.

hass’s picture

Status: Active » Closed (fixed)
chris.smith’s picture

Issue summary: View changes

I won't re-open this, since it was closed a couple years ago.

But, this issue did re-appear. I've tested with both Navbar and Libraries (dev and recommended releases).

Patch 3 resolved the issue for me.