Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried to install module by Drush, but required dependencied does not exist.
user@mattesreal /www/ttm/ttmos.cz/dev $ drush dl oauthconnector
Project oauthconnector (7.x-1.0-beta1) downloaded to [success]
/www/ttm/ttmos.cz/dev/sites/all/modules/oauthconnector.
Project oauthconnector contains 2 modules: oauth2_common, oauthconnector.
user@mattesreal /www/ttm/ttmos.cz/dev $ drush en oauthconnector
No release history was found for the requested project [warning]
(http_client_oauth).
No release history available for oauth_common 7.x. [warning]
The following projects have unmet dependencies:
oauthconnector requires connector
Would you like to download them? (y/n): y
Project connector (7.x-1.0-beta1) downloaded to [success]
/www/ttm/ttmos.cz/dev/sites/all/modules/connector.
Project connector contains 2 modules: connector_action_default_register_form, connector.
No release history was found for the requested project [warning]
(http_client_oauth).
No release history available for oauth_common 7.x. [warning]
Module oauthconnector cannot be enabled because it depends on the [error]
following modules which could not be found: http_client_oauth,oauth_common
user@mattesreal /www/ttm/ttmos.cz/dev $
Comment | File | Size | Author |
---|---|---|---|
#10 | oauthconnector-wrong_dependencies-1500178-7-10.patch | 386 bytes | imyaro |
Comments
Comment #1
Honza Pobořil CreditAttribution: Honza Pobořil commentedBtw, manual install of dependencies works:
Comment #2
Frans CreditAttribution: Frans commentedhttp_client added as dependency
Comment #4
brenda003The http_client_oauth dependency is still incorrect. That module doesn't exist.
Patch attached.
Comment #5
Frans CreditAttribution: Frans commentedIt does exist. It is a submodule of http_client
http://drupalcode.org/project/http_client.git/tree/refs/heads/7.x-2.x
Comment #6
brenda003Hm, ok. drush complains it doesn't exist when it tries to download it. Since it's a submodule that would explain it.
Comment #7
Frans CreditAttribution: Frans commentedComment #9
Sutharsan CreditAttribution: Sutharsan commentedI need to re-open again :(
oath_common is a submodule of oauth (not of http_client as mentioned in #5). Should oauthconnector also depend on oauth?
Comment #10
imyaro CreditAttribution: imyaro as a volunteer and at DrupalJedi commentedSutharsan is absolutelly right.
If you are trying to enable this module via drush you just cannot understand why this module requires https://www.drupal.org/project/oauth_common module which is deprecated and does not have 7.x branch.
New patch should fix this problem.
Comment #11
imyaro CreditAttribution: imyaro as a volunteer and at DrupalJedi commentedComment #12
eiriksm