Closed (fixed)
Project:
AWS SDK for PHP
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
9 Jun 2011 at 11:10 UTC
Updated:
22 Nov 2011 at 16:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
boombatower commentedCheck the Apache error log and post details. Any sort or error reporting would be useful.
Comment #2
rickvug commentedI have the same. The error is "PHP Fatal error: Call to undefined function libraries_load() in /sites/modules/awssdk/awssdk.module on line 46". This was I was using libraries 1.x rather than 2.x. Once I made the switch everything was fine.
What is the specific reason for requiring the 2.x-dev version of libraries rather than 1.x, which is stable? If 2.x is really required it would be nice to enforce this in the info file as per http://drupal.org/node/542202.
Comment #3
rickvug commentedInterestingly "dependencies[] = libraries (2.x)" does not do the trick. I could be interpeting the docs wrongly but my guess is that the version parsing isn't playing nicely with -dev versions.
Comment #4
solotandem commentedVersions on dependencies fail if the only release available is a dev release. That is why we are pushing Libraries to make an official 7.x-2.x release.
Comment #5
boombatower commentedYes, then we can add (2.x) as one would expect to work. Feel free to chime in with some support over at #1186636: Provide a 2.x alpha release of Libraries API
Comment #6
boombatower commentedThis is waiting on Libraries 2.x stable release. So this is a more appropriate status.
Comment #7
boombatower commentedSince a 7.x-2.x-alpha1 release has been made (http://drupal.org/node/1296690) we can now enforce this using Drupal 7 core dependency checking.
Will be in 4.3 release.
Comment #8
boombatower commentedAlso removed -dev from project page description.
Comment #9
magnusk commentedThe dependency on libraries is incorrectly specified in the .info file. I don't know what it should be.
I am not able to enable the UI module unless the info file is changed.
drush message:
Comment #10
magnusk commentedIt works if I remove the version number in parenthesis.
Comment #11
boombatower commentedPlease see http://drupal.org/node/542202 which indicates that the format I used is correct. Did you download the built alpha1 release? or the code from git using the tag?
Drupal core will only see the version if you download the release. The reason I didn't add this sooner as you should be able to read above is core has an issues with -dev releases and (2.x).
Comment #12
magnusk commentedWhile the documentation seems to say that the dependency in info file format is correct, I could not enable the module. Yes, it was with the downloaded alpha1 release of libraries (using drush dl). Is it then a bug in core?
Comment #13
boombatower commentedDunno, I don't have the problem.
Comment #14
boombatower commentedGo ahead and open a core issue if you have enough details, lets let this one rest then until we know something.
Comment #16
magnusk commentedIf anyone is wondering, I believe this issue was related to #1013302: Composer metadata on dev versions doesn't work in update.php
I don't have the problem now that libraries has an alpha release.